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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 105.1 kB / 21.21 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 212.5 kB / 24.51 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.552/1.552, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1876/0.1876, allocations: 38.55 MB / 353.2 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Display",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Display",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 59.84 kB / 493.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3996, allocations: 62.47 MB / 0.5427 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.008705/0.4083, allocations: 6.32 MB / 0.5489 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004338/0.4127, allocations: 1.905 MB / 0.5507 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006739/0.4134, allocations: 30 kB / 0.5508 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002135/0.4155, allocations: 0.7152 MB / 0.5515 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00194/0.4174, allocations: 0.5761 MB / 0.552 GB, free: 8.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.4186, allocations: 252.8 kB / 0.5523 GB, free: 8.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00212/0.4207, allocations: 1.152 MB / 0.5534 GB, free: 8.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009419/0.4216, allocations: 480.5 kB / 0.5538 GB, free: 7.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.4229, allocations: 0.5351 MB / 0.5544 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.424, allocations: 0.6548 MB / 0.555 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.4242, allocations: 67.94 kB / 0.5551 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007509/0.4249, allocations: 289 kB / 0.5553 GB, free: 6.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006242/0.4255, allocations: 491.4 kB / 0.5558 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005973/0.4261, allocations: 419.2 kB / 0.5562 GB, free: 6.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.4277, allocations: 1.198 MB / 0.5574 GB, free: 5.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4278, allocations: 0 / 0.5574 GB, free: 5.195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4278, allocations: 0 / 0.5574 GB, free: 5.195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.4278, allocations: 0 / 0.5574 GB, free: 5.195 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.002309/0.4301, allocations: 1.162 MB / 0.5585 GB, free: 3.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.4301, allocations: 15.98 kB / 0.5585 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.259e-05/0.4302, allocations: 22.19 kB / 0.5586 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002472/0.4304, allocations: 147.9 kB / 0.5587 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009478/0.4313, allocations: 164.2 kB / 0.5588 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.4325, allocations: 0.5588 MB / 0.5594 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.155e-05/0.4326, allocations: 66.12 kB / 0.5595 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/0.4328, allocations: 99.92 kB / 0.5596 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.4346, allocations: 1.157 MB / 0.5607 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.293e-05/0.4346, allocations: 3.984 kB / 0.5607 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.4347, allocations: 31.98 kB / 0.5607 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001788/0.4349, allocations: 89.89 kB / 0.5608 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.4367, allocations: 1.007 MB / 0.5618 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005495/0.4421, allocations: 3.884 MB / 0.5656 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.4433, allocations: 0.5871 MB / 0.5662 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004985/0.4438, allocations: 292.7 kB / 0.5664 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.4439, allocations: 8.5 kB / 0.5664 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.4439, allocations: 43.06 kB / 0.5665 GB, free: 11.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.535e-06/0.4439, allocations: 0 / 0.5665 GB, free: 11.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003086/0.447, allocations: 1.681 MB / 0.5681 GB, free: 9.824 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.447, allocations: 89.7 kB / 0.5682 GB, free: 9.719 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000623/0.4477, allocations: 0.5457 MB / 0.5687 GB, free: 9.164 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.4477, allocations: 33.7 kB / 0.5688 GB, free: 9.125 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.448, allocations: 464.1 kB / 0.5692 GB, free: 8.664 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.4482, allocations: 222.1 kB / 0.5694 GB, free: 8.445 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002563/0.4485, allocations: 186.5 kB / 0.5696 GB, free: 8.258 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.4487, allocations: 382.7 kB / 0.57 GB, free: 7.875 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/0.4492, allocations: 289.8 kB / 0.5702 GB, free: 7.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007218/0.4499, allocations: 0.6076 MB / 0.5708 GB, free: 6.832 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.4512, allocations: 0.9788 MB / 0.5718 GB, free: 5.703 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.4512, allocations: 4 kB / 0.5718 GB, free: 5.699 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0022/0.4534, allocations: 1.162 MB / 0.5729 GB, free: 4.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.4534, allocations: 14.95 kB / 0.5729 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001394/0.4548, allocations: 0.7154 MB / 0.5736 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007969/0.4556, allocations: 218.3 kB / 0.5739 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007649/0.4564, allocations: 215.6 kB / 0.5741 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005122/0.4615, allocations: 5.043 MB / 0.579 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006081/0.4621, allocations: 32 kB / 0.579 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.672e-05/0.4622, allocations: 43.98 kB / 0.5791 GB, free: 13.89 MB / 430.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.0005794/0.4628, allocations: 345.5 kB / 0.5794 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.4629, allocations: 71.66 kB / 0.5795 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.4641, allocations: 0.66 MB / 0.5801 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.4641, allocations: 8 kB / 0.5801 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.4641, allocations: 0 / 0.5801 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.4641, allocations: 3.984 kB / 0.5801 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/0.4667, allocations: 1.455 MB / 0.5815 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.4667, allocations: 4 kB / 0.5815 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008207/0.4675, allocations: 167.8 kB / 0.5817 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/0.4675, allocations: 4 kB / 0.5817 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.4676, allocations: 16.14 kB / 0.5817 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/0.4676, allocations: 11.94 kB / 0.5817 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4676, allocations: 4 kB / 0.5817 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/0.4691, allocations: 1.025 MB / 0.5827 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/0.4693, allocations: 107.6 kB / 0.5828 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.49e-05/0.4694, allocations: 16 kB / 0.5828 GB, free: 9.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.4697, allocations: 16.11 kB / 0.5829 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.4698, allocations: 48.36 kB / 0.5829 GB, free: 9.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.751e-05/0.4699, allocations: 27.98 kB / 0.5829 GB, free: 9.797 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004227/0.4703, allocations: 358.8 kB / 0.5833 GB, free: 9.449 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4703, allocations: 4 kB / 0.5833 GB, free: 9.445 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008793/0.4712, allocations: 223.9 kB / 0.5835 GB, free: 9.227 MB / 430.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.002059/0.4732, allocations: 1.597 MB / 0.5851 GB, free: 7.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.4751, allocations: 1.074 MB / 0.5861 GB, free: 6.477 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4751, allocations: 192 / 0.5861 GB, free: 6.477 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004652/0.4755, allocations: 302.6 kB / 0.5864 GB, free: 6.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008102/0.4764, allocations: 156.3 kB / 0.5865 GB, free: 6.031 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.4865, allocations: 7.17 MB / 0.5935 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/0.4871, allocations: 474.7 kB / 0.594 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006248/0.4877, allocations: 225.6 kB / 0.5942 GB, free: 13.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004344/0.4881, allocations: 311.3 kB / 0.5945 GB, free: 13.4 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4881, allocations: 0 / 0.5945 GB, free: 13.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04842/0.5366, allocations: 16.42 MB / 0.6105 GB, free: 13.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.32, allocations: 7.875 kB / 0.6106 GB, free: 13.2 MB / 462.1 MB " [Timeout remaining time 647] (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 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Display.fmu > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.41758241201751] Failed to read output from testmodel.py, exit status != 0: 13.498449253034778 13.527905477000001 13.094605543 Calling exit ...