Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.001816/0.001816, allocations: 120.1 kB / 18.49 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.002255/0.002255, allocations: 215.1 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.519/1.519, allocations: 230.6 MB / 254.8 MB, free: 15.12 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.1947/0.1947, allocations: 38.52 MB / 349.4 MB, free: 2.602 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.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_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.001984/0.001984, allocations: 67.89 kB / 487.8 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1133, allocations: 62.42 MB / 0.5374 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.007055/0.1203, allocations: 5.224 MB / 0.5425 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003384/0.1237, allocations: 1.811 MB / 0.5442 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003066/0.124, allocations: 23.81 kB / 0.5443 GB, free: 480 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.1253, allocations: 453.9 kB / 0.5447 GB, free: 24 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000866/0.1262, allocations: 298.6 kB / 0.545 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.1273, allocations: 363.2 kB / 0.5453 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009583/0.1283, allocations: 0.7636 MB / 0.5461 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005024/0.1288, allocations: 294.2 kB / 0.5463 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005612/0.1293, allocations: 358.6 kB / 0.5467 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007198/0.13, allocations: 486.6 kB / 0.5472 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.889e-05/0.1301, allocations: 48 kB / 0.5472 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004092/0.1305, allocations: 195.7 kB / 0.5474 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003101/0.1309, allocations: 279.2 kB / 0.5477 GB, free: 12.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003762/0.1312, allocations: 338.4 kB / 0.548 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00095/0.1322, allocations: 0.825 MB / 0.5488 GB, free: 11.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1322, allocations: 3.938 kB / 0.5488 GB, free: 11.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1322, allocations: 0 / 0.5488 GB, free: 11.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.1322, allocations: 0 / 0.5488 GB, free: 11.81 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001804/0.134, allocations: 0.9363 MB / 0.5497 GB, free: 10.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.134, allocations: 8.031 kB / 0.5497 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.421e-05/0.1341, allocations: 17.19 kB / 0.5497 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001232/0.1342, allocations: 102.7 kB / 0.5498 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.1354, allocations: 168.4 kB / 0.55 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009816/0.1364, allocations: 0.5393 MB / 0.5505 GB, free: 9.941 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.1364, allocations: 33 kB / 0.5505 GB, free: 9.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003725/0.1368, allocations: 135.9 kB / 0.5507 GB, free: 9.777 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.1381, allocations: 0.8587 MB / 0.5515 GB, free: 8.848 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.1381, allocations: 3.938 kB / 0.5515 GB, free: 8.844 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.751e-05/0.1382, allocations: 27.98 kB / 0.5515 GB, free: 8.816 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004911/0.1387, allocations: 68.94 kB / 0.5516 GB, free: 8.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.1397, allocations: 0.6244 MB / 0.5522 GB, free: 8.125 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00487/0.1446, allocations: 3.781 MB / 0.5559 GB, free: 4.184 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.1458, allocations: 0.5295 MB / 0.5564 GB, free: 3.641 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004888/0.1463, allocations: 314.9 kB / 0.5567 GB, free: 3.328 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.617e-05/0.1463, allocations: 12.41 kB / 0.5567 GB, free: 3.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.1464, allocations: 39 kB / 0.5568 GB, free: 3.266 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.484e-06/0.1464, allocations: 0 / 0.5568 GB, free: 3.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.003256/0.1496, allocations: 1.852 MB / 0.5586 GB, free: 1.367 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.1497, allocations: 89.47 kB / 0.5587 GB, free: 1.262 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004587/0.1501, allocations: 417.8 kB / 0.5591 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.858e-05/0.1502, allocations: 33.7 kB / 0.5591 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/0.1505, allocations: 336.5 kB / 0.5594 GB, free: 484 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.1507, allocations: 210.4 kB / 0.5596 GB, free: 272 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.1509, allocations: 154.2 kB / 0.5598 GB, free: 108 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.1511, allocations: 374.7 kB / 0.5601 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/0.1517, allocations: 373.5 kB / 0.5605 GB, free: 15.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007834/0.1525, allocations: 0.5979 MB / 0.5611 GB, free: 14.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.154, allocations: 1.068 MB / 0.5621 GB, free: 13.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.154, allocations: 0 / 0.5621 GB, free: 13.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004757/0.1588, allocations: 1.96 MB / 0.564 GB, free: 11.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.1588, allocations: 12.59 kB / 0.564 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.1588, allocations: 8 kB / 0.564 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002729/0.1616, allocations: 0.9729 MB / 0.565 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.162, allocations: 115.8 kB / 0.5651 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/0.174, allocations: 8.19 MB / 0.5731 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005604/0.1745, allocations: 43.91 kB / 0.5731 GB, free: 1.898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.615e-05/0.1746, allocations: 39.92 kB / 0.5732 GB, free: 1.859 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * 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%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003837/0.175, allocations: 245.5 kB / 0.5734 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.1751, allocations: 51.67 kB / 0.5735 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.1765, allocations: 0.7336 MB / 0.5742 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.1765, allocations: 8 kB / 0.5742 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1765, allocations: 0 / 0.5742 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.1765, allocations: 7.922 kB / 0.5742 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002744/0.1792, allocations: 1.513 MB / 0.5757 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.1792, allocations: 0 / 0.5757 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.1803, allocations: 187.8 kB / 0.5758 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.1803, allocations: 12.03 kB / 0.5759 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.65e-05/0.1804, allocations: 27.98 kB / 0.5759 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.1804, allocations: 4 kB / 0.5759 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1804, allocations: 0 / 0.5759 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.182, allocations: 1.001 MB / 0.5769 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.1821, allocations: 128.7 kB / 0.577 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.22e-05/0.1822, allocations: 27.98 kB / 0.577 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/0.1826, allocations: 27.97 kB / 0.577 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.591e-05/0.1826, allocations: 32.39 kB / 0.5771 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.082e-05/0.1827, allocations: 11.98 kB / 0.5771 GB, free: 13.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000318/0.183, allocations: 283.1 kB / 0.5774 GB, free: 13.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.183, allocations: 0 / 0.5774 GB, free: 13.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008318/0.1838, allocations: 216 kB / 0.5776 GB, free: 13.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (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.v[3,1],line.v[3,2],line.v[3,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],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,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 (52): * Single equations (assignments): 51 * 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.001877/0.1857, allocations: 1.566 MB / 0.5791 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002776/0.1885, allocations: 1.417 MB / 0.5805 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.1885, allocations: 0 / 0.5805 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000491/0.189, allocations: 307 kB / 0.5808 GB, free: 9.883 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007347/0.1897, allocations: 125.8 kB / 0.5809 GB, free: 9.762 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2622/0.4519, allocations: 9.676 MB / 0.5903 GB, free: 51.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006224/0.4526, allocations: 0.9812 MB / 0.5913 GB, free: 50.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006929/0.4532, allocations: 200.9 kB / 0.5915 GB, free: 50.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000349/0.4536, allocations: 239.4 kB / 0.5917 GB, free: 50.58 MB / 446.1 MB Notification: Performance of SimCode: time 1.734e-06/0.4536, allocations: 0 / 0.5917 GB, free: 50.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05136/0.505, allocations: 17.69 MB / 0.609 GB, free: 45.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.14, allocations: 9.453 kB / 0.609 GB, free: 45.72 MB / 446.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Line.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.167671371018514] Failed to read output from testmodel.py, exit status != 0: 12.293912483029999 12.307775788 12.17283067 Calling exit ...