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.001286/0.001285, allocations: 110.9 kB / 17.06 MB, free: 5.984 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.001221/0.001221, allocations: 196 kB / 18 MB, free: 5.074 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.39/1.39, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1743/0.1743, allocations: 38.03 MB / 329.9 MB, free: 8.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 67.88 kB / 457.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3295, allocations: 58.05 MB / 0.5036 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.004046/0.3336, allocations: 3.448 MB / 0.507 GB, free: 5.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.3354, allocations: 1.533 MB / 0.5085 GB, free: 3.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.3355, allocations: 8.406 kB / 0.5085 GB, free: 3.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007777/0.3363, allocations: 257.2 kB / 0.5087 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005533/0.3369, allocations: 279.7 kB / 0.509 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.3372, allocations: 126.8 kB / 0.5091 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003512/0.3375, allocations: 350.1 kB / 0.5095 GB, free: 3.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/0.3378, allocations: 138.4 kB / 0.5096 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.338, allocations: 160.2 kB / 0.5097 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.3383, allocations: 149.4 kB / 0.5099 GB, free: 3.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.3383, allocations: 18.06 kB / 0.5099 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004842/0.3388, allocations: 326.5 kB / 0.5102 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.3389, allocations: 97.89 kB / 0.5103 GB, free: 3.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.339, allocations: 108.2 kB / 0.5104 GB, free: 3.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005297/0.3396, allocations: 366 kB / 0.5108 GB, free: 2.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3396, allocations: 1.062 kB / 0.5108 GB, free: 2.898 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3396, allocations: 0 / 0.5108 GB, free: 2.898 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.3396, allocations: 0 / 0.5108 GB, free: 2.898 MB / 382.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.0007227/0.3403, allocations: 0.5202 MB / 0.5113 GB, free: 2.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3404, allocations: 12.36 kB / 0.5113 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.435e-05/0.3405, allocations: 59.62 kB / 0.5113 GB, free: 2.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.3415, allocations: 103 kB / 0.5114 GB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.3419, allocations: 271.1 kB / 0.5117 GB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.3419, allocations: 19.09 kB / 0.5117 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.272e-05/0.342, allocations: 20.27 kB / 0.5117 GB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005382/0.3425, allocations: 329 kB / 0.512 GB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.3425, allocations: 5.062 kB / 0.512 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.3426, allocations: 6.25 kB / 0.512 GB, free: 1.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/0.3426, allocations: 16.17 kB / 0.5121 GB, free: 1.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005048/0.3431, allocations: 316.5 kB / 0.5124 GB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.3447, allocations: 1.254 MB / 0.5136 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.345, allocations: 164.8 kB / 0.5137 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.3451, allocations: 103.8 kB / 0.5138 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.3452, allocations: 9.953 kB / 0.5139 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.3452, allocations: 37.67 kB / 0.5139 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.863e-06/0.3452, allocations: 4 kB / 0.5139 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001499/0.3467, allocations: 0.6605 MB / 0.5145 GB, free: 356 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.3468, allocations: 88 kB / 0.5146 GB, free: 252 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.3469, allocations: 190.5 kB / 0.5148 GB, free: 120 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.347, allocations: 26.95 kB / 0.5148 GB, free: 88 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.3471, allocations: 161.8 kB / 0.515 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.856e-05/0.3472, allocations: 60.89 kB / 0.515 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.611e-05/0.3473, allocations: 46.52 kB / 0.5151 GB, free: 15.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3474, allocations: 328.6 kB / 0.5154 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.3476, allocations: 87.44 kB / 0.5155 GB, free: 15.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.3478, allocations: 146.2 kB / 0.5156 GB, free: 15.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004226/0.3482, allocations: 260.6 kB / 0.5159 GB, free: 15.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3483, allocations: 1 kB / 0.5159 GB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006529/0.3489, allocations: 353.5 kB / 0.5162 GB, free: 15.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.3489, allocations: 9.531 kB / 0.5162 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.349, allocations: 2.656 kB / 0.5162 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000408/0.3494, allocations: 98.56 kB / 0.5163 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.3495, allocations: 38.06 kB / 0.5164 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00298/0.3525, allocations: 2.171 MB / 0.5185 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.3527, allocations: 12.73 kB / 0.5185 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.3528, allocations: 12.91 kB / 0.5185 GB, free: 13.25 MB / 398.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.0002105/0.353, allocations: 159.4 kB / 0.5187 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.353, allocations: 17.25 kB / 0.5187 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007117/0.3538, allocations: 323.3 kB / 0.519 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3538, allocations: 1.953 kB / 0.519 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.3538, allocations: 5.406 kB / 0.519 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3538, allocations: 1.312 kB / 0.519 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.3552, allocations: 0.74 MB / 0.5197 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.3552, allocations: 1.219 kB / 0.5197 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.3553, allocations: 28.62 kB / 0.5197 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003096/0.3556, allocations: 82.81 kB / 0.5198 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.3557, allocations: 3.375 kB / 0.5198 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/0.3581, allocations: 2.054 MB / 0.5218 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3581, allocations: 1.719 kB / 0.5218 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006424/0.3587, allocations: 410.3 kB / 0.5222 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.474e-05/0.3588, allocations: 97.19 kB / 0.5223 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.3589, allocations: 6.812 kB / 0.5223 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.359, allocations: 9.031 kB / 0.5223 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.3591, allocations: 13.53 kB / 0.5223 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.3591, allocations: 9.094 kB / 0.5223 GB, free: 10.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.3593, allocations: 145.5 kB / 0.5225 GB, free: 10.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3593, allocations: 0 / 0.5225 GB, free: 10.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005133/0.3598, allocations: 63.78 kB / 0.5225 GB, free: 10.22 MB / 398.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.001049/0.3608, allocations: 0.9532 MB / 0.5235 GB, free: 9.414 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000825/0.3617, allocations: 384.2 kB / 0.5238 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3617, allocations: 0 / 0.5238 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004395/0.3621, allocations: 259.1 kB / 0.5241 GB, free: 9.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.3625, allocations: 32.8 kB / 0.5241 GB, free: 9.047 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/0.366, allocations: 2.635 MB / 0.5267 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.3665, allocations: 0.766 MB / 0.5274 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.3666, allocations: 40.27 kB / 0.5275 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.3667, allocations: 59.3 kB / 0.5275 GB, free: 6.41 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3667, allocations: 0 / 0.5275 GB, free: 6.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.3991, allocations: 5.326 MB / 0.5327 GB, free: 4.941 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.42, allocations: 2.031 kB / 0.5327 GB, free: 4.941 MB / 398.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)