Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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: 116.2 kB / 18.49 MB, free: 4.578 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.001562/0.001562, allocations: 214.9 kB / 21.46 MB, free: 1.625 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.518/1.518, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.1877/0.1877, allocations: 38.5 MB / 349.4 MB, free: 2.609 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.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Line",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Line",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.002083/0.002083, allocations: 66.08 kB / 487.8 MB, free: 32.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1287, allocations: 62.43 MB / 0.5374 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.009671/0.1384, allocations: 4.959 MB / 0.5422 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002791/0.1412, allocations: 1.332 MB / 0.5435 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004133/0.1416, allocations: 23.75 kB / 0.5435 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005979/0.1422, allocations: 127.1 kB / 0.5437 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.1432, allocations: 338.4 kB / 0.544 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005649/0.1438, allocations: 147.7 kB / 0.5441 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.1449, allocations: 0.6931 MB / 0.5448 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002982/0.1452, allocations: 127.9 kB / 0.5449 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006746/0.1458, allocations: 322.8 kB / 0.5452 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008436/0.1467, allocations: 462.7 kB / 0.5457 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.1468, allocations: 44 kB / 0.5457 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.147, allocations: 48 kB / 0.5458 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003422/0.1474, allocations: 243.3 kB / 0.546 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004672/0.1478, allocations: 282.7 kB / 0.5463 GB, free: 392 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008757/0.1487, allocations: 0.611 MB / 0.5469 GB, free: 15.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1487, allocations: 0 / 0.5469 GB, free: 15.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1487, allocations: 0 / 0.5469 GB, free: 15.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.46e-05/0.1487, allocations: 0 / 0.5469 GB, free: 15.77 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002801/0.1515, allocations: 0.9669 MB / 0.5478 GB, free: 14.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.1516, allocations: 8.031 kB / 0.5478 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.303e-05/0.1516, allocations: 8.844 kB / 0.5478 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001435/0.1518, allocations: 70.72 kB / 0.5479 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.1519, allocations: 64.56 kB / 0.5479 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.1534, allocations: 0.615 MB / 0.5485 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.1534, allocations: 24.66 kB / 0.5486 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.1535, allocations: 40 kB / 0.5486 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.1546, allocations: 0.5518 MB / 0.5491 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.1546, allocations: 3.938 kB / 0.5492 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.563e-05/0.1546, allocations: 12 kB / 0.5492 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003423/0.155, allocations: 96.52 kB / 0.5493 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006647/0.1556, allocations: 354.3 kB / 0.5496 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00335/0.159, allocations: 2.059 MB / 0.5516 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009092/0.1599, allocations: 381.1 kB / 0.552 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/0.1604, allocations: 285.6 kB / 0.5522 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.1605, allocations: 4 kB / 0.5522 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.1605, allocations: 42.48 kB / 0.5523 GB, free: 9.965 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 2.224e-06/0.1605, allocations: 0 / 0.5523 GB, free: 9.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.00501/0.1655, allocations: 2.538 MB / 0.5548 GB, free: 7.219 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.1656, allocations: 81.11 kB / 0.5548 GB, free: 7.121 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000503/0.1661, allocations: 381.6 kB / 0.5552 GB, free: 6.734 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.354e-05/0.1661, allocations: 33.7 kB / 0.5552 GB, free: 6.695 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.1663, allocations: 252.6 kB / 0.5555 GB, free: 6.441 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.1665, allocations: 146.8 kB / 0.5556 GB, free: 6.297 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.1667, allocations: 98.2 kB / 0.5557 GB, free: 6.195 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.1669, allocations: 362.8 kB / 0.5561 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/0.1673, allocations: 245 kB / 0.5563 GB, free: 5.594 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005041/0.1678, allocations: 358.7 kB / 0.5566 GB, free: 5.195 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008889/0.1687, allocations: 0.6118 MB / 0.5572 GB, free: 4.539 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1687, allocations: 0 / 0.5572 GB, free: 4.539 MB / 414.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001861/0.1705, allocations: 1.002 MB / 0.5582 GB, free: 3.523 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.1705, allocations: 8 kB / 0.5582 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1706, allocations: 11.88 kB / 0.5582 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.1717, allocations: 405.4 kB / 0.5586 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.172, allocations: 79.91 kB / 0.5587 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006042/0.178, allocations: 5.139 MB / 0.5637 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004008/0.1784, allocations: 48 kB / 0.5638 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/0.1785, allocations: 16 kB / 0.5638 GB, free: 13.55 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003194/0.1788, allocations: 210.3 kB / 0.564 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.1789, allocations: 39.72 kB / 0.564 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.1805, allocations: 0.8347 MB / 0.5648 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/0.1806, allocations: 4 kB / 0.5648 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.1806, allocations: 4 kB / 0.5648 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.1806, allocations: 3.984 kB / 0.5648 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/0.183, allocations: 1.411 MB / 0.5662 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.183, allocations: 7.984 kB / 0.5662 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.1832, allocations: 35.92 kB / 0.5663 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001279/0.1845, allocations: 441.4 kB / 0.5667 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.75e-05/0.1846, allocations: 35.97 kB / 0.5667 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006731/0.1913, allocations: 6.714 MB / 0.5733 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1913, allocations: 3.938 kB / 0.5733 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.1933, allocations: 1.122 MB / 0.5744 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.1935, allocations: 116.8 kB / 0.5745 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.845e-05/0.1936, allocations: 31.92 kB / 0.5745 GB, free: 1.777 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.1939, allocations: 39.94 kB / 0.5745 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.194, allocations: 43.88 kB / 0.5746 GB, free: 1.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.194, allocations: 11.98 kB / 0.5746 GB, free: 1.684 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003541/0.1944, allocations: 263.2 kB / 0.5749 GB, free: 1.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1944, allocations: 0 / 0.5749 GB, free: 1.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007334/0.1951, allocations: 155.9 kB / 0.575 GB, free: 1.277 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002284/0.1974, allocations: 1.685 MB / 0.5766 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001914/0.1993, allocations: 0.8725 MB / 0.5775 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1993, allocations: 0 / 0.5775 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.2011, allocations: 1.079 MB / 0.5786 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007567/0.2018, allocations: 123.1 kB / 0.5787 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.2128, allocations: 6.276 MB / 0.5848 GB, free: 6.871 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007638/0.2135, allocations: 0.882 MB / 0.5857 GB, free: 5.957 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003117/0.2138, allocations: 68.34 kB / 0.5857 GB, free: 5.891 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.2141, allocations: 159.4 kB / 0.5859 GB, free: 5.738 MB / 446.1 MB Notification: Performance of SimCode: time 1.583e-06/0.2141, allocations: 0 / 0.5859 GB, free: 5.738 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04635/0.2605, allocations: 12.6 MB / 0.5982 GB, free: 9.316 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.34, allocations: 7.5 kB / 0.5982 GB, free: 9.312 MB / 462.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Line_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Line.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.614413393952418] Failed to read output from testmodel.py, exit status != 0: 11.487514059990644 11.734461011 11.581057554000001 Calling exit ...