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.001342/0.001342, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001449/0.001449, allocations: 206 kB / 23.73 MB, free: 4.402 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.546/1.546, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1912/0.1912, allocations: 38.54 MB / 352.5 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Display",fmuType="me",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.002406/0.002406, allocations: 74.53 kB / 492.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.393, allocations: 62.45 MB / 0.5419 GB, free: 140 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.009702/0.4027, allocations: 6.337 MB / 0.5481 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004166/0.4068, allocations: 1.924 MB / 0.55 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005664/0.4074, allocations: 31.09 kB / 0.55 GB, free: 9.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.4094, allocations: 0.704 MB / 0.5507 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.411, allocations: 0.5767 MB / 0.5513 GB, free: 8.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007701/0.4118, allocations: 252.8 kB / 0.5515 GB, free: 8.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001524/0.4133, allocations: 1.151 MB / 0.5526 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007902/0.4141, allocations: 469.2 kB / 0.5531 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.4151, allocations: 0.5463 MB / 0.5536 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.4161, allocations: 0.6279 MB / 0.5542 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.4163, allocations: 67.88 kB / 0.5543 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007076/0.417, allocations: 280.1 kB / 0.5546 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005143/0.4175, allocations: 487.9 kB / 0.555 GB, free: 6.574 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005068/0.418, allocations: 415.8 kB / 0.5554 GB, free: 6.332 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.4194, allocations: 1.198 MB / 0.5566 GB, free: 5.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4194, allocations: 7.938 kB / 0.5566 GB, free: 5.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4194, allocations: 0 / 0.5566 GB, free: 5.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.4194, allocations: 0 / 0.5566 GB, free: 5.121 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.002101/0.4215, allocations: 1.162 MB / 0.5577 GB, free: 3.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.4216, allocations: 15.98 kB / 0.5577 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001717/0.4217, allocations: 139.9 kB / 0.5579 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009477/0.4227, allocations: 168.2 kB / 0.558 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.424, allocations: 0.551 MB / 0.5586 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.532e-05/0.4241, allocations: 66.36 kB / 0.5586 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/0.4243, allocations: 107.8 kB / 0.5587 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.4261, allocations: 1.153 MB / 0.5599 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/0.4262, allocations: 3.938 kB / 0.5599 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.323e-05/0.4262, allocations: 35.98 kB / 0.5599 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001794/0.4264, allocations: 85.94 kB / 0.56 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.4281, allocations: 0.9951 MB / 0.561 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005905/0.434, allocations: 3.892 MB / 0.5648 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.4353, allocations: 0.5794 MB / 0.5653 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005026/0.4358, allocations: 284.6 kB / 0.5656 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/0.4359, allocations: 8.5 kB / 0.5656 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.4359, allocations: 47.06 kB / 0.5657 GB, free: 11.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 3.216e-06/0.4359, allocations: 0 / 0.5657 GB, free: 11.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003074/0.439, allocations: 1.684 MB / 0.5673 GB, free: 9.789 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.439, allocations: 89.77 kB / 0.5674 GB, free: 9.684 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006511/0.4397, allocations: 0.5611 MB / 0.5679 GB, free: 9.113 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.4397, allocations: 37.7 kB / 0.568 GB, free: 9.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003383/0.4401, allocations: 452 kB / 0.5684 GB, free: 8.621 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.4403, allocations: 226.1 kB / 0.5686 GB, free: 8.398 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/0.4406, allocations: 190.5 kB / 0.5688 GB, free: 8.207 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.4407, allocations: 378.9 kB / 0.5692 GB, free: 7.828 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005004/0.4412, allocations: 285.8 kB / 0.5694 GB, free: 7.547 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007924/0.442, allocations: 0.6154 MB / 0.57 GB, free: 6.785 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.4434, allocations: 0.9749 MB / 0.571 GB, free: 5.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.862e-06/0.4434, allocations: 4 kB / 0.571 GB, free: 5.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002376/0.4458, allocations: 1.166 MB / 0.5721 GB, free: 4.473 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.4458, allocations: 8 kB / 0.5721 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001442/0.4473, allocations: 0.7106 MB / 0.5728 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007699/0.448, allocations: 222.9 kB / 0.573 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007828/0.4488, allocations: 219.6 kB / 0.5732 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005437/0.4543, allocations: 5.043 MB / 0.5782 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006046/0.4549, allocations: 35.98 kB / 0.5782 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.366e-05/0.4549, allocations: 44 kB / 0.5783 GB, free: 13.84 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.0005168/0.4555, allocations: 345.5 kB / 0.5786 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.4556, allocations: 71.52 kB / 0.5786 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.4568, allocations: 0.6599 MB / 0.5793 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.4568, allocations: 8 kB / 0.5793 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.4568, allocations: 0 / 0.5793 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.4568, allocations: 3.984 kB / 0.5793 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0028/0.4596, allocations: 1.451 MB / 0.5807 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.4596, allocations: 4 kB / 0.5807 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008114/0.4604, allocations: 171.8 kB / 0.5809 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.4604, allocations: 4 kB / 0.5809 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/0.4605, allocations: 16 kB / 0.5809 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.4605, allocations: 7.984 kB / 0.5809 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.4605, allocations: 4 kB / 0.5809 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.4621, allocations: 1.029 MB / 0.5819 GB, free: 9.953 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.4625, allocations: 107.5 kB / 0.582 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.678e-05/0.4626, allocations: 19.98 kB / 0.582 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003006/0.4629, allocations: 12 kB / 0.5821 GB, free: 9.816 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.463, allocations: 60.28 kB / 0.5821 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.463, allocations: 19.98 kB / 0.5821 GB, free: 9.738 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004527/0.4635, allocations: 358.8 kB / 0.5825 GB, free: 9.391 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4635, allocations: 0 / 0.5825 GB, free: 9.391 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009209/0.4644, allocations: 220 kB / 0.5827 GB, free: 9.176 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.002146/0.4666, allocations: 1.593 MB / 0.5842 GB, free: 7.543 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001977/0.4685, allocations: 1.074 MB / 0.5853 GB, free: 6.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.4685, allocations: 5 kB / 0.5853 GB, free: 6.426 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005101/0.4691, allocations: 294.9 kB / 0.5856 GB, free: 6.137 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000949/0.47, allocations: 167.2 kB / 0.5857 GB, free: 5.977 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.4808, allocations: 7.166 MB / 0.5927 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005906/0.4814, allocations: 470.7 kB / 0.5932 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000627/0.482, allocations: 229.6 kB / 0.5934 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/0.4824, allocations: 311.3 kB / 0.5937 GB, free: 13.36 MB / 446.1 MB Notification: Performance of SimCode: time 6.52e-07/0.4824, allocations: 0 / 0.5937 GB, free: 13.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05835/0.5408, allocations: 16.56 MB / 0.6099 GB, free: 13 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.57, allocations: 64 / 0.6099 GB, free: 13 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: 15.475863443687558] Failed to read output from testmodel.py, exit status != 0: 12.692351770121604 12.707828457 12.285162978 Calling exit ...