Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.001316/0.001316, allocations: 83.69 kB / 20.68 MB, free: 3.883 MB / 18.57 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.001441/0.001441, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8844/0.8844, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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.2453/0.2453, allocations: 29.4 MB / 290.1 MB, free: 2.465 MB / 266.7 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.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274e-05/1.384e-05, allocations: 3.828 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.003589/0.003603, allocations: 4.452 MB / 434.7 MB, free: 9.113 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.00508, allocations: 1.27 MB / 435.9 MB, free: 7.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.005226, allocations: 15.88 kB / 435.9 MB, free: 7.824 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006717/0.005898, allocations: 393.5 kB / 436.3 MB, free: 7.441 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003711/0.006269, allocations: 262.5 kB / 436.6 MB, free: 7.184 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.006594, allocations: 171.5 kB / 436.8 MB, free: 7.016 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004387/0.007032, allocations: 0.5723 MB / 437.3 MB, free: 6.441 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002883/0.007321, allocations: 233.5 kB / 437.6 MB, free: 6.211 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.007677, allocations: 346.9 kB / 437.9 MB, free: 5.871 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.007973, allocations: 275.2 kB / 438.2 MB, free: 5.602 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.008007, allocations: 32 kB / 438.2 MB, free: 5.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.008182, allocations: 131.6 kB / 438.3 MB, free: 5.441 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.008312, allocations: 211.4 kB / 438.5 MB, free: 5.234 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.008416, allocations: 143.7 kB / 438.7 MB, free: 5.094 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003921/0.008808, allocations: 0.514 MB / 439.2 MB, free: 4.578 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.00881, allocations: 4 kB / 439.2 MB, free: 4.574 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.008811, allocations: 0 / 439.2 MB, free: 4.574 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.483e-06/0.008818, allocations: 0 / 439.2 MB, free: 4.574 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0008261/0.009644, allocations: 0.6388 MB / 439.8 MB, free: 3.906 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.009683, allocations: 15.98 kB / 439.8 MB, free: 3.891 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.773e-05/0.009741, allocations: 70.72 kB / 439.9 MB, free: 3.812 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003412/0.01008, allocations: 92.59 kB / 440 MB, free: 3.723 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.01051, allocations: 340 kB / 440.3 MB, free: 3.355 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.01052, allocations: 25.38 kB / 440.4 MB, free: 3.332 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.984e-05/0.01061, allocations: 48.72 kB / 440.4 MB, free: 3.285 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.01107, allocations: 480.7 kB / 440.9 MB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.01109, allocations: 3.953 kB / 440.9 MB, free: 2.785 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.01111, allocations: 20 kB / 440.9 MB, free: 2.766 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.723e-05/0.01117, allocations: 24.98 kB / 440.9 MB, free: 2.742 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003653/0.01153, allocations: 351.7 kB / 441.3 MB, free: 2.398 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.01293, allocations: 1.479 MB / 442.7 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.01313, allocations: 137.2 kB / 442.9 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.01324, allocations: 113.7 kB / 443 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.01325, allocations: 4 kB / 443 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.01327, allocations: 30.84 kB / 443 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.01327, allocations: 0 / 443 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.1499/0.1632, allocations: 0.7479 MB / 443.8 MB, free: 54.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.1632, allocations: 80.3 kB / 443.8 MB, free: 54.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.1634, allocations: 316.1 kB / 444.2 MB, free: 54.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.1634, allocations: 27.95 kB / 444.2 MB, free: 54.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/0.1635, allocations: 263.2 kB / 444.4 MB, free: 54.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.1636, allocations: 62.61 kB / 444.5 MB, free: 54.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.1636, allocations: 60.75 kB / 444.6 MB, free: 54.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.326e-05/0.1637, allocations: 345 kB / 444.9 MB, free: 53.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.86e-05/0.1637, allocations: 98.09 kB / 445 MB, free: 53.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.1638, allocations: 196 kB / 445.2 MB, free: 53.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.1641, allocations: 340.3 kB / 445.5 MB, free: 53.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1641, allocations: 0 / 445.5 MB, free: 53.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004628/0.1645, allocations: 471.2 kB / 446 MB, free: 53.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1645, allocations: 8.406 kB / 446 MB, free: 53.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002942/0.1648, allocations: 313.2 kB / 446.3 MB, free: 53.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000264/0.1651, allocations: 135 kB / 446.4 MB, free: 53.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1652, allocations: 52.19 kB / 446.5 MB, free: 53.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.1665, allocations: 2.316 MB / 448.8 MB, free: 51.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.147e-05/0.1666, allocations: 21.55 kB / 448.8 MB, free: 51.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.1667, allocations: 14.88 kB / 448.8 MB, free: 51.57 MB / 410.7 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.1668, allocations: 191.6 kB / 449 MB, free: 51.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.1668, allocations: 30.86 kB / 449 MB, free: 51.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.167, allocations: 269 kB / 449.3 MB, free: 51.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.167, allocations: 0 / 449.3 MB, free: 51.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.167, allocations: 6.938 kB / 449.3 MB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.167, allocations: 0 / 449.3 MB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.1676, allocations: 0.687 MB / 450 MB, free: 50.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1676, allocations: 0 / 450 MB, free: 50.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.1677, allocations: 35.28 kB / 450 MB, free: 50.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.222e-05/0.1677, allocations: 41.22 kB / 450.1 MB, free: 50.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1677, allocations: 3.031 kB / 450.1 MB, free: 50.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1677, allocations: 9.328 kB / 450.1 MB, free: 50.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1677, allocations: 7.031 kB / 450.1 MB, free: 50.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.168, allocations: 440.2 kB / 450.5 MB, free: 50.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.468e-05/0.168, allocations: 33.17 kB / 450.6 MB, free: 50.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.168, allocations: 3.188 kB / 450.6 MB, free: 50.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.1681, allocations: 10.91 kB / 450.6 MB, free: 50.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.1681, allocations: 20.8 kB / 450.6 MB, free: 50.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.1681, allocations: 7.906 kB / 450.6 MB, free: 50.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.1682, allocations: 225.3 kB / 450.8 MB, free: 50.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1682, allocations: 0 / 450.8 MB, free: 50.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.1685, allocations: 85.03 kB / 450.9 MB, free: 50.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003802/0.1689, allocations: 0.9678 MB / 451.9 MB, free: 49.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003788/0.1693, allocations: 402.8 kB / 452.3 MB, free: 49.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1693, allocations: 0 / 452.3 MB, free: 49.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.822e-05/0.1694, allocations: 101.7 kB / 452.4 MB, free: 49.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.1697, allocations: 65.86 kB / 452.4 MB, free: 49.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.172, allocations: 3.491 MB / 455.9 MB, free: 47.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.1721, allocations: 245 kB / 456.2 MB, free: 47.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.854e-05/0.1722, allocations: 60.39 kB / 456.2 MB, free: 47.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.95e-05/0.1723, allocations: 123.1 kB / 456.3 MB, free: 46.92 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1723, allocations: 0 / 456.3 MB, free: 46.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.1913, allocations: 8.063 MB / 464.4 MB, free: 45.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.701/7.892, allocations: 10.44 kB / 464.4 MB, free: 45.49 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.860117841511965] Failed to read output from testmodel.py, exit status != 0: 7.98474701680243 7.991792985 7.981408653 Calling exit ...