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.00136/0.00136, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001515/0.001515, allocations: 210.7 kB / 23.72 MB, free: 4.391 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.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2687/0.2687, allocations: 38.55 MB / 352.5 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 179] 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.002162/0.002162, allocations: 67.89 kB / 492.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.361, allocations: 62.47 MB / 0.5419 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.008255/0.3693, allocations: 6.328 MB / 0.5481 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003767/0.3731, allocations: 1.921 MB / 0.55 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003539/0.3734, allocations: 31 kB / 0.55 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.3754, allocations: 0.7077 MB / 0.5507 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.3768, allocations: 0.5757 MB / 0.5513 GB, free: 8.914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006708/0.3775, allocations: 253.4 kB / 0.5515 GB, free: 8.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001177/0.3786, allocations: 1.144 MB / 0.5526 GB, free: 8.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006941/0.3793, allocations: 484.3 kB / 0.5531 GB, free: 7.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008226/0.3802, allocations: 0.5353 MB / 0.5536 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009232/0.3811, allocations: 0.6227 MB / 0.5542 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.3812, allocations: 71.88 kB / 0.5543 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005708/0.3818, allocations: 285.2 kB / 0.5546 GB, free: 6.984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004978/0.3823, allocations: 494.9 kB / 0.555 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004754/0.3827, allocations: 411.5 kB / 0.5554 GB, free: 6.422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.384, allocations: 1.202 MB / 0.5566 GB, free: 5.215 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.384, allocations: 0 / 0.5566 GB, free: 5.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.384, allocations: 0 / 0.5566 GB, free: 5.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.384, allocations: 0 / 0.5566 GB, free: 5.215 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.00214/0.3862, allocations: 1.154 MB / 0.5577 GB, free: 4.023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3862, allocations: 15.98 kB / 0.5577 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001745/0.3864, allocations: 139.9 kB / 0.5579 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009142/0.3873, allocations: 172.2 kB / 0.558 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.3886, allocations: 0.5549 MB / 0.5586 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-05/0.3886, allocations: 74.34 kB / 0.5587 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/0.3889, allocations: 99.86 kB / 0.5587 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.3906, allocations: 1.153 MB / 0.5599 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.3906, allocations: 0 / 0.5599 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.458e-05/0.3907, allocations: 35.98 kB / 0.5599 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000168/0.3908, allocations: 93.89 kB / 0.56 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.3925, allocations: 0.9874 MB / 0.561 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005697/0.3982, allocations: 3.892 MB / 0.5648 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.3994, allocations: 0.5911 MB / 0.5653 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000472/0.3999, allocations: 287.1 kB / 0.5656 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.251e-05/0.3999, allocations: 4.5 kB / 0.5656 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.4, allocations: 39.06 kB / 0.5657 GB, free: 11.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.625e-06/0.4, allocations: 0 / 0.5657 GB, free: 11.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003076/0.4031, allocations: 1.692 MB / 0.5673 GB, free: 9.875 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/0.4031, allocations: 81.77 kB / 0.5674 GB, free: 9.777 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006799/0.4038, allocations: 0.5611 MB / 0.5679 GB, free: 9.207 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.777e-05/0.4039, allocations: 37.83 kB / 0.568 GB, free: 9.164 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.4043, allocations: 456 kB / 0.5684 GB, free: 8.711 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.4045, allocations: 230.1 kB / 0.5686 GB, free: 8.484 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.4047, allocations: 194.5 kB / 0.5688 GB, free: 8.289 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.4049, allocations: 374.8 kB / 0.5692 GB, free: 7.914 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004758/0.4054, allocations: 285.8 kB / 0.5694 GB, free: 7.633 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007489/0.4061, allocations: 0.6115 MB / 0.57 GB, free: 6.875 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.4075, allocations: 0.971 MB / 0.571 GB, free: 5.754 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.4075, allocations: 4 kB / 0.571 GB, free: 5.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002228/0.4097, allocations: 1.167 MB / 0.5721 GB, free: 4.566 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.4097, allocations: 12 kB / 0.5721 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001418/0.4111, allocations: 0.7144 MB / 0.5728 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007579/0.4119, allocations: 218.3 kB / 0.573 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007513/0.4126, allocations: 223.7 kB / 0.5733 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005429/0.4181, allocations: 5.027 MB / 0.5782 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006209/0.4187, allocations: 35.98 kB / 0.5782 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.986e-05/0.4188, allocations: 44 kB / 0.5782 GB, free: 13.94 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.0005716/0.4193, allocations: 349.6 kB / 0.5786 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.4195, allocations: 71.52 kB / 0.5786 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.4207, allocations: 0.6638 MB / 0.5793 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.4207, allocations: 8 kB / 0.5793 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.4207, allocations: 0 / 0.5793 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.4207, allocations: 3.984 kB / 0.5793 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/0.4233, allocations: 1.451 MB / 0.5807 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4234, allocations: 0 / 0.5807 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007683/0.4241, allocations: 175.8 kB / 0.5809 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.4241, allocations: 4.156 kB / 0.5809 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.4242, allocations: 24 kB / 0.5809 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.4242, allocations: 4 kB / 0.5809 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4242, allocations: 0 / 0.5809 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.4258, allocations: 1.028 MB / 0.5819 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003191/0.4261, allocations: 107.5 kB / 0.582 GB, free: 9.941 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.241e-05/0.4262, allocations: 19.98 kB / 0.582 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.4264, allocations: 12 kB / 0.5821 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.4266, allocations: 56.34 kB / 0.5821 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/0.4266, allocations: 16 kB / 0.5821 GB, free: 9.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000497/0.4271, allocations: 370.8 kB / 0.5825 GB, free: 9.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4271, allocations: 0 / 0.5825 GB, free: 9.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001047/0.4282, allocations: 220 kB / 0.5827 GB, free: 9.266 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.002058/0.4302, allocations: 1.585 MB / 0.5842 GB, free: 7.641 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002054/0.4323, allocations: 1.071 MB / 0.5853 GB, free: 6.531 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4323, allocations: 4.062 kB / 0.5853 GB, free: 6.527 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004647/0.4328, allocations: 294.6 kB / 0.5856 GB, free: 6.238 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008706/0.4336, allocations: 172.6 kB / 0.5857 GB, free: 6.078 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.4442, allocations: 7.17 MB / 0.5927 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/0.4448, allocations: 482.6 kB / 0.5932 GB, free: 13.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006106/0.4454, allocations: 225.6 kB / 0.5934 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/0.4458, allocations: 311.3 kB / 0.5937 GB, free: 13.45 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4458, allocations: 0 / 0.5937 GB, free: 13.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05743/0.5033, allocations: 16.55 MB / 0.6099 GB, free: 13.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.49, allocations: 8.047 kB / 0.6099 GB, free: 13.09 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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.Display_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 PowerSystems_PowerSystems_Examples_Introductory_Display.fmu > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.556845858227462] Failed to read output from testmodel.py, exit status != 0: 12.612376637291163 12.628850885 12.241451539 Calling exit ...