Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Display.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.Introductory.Display,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Display",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.001319/0.001319, allocations: 108.8 kB / 17.06 MB, free: 6.016 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.001186/0.001186, allocations: 189.4 kB / 18 MB, free: 5.102 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.377/1.377, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1804/0.1804, allocations: 38.03 MB / 329.9 MB, free: 8.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 68.03 kB / 457.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3407, allocations: 58.05 MB / 0.5036 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.006608/0.3474, allocations: 6.649 MB / 0.5101 GB, free: 2.832 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002939/0.3503, allocations: 2.009 MB / 0.5121 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003343/0.3507, allocations: 22.66 kB / 0.5121 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.3524, allocations: 0.719 MB / 0.5128 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.3536, allocations: 0.5741 MB / 0.5133 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006493/0.3543, allocations: 243.2 kB / 0.5136 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.3554, allocations: 1.141 MB / 0.5147 GB, free: 72 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008054/0.3562, allocations: 0.5979 MB / 0.5153 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000747/0.357, allocations: 0.5157 MB / 0.5158 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009498/0.3579, allocations: 0.6119 MB / 0.5164 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.3581, allocations: 71.91 kB / 0.5164 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006365/0.3587, allocations: 262.1 kB / 0.5167 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005742/0.3593, allocations: 487.4 kB / 0.5172 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006767/0.36, allocations: 494.2 kB / 0.5176 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.3615, allocations: 1.186 MB / 0.5188 GB, free: 14.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3615, allocations: 0.7031 kB / 0.5188 GB, free: 14.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3615, allocations: 0 / 0.5188 GB, free: 14.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.3615, allocations: 1.031 kB / 0.5188 GB, free: 14.4 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002207/0.3637, allocations: 1.24 MB / 0.52 GB, free: 13.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.3638, allocations: 12.58 kB / 0.52 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000182/0.364, allocations: 142.8 kB / 0.5201 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009437/0.3649, allocations: 165.9 kB / 0.5203 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.3661, allocations: 0.627 MB / 0.5209 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-05/0.3662, allocations: 65.19 kB / 0.521 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.3664, allocations: 96.66 kB / 0.5211 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.3683, allocations: 1.162 MB / 0.5222 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/0.3683, allocations: 3.547 kB / 0.5222 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.601e-05/0.3684, allocations: 32.23 kB / 0.5222 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001713/0.3686, allocations: 90.8 kB / 0.5223 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.3704, allocations: 1.001 MB / 0.5233 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00597/0.3764, allocations: 4.352 MB / 0.5276 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.3776, allocations: 0.6317 MB / 0.5282 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005098/0.3781, allocations: 303.4 kB / 0.5285 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.21e-05/0.3782, allocations: 6.531 kB / 0.5285 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.3782, allocations: 43.86 kB / 0.5285 GB, free: 8.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 3.015e-06/0.3783, allocations: 4 kB / 0.5285 GB, free: 8.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=64): time 0.003218/0.3815, allocations: 1.762 MB / 0.5302 GB, free: 7.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.3816, allocations: 84.95 kB / 0.5303 GB, free: 7.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006583/0.3822, allocations: 0.5489 MB / 0.5308 GB, free: 7.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/0.3823, allocations: 37.08 kB / 0.5309 GB, free: 7.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000342/0.3826, allocations: 448.2 kB / 0.5313 GB, free: 6.906 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/0.3829, allocations: 239.8 kB / 0.5315 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002691/0.3831, allocations: 183.7 kB / 0.5317 GB, free: 6.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.3834, allocations: 377.7 kB / 0.5321 GB, free: 6.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004843/0.3838, allocations: 288.3 kB / 0.5323 GB, free: 6.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000768/0.3846, allocations: 0.6096 MB / 0.5329 GB, free: 5.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.386, allocations: 0.9804 MB / 0.5339 GB, free: 4.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.386, allocations: 2.844 kB / 0.5339 GB, free: 4.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002287/0.3883, allocations: 1.176 MB / 0.5351 GB, free: 4.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.3884, allocations: 10.91 kB / 0.5351 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001468/0.3898, allocations: 0.7175 MB / 0.5358 GB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007256/0.3906, allocations: 210.3 kB / 0.536 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007434/0.3913, allocations: 226.2 kB / 0.5362 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005331/0.3967, allocations: 5.37 MB / 0.5414 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006914/0.3974, allocations: 34.8 kB / 0.5415 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.802e-05/0.3975, allocations: 50.94 kB / 0.5415 GB, free: 14.51 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_cap.color_n[3],phasor_cap.color_n[1],phasor_cap.color_p[3],phasor_cap.color_p[1],phasor_ind.color_n[3],phasor_ind.color_n[1],phasor_ind.color_p[3],phasor_ind.color_p[1],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006387/0.3981, allocations: 343.1 kB / 0.5418 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.3983, allocations: 74.28 kB / 0.5419 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.3994, allocations: 0.6466 MB / 0.5425 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.3994, allocations: 7.062 kB / 0.5425 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.3994, allocations: 4.844 kB / 0.5425 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.3995, allocations: 8.953 kB / 0.5426 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.402, allocations: 1.531 MB / 0.5441 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.4021, allocations: 1.531 kB / 0.5441 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007735/0.4028, allocations: 184.3 kB / 0.5442 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.4029, allocations: 3.906 kB / 0.5442 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.4029, allocations: 23.27 kB / 0.5443 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.4029, allocations: 3.281 kB / 0.5443 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4029, allocations: 1.375 kB / 0.5443 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.4044, allocations: 1.028 MB / 0.5453 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/0.4047, allocations: 184.3 kB / 0.5454 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-05/0.4048, allocations: 14.78 kB / 0.5455 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.405, allocations: 21.42 kB / 0.5455 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.4052, allocations: 50.03 kB / 0.5455 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.964e-05/0.4052, allocations: 21.45 kB / 0.5455 GB, free: 11.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004065/0.4056, allocations: 358.6 kB / 0.5459 GB, free: 11.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4056, allocations: 1.688 kB / 0.5459 GB, free: 11.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009033/0.4065, allocations: 216.7 kB / 0.5461 GB, free: 11.74 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001874/0.4084, allocations: 1.595 MB / 0.5476 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001864/0.4103, allocations: 1.107 MB / 0.5487 GB, free: 8.988 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4103, allocations: 4 kB / 0.5487 GB, free: 8.984 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004834/0.4108, allocations: 311.9 kB / 0.549 GB, free: 8.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008411/0.4117, allocations: 172.3 kB / 0.5492 GB, free: 8.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.4221, allocations: 7.163 MB / 0.5562 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000816/0.4229, allocations: 1.063 MB / 0.5572 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000619/0.4236, allocations: 225.6 kB / 0.5574 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004635/0.424, allocations: 311.3 kB / 0.5577 GB, free: 15.29 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.424, allocations: 4 kB / 0.5577 GB, free: 15.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05245/0.4765, allocations: 15.45 MB / 0.5728 GB, free: 15.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.43, allocations: 11.72 kB / 0.5728 GB, free: 15.93 MB / 446.1 MB (rm -f PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Display.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Display_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Display.fmu > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1)