Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedCurrentTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedCurrentTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedCurrentTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedCurrentTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 180.5 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.182/1.182, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000794/0.0007939, allocations: 99.25 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1559/0.1559, allocations: 38.06 MB / 357.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002693/0.0002693, allocations: 8 kB / 424.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2136, allocations: 56.31 MB / 480.4 MB, free: 9.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1074/0.3211, allocations: 94.7 MB / 0.5616 GB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.3213, allocations: 87.95 kB / 0.5617 GB, free: 7.629 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03129/0.3526, allocations: 14.29 MB / 0.5757 GB, free: 9.168 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3526, allocations: 0 / 0.5757 GB, free: 9.168 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.3527, allocations: 8 kB / 0.5757 GB, free: 9.16 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005669/0.3532, allocations: 0.5027 MB / 0.5762 GB, free: 8.609 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.3533, allocations: 8.031 kB / 0.5762 GB, free: 8.602 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.646e-05/0.3533, allocations: 62.53 kB / 0.5762 GB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007868/0.3541, allocations: 107.5 kB / 0.5763 GB, free: 8.426 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.3545, allocations: 262.6 kB / 0.5766 GB, free: 8.129 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.3545, allocations: 15.98 kB / 0.5766 GB, free: 8.113 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.3545, allocations: 16 kB / 0.5766 GB, free: 8.098 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004174/0.355, allocations: 319 kB / 0.5769 GB, free: 7.766 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.355, allocations: 0 / 0.5769 GB, free: 7.766 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.355, allocations: 8 kB / 0.5769 GB, free: 7.758 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.618e-05/0.3551, allocations: 23.97 kB / 0.577 GB, free: 7.734 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003813/0.3555, allocations: 283.7 kB / 0.5772 GB, free: 7.457 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.357, allocations: 1.268 MB / 0.5785 GB, free: 6.102 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003915/0.3574, allocations: 241 kB / 0.5787 GB, free: 5.848 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3575, allocations: 8.062 kB / 0.5787 GB, free: 5.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.3575, allocations: 34.5 kB / 0.5787 GB, free: 5.797 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.452e-06/0.3575, allocations: 0 / 0.5787 GB, free: 5.797 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007107/0.3582, allocations: 433.8 kB / 0.5791 GB, free: 5.367 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.3583, allocations: 89.09 kB / 0.5792 GB, free: 5.262 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.3584, allocations: 177.5 kB / 0.5794 GB, free: 5.078 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.3584, allocations: 25.7 kB / 0.5794 GB, free: 5.047 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.3585, allocations: 164 kB / 0.5796 GB, free: 4.883 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.3586, allocations: 63.09 kB / 0.5796 GB, free: 4.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.3586, allocations: 7.938 kB / 0.5796 GB, free: 4.812 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.474e-05/0.3587, allocations: 326.8 kB / 0.58 GB, free: 4.484 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.3588, allocations: 84.42 kB / 0.58 GB, free: 4.398 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.359, allocations: 157.5 kB / 0.5802 GB, free: 4.215 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.3591, allocations: 106.4 kB / 0.5803 GB, free: 4.113 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3591, allocations: 0 / 0.5803 GB, free: 4.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003774/0.3595, allocations: 293.1 kB / 0.5806 GB, free: 3.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3596, allocations: 11.98 kB / 0.5806 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3596, allocations: 0 / 0.5806 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3596, allocations: 4 kB / 0.5806 GB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.3598, allocations: 55.91 kB / 0.5806 GB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.3598, allocations: 0 / 0.5806 GB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.36, allocations: 20.2 kB / 0.5807 GB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.36, allocations: 19.98 kB / 0.5807 GB, free: 3.711 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.3601, allocations: 149.8 kB / 0.5808 GB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.3602, allocations: 19.77 kB / 0.5808 GB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.3605, allocations: 237.2 kB / 0.5811 GB, free: 3.297 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3605, allocations: 4 kB / 0.5811 GB, free: 3.293 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3605, allocations: 0 / 0.5811 GB, free: 3.293 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3605, allocations: 0 / 0.5811 GB, free: 3.293 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.3618, allocations: 0.9555 MB / 0.582 GB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3618, allocations: 4 kB / 0.582 GB, free: 2.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.3619, allocations: 31.98 kB / 0.582 GB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.3619, allocations: 11.94 kB / 0.5821 GB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.362, allocations: 8.5 kB / 0.5821 GB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.362, allocations: 15.94 kB / 0.5821 GB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.362, allocations: 8 kB / 0.5821 GB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.3624, allocations: 0.5968 MB / 0.5827 GB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.03e-05/0.3625, allocations: 104.9 kB / 0.5828 GB, free: 1.277 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.3626, allocations: 4 kB / 0.5828 GB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.3627, allocations: 19.98 kB / 0.5828 GB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.3628, allocations: 19.88 kB / 0.5828 GB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.3628, allocations: 12 kB / 0.5828 GB, free: 1.223 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001118/0.3629, allocations: 151 kB / 0.583 GB, free: 1.074 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3629, allocations: 0 / 0.583 GB, free: 1.074 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003339/0.3632, allocations: 60 kB / 0.583 GB, free: 1.016 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/0.3643, allocations: 2.235 MB / 0.5852 GB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003032/0.3647, allocations: 214.2 kB / 0.5854 GB, free: 14.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3647, allocations: 0 / 0.5854 GB, free: 14.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.3648, allocations: 101.2 kB / 0.5855 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.3651, allocations: 40.08 kB / 0.5855 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.3673, allocations: 2.775 MB / 0.5883 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.3676, allocations: 0.7751 MB / 0.589 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.3678, allocations: 53.48 kB / 0.5891 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.822e-05/0.3679, allocations: 71.41 kB / 0.5891 GB, free: 10.45 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3679, allocations: 0 / 0.5891 GB, free: 10.45 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.3815, allocations: 3.689 MB / 0.5927 GB, free: 6.809 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.3817, allocations: 187.8 kB / 0.5929 GB, free: 6.566 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/1.874, allocations: 0 / 0.5929 GB, free: 6.566 MB / 426.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedCurrentTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedCurrentTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.mat does not exist to compare? outputFormat=mat