Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.001299/0.001299, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002046/0.002046, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.506/1.506, 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.1844/0.1844, allocations: 38.51 MB / 348.7 MB, free: 2.617 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.ReferenceSynchron,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceSynchron,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron",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.002054/0.002054, allocations: 67.91 kB / 487.1 MB, free: 22.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1204, allocations: 62.41 MB / 0.5366 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.006502/0.1269, allocations: 4.48 MB / 0.541 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.1296, allocations: 1.492 MB / 0.5425 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/0.1298, allocations: 15.88 kB / 0.5425 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.1311, allocations: 374.4 kB / 0.5428 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000784/0.1319, allocations: 258.8 kB / 0.5431 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008336/0.1327, allocations: 243.4 kB / 0.5433 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008518/0.1336, allocations: 0.5573 MB / 0.5439 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004584/0.134, allocations: 237.1 kB / 0.5441 GB, free: 44 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005032/0.1345, allocations: 266.9 kB / 0.5443 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005724/0.1351, allocations: 374.9 kB / 0.5447 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.47e-05/0.1352, allocations: 40 kB / 0.5447 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005654/0.1357, allocations: 247.6 kB / 0.545 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002963/0.136, allocations: 251.3 kB / 0.5452 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000295/0.1363, allocations: 254.8 kB / 0.5455 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009158/0.1372, allocations: 0.6772 MB / 0.5461 GB, free: 13.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1372, allocations: 0 / 0.5461 GB, free: 13.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1372, allocations: 0 / 0.5461 GB, free: 13.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1373, allocations: 3.938 kB / 0.5461 GB, free: 13.95 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.00162/0.1389, allocations: 0.7887 MB / 0.5469 GB, free: 13.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.1389, allocations: 12.03 kB / 0.5469 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/0.139, allocations: 82.7 kB / 0.547 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008011/0.1398, allocations: 128.4 kB / 0.5471 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008618/0.1407, allocations: 427.4 kB / 0.5475 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.1407, allocations: 29.38 kB / 0.5475 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.1409, allocations: 43.94 kB / 0.5476 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.1419, allocations: 0.6803 MB / 0.5483 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.142, allocations: 0 / 0.5483 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.607e-05/0.142, allocations: 19.98 kB / 0.5483 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001812/0.1422, allocations: 52.95 kB / 0.5483 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.1433, allocations: 0.6752 MB / 0.549 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00388/0.1472, allocations: 2.513 MB / 0.5514 GB, free: 8.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005774/0.1478, allocations: 309.1 kB / 0.5517 GB, free: 7.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.1481, allocations: 213.7 kB / 0.5519 GB, free: 7.715 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.1481, allocations: 7.938 kB / 0.5519 GB, free: 7.707 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.1482, allocations: 46.44 kB / 0.552 GB, free: 7.652 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.274e-06/0.1482, allocations: 0 / 0.552 GB, free: 7.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.002301/0.1505, allocations: 1.353 MB / 0.5533 GB, free: 6.242 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.1505, allocations: 81.11 kB / 0.5534 GB, free: 6.145 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/0.1509, allocations: 308.4 kB / 0.5537 GB, free: 5.836 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.1509, allocations: 33.83 kB / 0.5537 GB, free: 5.797 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.1511, allocations: 264.2 kB / 0.554 GB, free: 5.531 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.1513, allocations: 154.6 kB / 0.5541 GB, free: 5.379 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.1514, allocations: 94.2 kB / 0.5542 GB, free: 5.281 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1516, allocations: 350.8 kB / 0.5545 GB, free: 4.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/0.1519, allocations: 204.9 kB / 0.5547 GB, free: 4.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004472/0.1523, allocations: 361.2 kB / 0.5551 GB, free: 4.305 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008112/0.1532, allocations: 0.6021 MB / 0.5557 GB, free: 3.633 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1532, allocations: 0 / 0.5557 GB, free: 3.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00101/0.1542, allocations: 0.6345 MB / 0.5563 GB, free: 2.992 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.1542, allocations: 8.688 kB / 0.5563 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.1542, allocations: 4 kB / 0.5563 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/0.1543, allocations: 12 kB / 0.5563 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/0.1547, allocations: 111.8 kB / 0.5564 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.1548, allocations: 8 kB / 0.5564 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.155, allocations: 31.97 kB / 0.5565 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.99e-05/0.1551, allocations: 27.94 kB / 0.5565 GB, free: 2.793 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * 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.0003112/0.1554, allocations: 218.2 kB / 0.5567 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.1555, allocations: 39.7 kB / 0.5567 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009109/0.1564, allocations: 0.4935 MB / 0.5572 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/0.1565, allocations: 12 kB / 0.5572 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.1565, allocations: 0 / 0.5572 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.1565, allocations: 7.984 kB / 0.5572 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.1584, allocations: 1.089 MB / 0.5583 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1584, allocations: 8.031 kB / 0.5583 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003717/0.1588, allocations: 67.89 kB / 0.5584 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.984e-06/0.1588, allocations: 4 kB / 0.5584 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.1588, allocations: 11.98 kB / 0.5584 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.1588, allocations: 7.938 kB / 0.5584 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1588, allocations: 0 / 0.5584 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.16, allocations: 0.8284 MB / 0.5592 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.1601, allocations: 116.9 kB / 0.5593 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.332e-05/0.1602, allocations: 8 kB / 0.5593 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.1604, allocations: 11.98 kB / 0.5593 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/0.1604, allocations: 27.84 kB / 0.5594 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.1605, allocations: 12 kB / 0.5594 GB, free: 15.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002429/0.1607, allocations: 219 kB / 0.5596 GB, free: 15.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1607, allocations: 0 / 0.5596 GB, free: 15.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005145/0.1612, allocations: 111.9 kB / 0.5597 GB, free: 15.39 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (33): * Single equations (assignments): 30 * Array equations: 2 * 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.001574/0.1628, allocations: 1.4 MB / 0.561 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007682/0.1636, allocations: 476.7 kB / 0.5615 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.1636, allocations: 4.062 kB / 0.5615 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003109/0.1639, allocations: 204.3 kB / 0.5617 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005407/0.1644, allocations: 71.56 kB / 0.5618 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006274/0.1707, allocations: 4.405 MB / 0.5661 GB, free: 8.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/0.1714, allocations: 0.8704 MB / 0.5669 GB, free: 7.672 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004285/0.1718, allocations: 123.2 kB / 0.567 GB, free: 7.551 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/0.172, allocations: 143.4 kB / 0.5672 GB, free: 7.41 MB / 430.1 MB Notification: Performance of SimCode: time 7.72e-07/0.172, allocations: 0 / 0.5672 GB, free: 7.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04555/0.2176, allocations: 8.025 MB / 0.575 GB, free: 15.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.578/8.795, allocations: 12.7 kB / 0.575 GB, free: 15.47 MB / 446.1 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron.fmu > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.701015761995222] Failed to read output from testmodel.py, exit status != 0: 8.866803234996041 8.881691292 8.741276288 Calling exit ...