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.001395/0.001395, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001459/0.001459, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.557/1.557, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.1946/0.1946, allocations: 38.5 MB / 348.7 MB, free: 2.625 MB / 270.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.002098/0.002098, allocations: 68.19 kB / 487.1 MB, free: 22.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1168, allocations: 62.42 MB / 0.5367 GB, free: 7.594 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.008557/0.1253, allocations: 6.719 MB / 0.5432 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003651/0.129, allocations: 2.056 MB / 0.5452 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003557/0.1293, allocations: 35.69 kB / 0.5453 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001908/0.1312, allocations: 0.7159 MB / 0.546 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.1326, allocations: 0.5833 MB / 0.5465 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000676/0.1333, allocations: 255.5 kB / 0.5468 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.1346, allocations: 1.141 MB / 0.5479 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000721/0.1353, allocations: 481.7 kB / 0.5483 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008158/0.1361, allocations: 0.5253 MB / 0.5489 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000979/0.1371, allocations: 0.658 MB / 0.5495 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.1372, allocations: 68 kB / 0.5496 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005551/0.1378, allocations: 283.6 kB / 0.5498 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004841/0.1383, allocations: 490.7 kB / 0.5503 GB, free: 9.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005223/0.1388, allocations: 0.4936 MB / 0.5508 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.1402, allocations: 1.179 MB / 0.5519 GB, free: 7.875 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1402, allocations: 0 / 0.5519 GB, free: 7.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1402, allocations: 0 / 0.5519 GB, free: 7.875 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.1402, allocations: 0 / 0.5519 GB, free: 7.875 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.002257/0.1425, allocations: 1.241 MB / 0.5531 GB, free: 6.578 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1425, allocations: 12.03 kB / 0.5532 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001889/0.1427, allocations: 147.9 kB / 0.5533 GB, free: 6.414 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.1437, allocations: 160.2 kB / 0.5535 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.1449, allocations: 0.6283 MB / 0.5541 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.502e-05/0.145, allocations: 66.36 kB / 0.5541 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002364/0.1452, allocations: 103.9 kB / 0.5542 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.1471, allocations: 1.157 MB / 0.5554 GB, free: 4.211 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/0.1472, allocations: 7.891 kB / 0.5554 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-05/0.1472, allocations: 35.98 kB / 0.5554 GB, free: 4.168 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001854/0.1474, allocations: 81.95 kB / 0.5555 GB, free: 4.086 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.1492, allocations: 1.003 MB / 0.5565 GB, free: 3.082 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005964/0.1552, allocations: 4.355 MB / 0.5607 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.1565, allocations: 0.5846 MB / 0.5613 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005141/0.157, allocations: 286.1 kB / 0.5616 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.415e-05/0.157, allocations: 8.562 kB / 0.5616 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.1571, allocations: 43.06 kB / 0.5616 GB, free: 13.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=63): time 2.425e-06/0.1571, allocations: 0 / 0.5616 GB, free: 13.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.003254/0.1603, allocations: 1.764 MB / 0.5633 GB, free: 11.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.1604, allocations: 81.67 kB / 0.5634 GB, free: 11.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000668/0.1611, allocations: 0.5495 MB / 0.5639 GB, free: 11.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/0.1611, allocations: 37.7 kB / 0.564 GB, free: 11.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.1615, allocations: 460.1 kB / 0.5644 GB, free: 10.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/0.1617, allocations: 226.1 kB / 0.5646 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000274/0.162, allocations: 186.5 kB / 0.5648 GB, free: 10.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.1622, allocations: 374.8 kB / 0.5652 GB, free: 9.793 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/0.1627, allocations: 289.8 kB / 0.5654 GB, free: 9.512 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008411/0.1635, allocations: 0.6075 MB / 0.566 GB, free: 8.758 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.1649, allocations: 0.9731 MB / 0.567 GB, free: 7.633 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.165, allocations: 3.938 kB / 0.567 GB, free: 7.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00235/0.1673, allocations: 1.168 MB / 0.5681 GB, free: 6.445 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.1673, allocations: 12 kB / 0.5681 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001518/0.1688, allocations: 0.7169 MB / 0.5688 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007815/0.1696, allocations: 218.3 kB / 0.569 GB, free: 5.484 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008332/0.1705, allocations: 227.6 kB / 0.5693 GB, free: 5.262 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005657/0.1761, allocations: 5.373 MB / 0.5745 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006224/0.1767, allocations: 35.98 kB / 0.5745 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.958e-05/0.1768, allocations: 36 kB / 0.5746 GB, free: 15.39 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.0005809/0.1774, allocations: 361.5 kB / 0.5749 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.1775, allocations: 75.45 kB / 0.575 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.1788, allocations: 0.646 MB / 0.5756 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/0.1788, allocations: 4 kB / 0.5756 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.1788, allocations: 15.98 kB / 0.5756 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.1788, allocations: 0 / 0.5756 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002965/0.1818, allocations: 1.532 MB / 0.5771 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.1818, allocations: 7.969 kB / 0.5772 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000852/0.1826, allocations: 167.8 kB / 0.5773 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.1827, allocations: 4 kB / 0.5773 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.204e-05/0.1827, allocations: 23.98 kB / 0.5773 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-06/0.1827, allocations: 7.938 kB / 0.5773 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1827, allocations: 0 / 0.5773 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.1845, allocations: 1.026 MB / 0.5783 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003531/0.1848, allocations: 188.6 kB / 0.5785 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.794e-05/0.1849, allocations: 16 kB / 0.5785 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.1852, allocations: 19.98 kB / 0.5786 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.1853, allocations: 48.44 kB / 0.5786 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/0.1854, allocations: 19.98 kB / 0.5786 GB, free: 11.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004809/0.1859, allocations: 358.8 kB / 0.579 GB, free: 10.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1859, allocations: 4 kB / 0.579 GB, free: 10.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009477/0.1868, allocations: 216 kB / 0.5792 GB, free: 10.54 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.00199/0.1888, allocations: 1.594 MB / 0.5807 GB, free: 8.902 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001997/0.1908, allocations: 1.075 MB / 0.5818 GB, free: 7.789 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1908, allocations: 0 / 0.5818 GB, free: 7.789 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005141/0.1913, allocations: 291.8 kB / 0.5821 GB, free: 7.508 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009572/0.1923, allocations: 169 kB / 0.5822 GB, free: 7.348 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2578/0.4501, allocations: 7.153 MB / 0.5892 GB, free: 49.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/0.4512, allocations: 1.07 MB / 0.5903 GB, free: 49.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009065/0.4521, allocations: 227.6 kB / 0.5905 GB, free: 49.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004456/0.4525, allocations: 308.4 kB / 0.5908 GB, free: 49.07 MB / 446.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4525, allocations: 0 / 0.5908 GB, free: 49.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05798/0.5105, allocations: 15.57 MB / 0.606 GB, free: 44.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.65, allocations: 5.188 kB / 0.606 GB, free: 44.88 MB / 446.1 MB " [Timeout remaining time 648] (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: 14.806153901008656] Failed to read output from testmodel.py, exit status != 0: 11.74549318800564 11.765188827 11.621030585 Calling exit ...