Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001349/0.001349, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.001421/0.001421, allocations: 215.1 kB / 21.45 MB, free: 1.641 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.581/1.581, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.1863/0.1863, allocations: 38.51 MB / 349.4 MB, free: 2.605 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.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_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.00303/0.00303, allocations: 67.89 kB / 487.8 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1332, allocations: 62.41 MB / 0.5374 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.006976/0.1402, allocations: 4.98 MB / 0.5422 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.1425, allocations: 1.324 MB / 0.5435 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/0.1427, allocations: 27.75 kB / 0.5435 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004928/0.1432, allocations: 127.1 kB / 0.5437 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008134/0.144, allocations: 326.5 kB / 0.544 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004391/0.1444, allocations: 159.7 kB / 0.5441 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008727/0.1453, allocations: 0.6931 MB / 0.5448 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.1456, allocations: 127.9 kB / 0.5449 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005129/0.1461, allocations: 318.8 kB / 0.5452 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006582/0.1468, allocations: 466.6 kB / 0.5457 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.508e-05/0.1468, allocations: 48 kB / 0.5457 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.76e-05/0.1469, allocations: 44 kB / 0.5458 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002639/0.1472, allocations: 247.3 kB / 0.546 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003017/0.1475, allocations: 274.8 kB / 0.5463 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007289/0.1482, allocations: 0.6109 MB / 0.5469 GB, free: 13.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1482, allocations: 4 kB / 0.5469 GB, free: 13.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1482, allocations: 0 / 0.5469 GB, free: 13.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1482, allocations: 0 / 0.5469 GB, free: 13.79 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.002122/0.1504, allocations: 0.9631 MB / 0.5478 GB, free: 12.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.1504, allocations: 12.03 kB / 0.5478 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.942e-05/0.1504, allocations: 8.844 kB / 0.5478 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.699e-05/0.1505, allocations: 70.72 kB / 0.5479 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.1507, allocations: 56.56 kB / 0.5479 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.1519, allocations: 0.6228 MB / 0.5485 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.64e-05/0.1519, allocations: 28.66 kB / 0.5486 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.71e-05/0.152, allocations: 40 kB / 0.5486 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008645/0.1529, allocations: 0.5517 MB / 0.5492 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1529, allocations: 4 kB / 0.5492 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.1529, allocations: 8 kB / 0.5492 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003443/0.1533, allocations: 88.53 kB / 0.5492 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005991/0.1539, allocations: 358.3 kB / 0.5496 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003678/0.1576, allocations: 2.063 MB / 0.5516 GB, free: 8.719 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.1586, allocations: 381.1 kB / 0.552 GB, free: 8.328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005688/0.1591, allocations: 285.1 kB / 0.5522 GB, free: 8.047 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.1592, allocations: 4 kB / 0.5522 GB, free: 8.043 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.1592, allocations: 34.56 kB / 0.5523 GB, free: 8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 3.496e-06/0.1592, allocations: 0 / 0.5523 GB, free: 8 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.005661/0.1649, allocations: 2.542 MB / 0.5548 GB, free: 5.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.616e-05/0.165, allocations: 81.23 kB / 0.5548 GB, free: 5.152 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/0.1655, allocations: 385.5 kB / 0.5552 GB, free: 4.762 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.64e-05/0.1656, allocations: 29.7 kB / 0.5552 GB, free: 4.727 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.1658, allocations: 256.6 kB / 0.5555 GB, free: 4.469 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.166, allocations: 142.8 kB / 0.5556 GB, free: 4.328 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.1661, allocations: 98.2 kB / 0.5557 GB, free: 4.227 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.1664, allocations: 362.7 kB / 0.5561 GB, free: 3.863 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000388/0.1667, allocations: 245 kB / 0.5563 GB, free: 3.625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004616/0.1672, allocations: 358.7 kB / 0.5566 GB, free: 3.227 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008793/0.1681, allocations: 0.6118 MB / 0.5572 GB, free: 2.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1681, allocations: 0 / 0.5572 GB, free: 2.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001838/0.1699, allocations: 1.002 MB / 0.5582 GB, free: 1.555 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.1699, allocations: 4 kB / 0.5582 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.17, allocations: 8.344 kB / 0.5582 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.171, allocations: 409.3 kB / 0.5586 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.1713, allocations: 83.83 kB / 0.5587 GB, free: 1.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005814/0.1772, allocations: 5.143 MB / 0.5637 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003883/0.1775, allocations: 39.95 kB / 0.5637 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.1776, allocations: 19.98 kB / 0.5638 GB, free: 11.58 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.0002952/0.1779, allocations: 217.5 kB / 0.564 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.76e-05/0.178, allocations: 43.72 kB / 0.564 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.1795, allocations: 0.8308 MB / 0.5648 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1795, allocations: 8 kB / 0.5648 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1795, allocations: 0 / 0.5648 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.1795, allocations: 7.984 kB / 0.5648 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.1818, allocations: 1.407 MB / 0.5662 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1818, allocations: 4 kB / 0.5662 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.182, allocations: 39.86 kB / 0.5663 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001352/0.1833, allocations: 449.3 kB / 0.5667 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.407e-05/0.1834, allocations: 31.97 kB / 0.5667 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006487/0.1899, allocations: 6.714 MB / 0.5733 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1899, allocations: 0 / 0.5733 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.1918, allocations: 1.126 MB / 0.5744 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.1919, allocations: 116.8 kB / 0.5745 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.432e-05/0.192, allocations: 27.98 kB / 0.5745 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003132/0.1923, allocations: 39.94 kB / 0.5745 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.1925, allocations: 39.83 kB / 0.5746 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.1925, allocations: 11.98 kB / 0.5746 GB, free: 15.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003689/0.1929, allocations: 267.1 kB / 0.5749 GB, free: 15.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1929, allocations: 4 kB / 0.5749 GB, free: 15.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007864/0.1936, allocations: 163.9 kB / 0.575 GB, free: 15.29 MB / 446.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.002485/0.1961, allocations: 1.674 MB / 0.5766 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002118/0.1982, allocations: 0.8725 MB / 0.5775 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1982, allocations: 0 / 0.5775 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001619/0.1999, allocations: 1.079 MB / 0.5786 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007392/0.2006, allocations: 123.1 kB / 0.5787 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009197/0.2098, allocations: 6.272 MB / 0.5848 GB, free: 4.895 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005572/0.2104, allocations: 0.8898 MB / 0.5857 GB, free: 3.977 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002559/0.2106, allocations: 68.34 kB / 0.5857 GB, free: 3.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.2108, allocations: 151.3 kB / 0.5859 GB, free: 3.762 MB / 446.1 MB Notification: Performance of SimCode: time 6.12e-07/0.2108, allocations: 0 / 0.5859 GB, free: 3.762 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2956/0.5065, allocations: 12.57 MB / 0.5982 GB, free: 51.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.5, allocations: 11.72 kB / 0.5982 GB, free: 51.97 MB / 446.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.546718435012735] Failed to read output from testmodel.py, exit status != 0: 11.64720975398086 11.665742161 11.513944124 Calling exit ...