Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001662/0.001662, allocations: 121 kB / 18.5 MB, free: 4.562 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.002173/0.002173, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.611/1.611, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1899/0.1899, allocations: 38.5 MB / 349.4 MB, free: 2.57 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_Introductory_Display",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_latest_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.001995/0.001995, allocations: 63.89 kB / 487.8 MB, free: 22.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1147, allocations: 62.42 MB / 0.5373 GB, free: 7.645 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.009188/0.1239, allocations: 6.723 MB / 0.5439 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004116/0.128, allocations: 2.045 MB / 0.5459 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004809/0.1284, allocations: 31.75 kB / 0.5459 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.1304, allocations: 0.7314 MB / 0.5466 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.1321, allocations: 0.5794 MB / 0.5472 GB, free: 13.49 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008722/0.1329, allocations: 251.5 kB / 0.5475 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002035/0.135, allocations: 1.145 MB / 0.5486 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.136, allocations: 481.7 kB / 0.549 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.1374, allocations: 0.5292 MB / 0.5495 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.1388, allocations: 0.6619 MB / 0.5502 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.139, allocations: 68 kB / 0.5503 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007822/0.1398, allocations: 275.7 kB / 0.5505 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006071/0.1404, allocations: 494.6 kB / 0.551 GB, free: 9.602 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006183/0.141, allocations: 497.5 kB / 0.5515 GB, free: 9.113 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.1426, allocations: 1.183 MB / 0.5526 GB, free: 7.926 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.1426, allocations: 4 kB / 0.5526 GB, free: 7.922 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1426, allocations: 0 / 0.5526 GB, free: 7.922 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.1426, allocations: 0 / 0.5526 GB, free: 7.922 MB / 414.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.002994/0.1456, allocations: 1.241 MB / 0.5538 GB, free: 6.625 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/0.1457, allocations: 8.031 kB / 0.5538 GB, free: 6.617 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.499e-05/0.1457, allocations: 22.19 kB / 0.5539 GB, free: 6.598 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001862/0.1459, allocations: 147.9 kB / 0.554 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.147, allocations: 164.2 kB / 0.5542 GB, free: 6.285 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.1483, allocations: 0.6322 MB / 0.5548 GB, free: 5.609 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-05/0.1484, allocations: 70.11 kB / 0.5548 GB, free: 5.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/0.1486, allocations: 91.97 kB / 0.5549 GB, free: 5.453 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.1505, allocations: 1.157 MB / 0.5561 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.1505, allocations: 7.953 kB / 0.5561 GB, free: 4.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.1506, allocations: 35.98 kB / 0.5561 GB, free: 4.195 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001873/0.1508, allocations: 89.89 kB / 0.5562 GB, free: 4.109 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.1526, allocations: 0.9952 MB / 0.5572 GB, free: 3.109 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006181/0.1587, allocations: 4.355 MB / 0.5614 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.16, allocations: 0.5923 MB / 0.562 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005144/0.1605, allocations: 286.3 kB / 0.5623 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.864e-05/0.1606, allocations: 8.562 kB / 0.5623 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.1606, allocations: 43.12 kB / 0.5623 GB, free: 13.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=63): time 3.426e-06/0.1606, allocations: 0 / 0.5623 GB, free: 13.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.00339/0.164, allocations: 1.76 MB / 0.564 GB, free: 11.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.1641, allocations: 81.67 kB / 0.5641 GB, free: 11.67 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006831/0.1648, allocations: 0.5535 MB / 0.5647 GB, free: 11.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.1648, allocations: 33.7 kB / 0.5647 GB, free: 11.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00035/0.1651, allocations: 456 kB / 0.5651 GB, free: 10.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/0.1654, allocations: 230.1 kB / 0.5653 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.1656, allocations: 186.7 kB / 0.5655 GB, free: 10.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.1658, allocations: 378.8 kB / 0.5659 GB, free: 9.816 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005222/0.1664, allocations: 289.8 kB / 0.5662 GB, free: 9.535 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008471/0.1672, allocations: 0.6114 MB / 0.5668 GB, free: 8.777 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.1686, allocations: 0.9731 MB / 0.5677 GB, free: 7.652 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.1687, allocations: 4 kB / 0.5677 GB, free: 7.648 MB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002502/0.1712, allocations: 1.161 MB / 0.5688 GB, free: 6.473 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.1712, allocations: 12 kB / 0.5689 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001488/0.1727, allocations: 0.7122 MB / 0.5695 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008294/0.1735, allocations: 226.7 kB / 0.5698 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008164/0.1743, allocations: 215.7 kB / 0.57 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005932/0.1802, allocations: 5.377 MB / 0.5752 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006599/0.1809, allocations: 35.98 kB / 0.5753 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.168e-05/0.181, allocations: 47.98 kB / 0.5753 GB, free: 15.41 MB / 446.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.0005629/0.1816, allocations: 357.3 kB / 0.5756 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.1817, allocations: 71.52 kB / 0.5757 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.1831, allocations: 0.6538 MB / 0.5763 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.1831, allocations: 8 kB / 0.5764 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.1831, allocations: 0 / 0.5764 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1831, allocations: 0 / 0.5764 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002777/0.1858, allocations: 1.539 MB / 0.5779 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1859, allocations: 0 / 0.5779 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008484/0.1867, allocations: 175.9 kB / 0.578 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.1867, allocations: 7.938 kB / 0.578 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.922e-05/0.1868, allocations: 19.98 kB / 0.5781 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.1868, allocations: 4 kB / 0.5781 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1868, allocations: 0 / 0.5781 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.1883, allocations: 1.03 MB / 0.5791 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.1886, allocations: 184.6 kB / 0.5792 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.858e-05/0.1887, allocations: 15.98 kB / 0.5793 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.189, allocations: 16 kB / 0.5793 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.1891, allocations: 56.38 kB / 0.5793 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.654e-05/0.1892, allocations: 23.98 kB / 0.5793 GB, free: 11.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004389/0.1896, allocations: 358.8 kB / 0.5797 GB, free: 10.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1896, allocations: 0 / 0.5797 GB, free: 10.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009413/0.1906, allocations: 216 kB / 0.5799 GB, free: 10.56 MB / 446.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.001943/0.1925, allocations: 1.59 MB / 0.5814 GB, free: 8.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001932/0.1944, allocations: 1.079 MB / 0.5825 GB, free: 7.812 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1944, allocations: 0 / 0.5825 GB, free: 7.812 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004927/0.1949, allocations: 295 kB / 0.5828 GB, free: 7.527 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008434/0.1958, allocations: 169.5 kB / 0.5829 GB, free: 7.367 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.26/0.4558, allocations: 7.14 MB / 0.5899 GB, free: 51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008734/0.4567, allocations: 1.072 MB / 0.591 GB, free: 50.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009247/0.4576, allocations: 228.2 kB / 0.5912 GB, free: 50.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000487/0.4581, allocations: 309.2 kB / 0.5915 GB, free: 50.28 MB / 446.1 MB Notification: Performance of SimCode: time 1.383e-06/0.4581, allocations: 1.5 kB / 0.5915 GB, free: 50.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04895/0.507, allocations: 15.62 MB / 0.6067 GB, free: 46.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12, allocations: 11.3 kB / 0.6067 GB, free: 46 MB / 446.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.Display_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_Display_fmu --startTime=0 --stopTime=30 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_Display.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.107394783000927] Failed to read output from testmodel.py, exit status != 0: 12.150952139985748 12.172546638 12.026069368 Calling exit ...