Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 107.3 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.148/1.148, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.157/0.157, allocations: 38.03 MB / 329.7 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 62.73 kB / 398.9 MB, free: 33.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0867/0.08806, allocations: 58.06 MB / 457 MB, free: 7.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.004286/0.09238, allocations: 3.465 MB / 460.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.09419, allocations: 1.52 MB / 462 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.09434, allocations: 7.938 kB / 462 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006782/0.09503, allocations: 258.9 kB / 462.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005211/0.09557, allocations: 279 kB / 462.5 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.09585, allocations: 127.6 kB / 462.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.09621, allocations: 346.9 kB / 462.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.09647, allocations: 137.9 kB / 463.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.09667, allocations: 151.4 kB / 463.2 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.09689, allocations: 147.5 kB / 463.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.09692, allocations: 16 kB / 463.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004473/0.09738, allocations: 327.1 kB / 463.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.05e-05/0.09748, allocations: 99.7 kB / 463.8 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.09759, allocations: 111.5 kB / 463.9 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.098, allocations: 351 kB / 464.3 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.09801, allocations: 0 / 464.3 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09802, allocations: 4 kB / 464.3 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.09803, allocations: 0 / 464.3 MB, free: 0.6055 MB / 334.1 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.0005898/0.09862, allocations: 0.5181 MB / 464.8 MB, free: 40 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.09866, allocations: 11.89 kB / 464.8 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.372e-05/0.09873, allocations: 58.67 kB / 464.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008749/0.09961, allocations: 100.6 kB / 464.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.09988, allocations: 263.8 kB / 465.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.0999, allocations: 12.33 kB / 465.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/0.09995, allocations: 24.36 kB / 465.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004173/0.1004, allocations: 333.8 kB / 465.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1004, allocations: 0 / 465.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.1004, allocations: 8 kB / 465.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.1005, allocations: 15.98 kB / 465.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004069/0.1009, allocations: 307.7 kB / 465.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.1022, allocations: 1.271 MB / 467.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.1025, allocations: 161.1 kB / 467.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.1026, allocations: 109.7 kB / 467.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.1026, allocations: 0 / 467.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.1027, allocations: 42.5 kB / 467.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.092e-06/0.1027, allocations: 0 / 467.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001326/0.104, allocations: 0.6684 MB / 468.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.1041, allocations: 85.05 kB / 468.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.1042, allocations: 190.6 kB / 468.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1042, allocations: 29.7 kB / 468.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.463e-05/0.1043, allocations: 152 kB / 468.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.1044, allocations: 63.09 kB / 468.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.51e-05/0.1044, allocations: 41.7 kB / 468.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.694e-05/0.1045, allocations: 330.8 kB / 469 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.1046, allocations: 83.95 kB / 469.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.1048, allocations: 153.3 kB / 469.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.1051, allocations: 259.6 kB / 469.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1051, allocations: 4 kB / 469.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005438/0.1056, allocations: 349.8 kB / 469.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1057, allocations: 8 kB / 469.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1057, allocations: 3.938 kB / 469.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/0.106, allocations: 93.02 kB / 469.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.1062, allocations: 51.92 kB / 470 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/0.1082, allocations: 2.165 MB / 472.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.1084, allocations: 8 kB / 472.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.1084, allocations: 11.98 kB / 472.2 MB, free: 8.148 MB / 350.1 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.1085, allocations: 157.7 kB / 472.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.1086, allocations: 15.81 kB / 472.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005254/0.1091, allocations: 328 kB / 472.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1091, allocations: 3.938 kB / 472.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.1091, allocations: 48 / 472.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1091, allocations: 7.984 kB / 472.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.1101, allocations: 0.7411 MB / 473.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.1101, allocations: 128 / 473.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.87e-05/0.1102, allocations: 31.92 kB / 473.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002377/0.1105, allocations: 80.78 kB / 473.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.1105, allocations: 7.984 kB / 473.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/0.1122, allocations: 2.037 MB / 475.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1122, allocations: 4.062 kB / 475.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.1127, allocations: 406.4 kB / 476 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.1128, allocations: 96.84 kB / 476.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.1128, allocations: 12 kB / 476.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.1129, allocations: 7.984 kB / 476.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.113, allocations: 11.98 kB / 476.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.113, allocations: 8 kB / 476.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.587e-05/0.1131, allocations: 144.3 kB / 476.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1131, allocations: 3.938 kB / 476.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003914/0.1135, allocations: 64 kB / 476.3 MB, free: 3.742 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006899/0.1142, allocations: 0.9406 MB / 477.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000593/0.1148, allocations: 406.2 kB / 477.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1148, allocations: 0 / 477.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.1152, allocations: 267.1 kB / 477.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.1155, allocations: 46.52 kB / 478 MB, free: 2.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/0.1181, allocations: 2.618 MB / 480.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.1184, allocations: 0.7675 MB / 481.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.1185, allocations: 37.55 kB / 481.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.123e-05/0.1186, allocations: 59.42 kB / 481.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1186, allocations: 4 kB / 481.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.024/4.143, allocations: 5.189 MB / 486.6 MB, free: 9.285 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/17.75, allocations: 7.922 kB / 486.6 MB, free: 9.277 MB / 366.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)