Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Frequency.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.00157/0.00157, allocations: 123.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.001451/0.001451, allocations: 200.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.524/1.524, allocations: 230.6 MB / 254.1 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.184/0.184, allocations: 38.5 MB / 348.7 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 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.Frequency,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Frequency",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Frequency,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Frequency",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.001949/0.001949, allocations: 63.91 kB / 487.1 MB, free: 22.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1324, allocations: 62.42 MB / 0.5367 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.007393/0.1398, allocations: 5.489 MB / 0.542 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.1422, allocations: 1.145 MB / 0.5431 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/0.1425, allocations: 23.75 kB / 0.5432 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.1428, allocations: 83.2 kB / 0.5432 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000862/0.1437, allocations: 306.3 kB / 0.5435 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.1441, allocations: 139.8 kB / 0.5437 GB, free: 500 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000861/0.1449, allocations: 0.7006 MB / 0.5443 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002816/0.1452, allocations: 136.7 kB / 0.5445 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006781/0.1459, allocations: 326.6 kB / 0.5448 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007148/0.1466, allocations: 350.7 kB / 0.5451 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.563e-05/0.1467, allocations: 32 kB / 0.5452 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1468, allocations: 32 kB / 0.5452 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002512/0.147, allocations: 155.5 kB / 0.5453 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.1474, allocations: 238.8 kB / 0.5456 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008121/0.1482, allocations: 0.4939 MB / 0.546 GB, free: 14.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1482, allocations: 0 / 0.546 GB, free: 14.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1482, allocations: 0 / 0.546 GB, free: 14.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.1482, allocations: 0 / 0.546 GB, free: 14.04 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.002024/0.1502, allocations: 0.812 MB / 0.5468 GB, free: 13.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1503, allocations: 8.031 kB / 0.5468 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.518e-05/0.1504, allocations: 74.72 kB / 0.5469 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.978e-05/0.1505, allocations: 60.61 kB / 0.547 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007545/0.1512, allocations: 468.2 kB / 0.5474 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.908e-05/0.1513, allocations: 29 kB / 0.5474 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.1513, allocations: 36 kB / 0.5475 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007862/0.1521, allocations: 463.4 kB / 0.5479 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.1521, allocations: 0 / 0.5479 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.309e-05/0.1522, allocations: 16 kB / 0.5479 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.1522, allocations: 8 kB / 0.5479 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007852/0.153, allocations: 308.6 kB / 0.5482 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002979/0.156, allocations: 1.768 MB / 0.55 GB, free: 9.762 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.1563, allocations: 147.5 kB / 0.5501 GB, free: 9.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.1564, allocations: 54.66 kB / 0.5502 GB, free: 9.527 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.1565, allocations: 11.94 kB / 0.5502 GB, free: 9.516 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.673e-05/0.1565, allocations: 38.56 kB / 0.5502 GB, free: 9.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.405e-06/0.1565, allocations: 0 / 0.5502 GB, free: 9.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.001409/0.1579, allocations: 0.6172 MB / 0.5508 GB, free: 8.797 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.801e-05/0.158, allocations: 110.9 kB / 0.5509 GB, free: 8.664 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005622/0.1586, allocations: 377.6 kB / 0.5513 GB, free: 8.289 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.1586, allocations: 25.7 kB / 0.5513 GB, free: 8.258 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/0.159, allocations: 280 kB / 0.5516 GB, free: 7.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.591e-05/0.1591, allocations: 59.48 kB / 0.5516 GB, free: 7.922 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.1592, allocations: 65.66 kB / 0.5517 GB, free: 7.852 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002204/0.1594, allocations: 346.8 kB / 0.552 GB, free: 7.504 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.1595, allocations: 47.91 kB / 0.5521 GB, free: 7.457 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.1598, allocations: 198.5 kB / 0.5522 GB, free: 7.195 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/0.1603, allocations: 266.6 kB / 0.5525 GB, free: 6.867 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1603, allocations: 4 kB / 0.5525 GB, free: 6.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006031/0.161, allocations: 285 kB / 0.5528 GB, free: 6.578 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.161, allocations: 4 kB / 0.5528 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.161, allocations: 8.625 kB / 0.5528 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.161, allocations: 4 kB / 0.5528 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.1614, allocations: 79.84 kB / 0.5529 GB, free: 6.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/0.1614, allocations: 15.92 kB / 0.5529 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.1617, allocations: 11.95 kB / 0.5529 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.1617, allocations: 12.55 kB / 0.5529 GB, free: 6.445 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002122/0.1619, allocations: 190.4 kB / 0.5531 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.978e-05/0.162, allocations: 35.77 kB / 0.5531 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.1623, allocations: 168.7 kB / 0.5533 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1623, allocations: 8 kB / 0.5533 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1623, allocations: 0 / 0.5533 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1623, allocations: 3.984 kB / 0.5533 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007148/0.163, allocations: 0.5304 MB / 0.5538 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.163, allocations: 3.984 kB / 0.5538 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.1632, allocations: 40.36 kB / 0.5539 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1632, allocations: 4 kB / 0.5539 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1632, allocations: 0 / 0.5539 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.1633, allocations: 8 kB / 0.5539 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.1633, allocations: 11.95 kB / 0.5539 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/0.1637, allocations: 400.1 kB / 0.5543 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1638, allocations: 112.8 kB / 0.5544 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.1639, allocations: 4 kB / 0.5544 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.164, allocations: 11.94 kB / 0.5544 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.1641, allocations: 12.03 kB / 0.5544 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.1641, allocations: 4 kB / 0.5544 GB, free: 4.797 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002761/0.1644, allocations: 255.2 kB / 0.5546 GB, free: 4.547 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1644, allocations: 0 / 0.5546 GB, free: 4.547 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004336/0.1648, allocations: 72 kB / 0.5547 GB, free: 4.477 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.i) * 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 (18): * Single equations (assignments): 17 * 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.0008016/0.1656, allocations: 0.9318 MB / 0.5556 GB, free: 3.512 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003315/0.1659, allocations: 147.2 kB / 0.5558 GB, free: 3.371 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1659, allocations: 4.188 kB / 0.5558 GB, free: 3.367 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.847e-05/0.166, allocations: 55.86 kB / 0.5558 GB, free: 3.312 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007083/0.1667, allocations: 91.98 kB / 0.5559 GB, free: 3.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004569/0.1713, allocations: 3.419 MB / 0.5592 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000543/0.1718, allocations: 0.8386 MB / 0.5601 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000194/0.172, allocations: 47.25 kB / 0.5601 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.1723, allocations: 151.4 kB / 0.5603 GB, free: 14.52 MB / 430.1 MB Notification: Performance of SimCode: time 1.663e-06/0.1723, allocations: 4 kB / 0.5603 GB, free: 14.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03528/0.2075, allocations: 7.066 MB / 0.5672 GB, free: 7.551 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.727/8.934, allocations: 21.98 kB / 0.5672 GB, free: 7.531 MB / 430.1 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Frequency.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.Frequency_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 PowerSystems_PowerSystems_Examples_Introductory_Frequency.fmu > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.98134502400353] Failed to read output from testmodel.py, exit status != 0: 9.010057883002446 9.038117717 8.884760095 Calling exit ...