Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.001382/0.001382, allocations: 118.3 kB / 18.5 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.001553/0.001553, allocations: 213.5 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.485/1.485, 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.1804/0.1804, allocations: 38.5 MB / 349.4 MB, free: 2.59 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.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",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.002005/0.002005, allocations: 63.91 kB / 487.8 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1263, allocations: 62.42 MB / 0.5374 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.007768/0.134, allocations: 4.632 MB / 0.5419 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003199/0.1372, allocations: 1.519 MB / 0.5434 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003145/0.1376, allocations: 19.81 kB / 0.5434 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.1388, allocations: 394 kB / 0.5438 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000766/0.1396, allocations: 242.8 kB / 0.544 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007883/0.1404, allocations: 255.3 kB / 0.5442 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009214/0.1413, allocations: 0.5573 MB / 0.5448 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000449/0.1417, allocations: 270.4 kB / 0.545 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004294/0.1422, allocations: 267 kB / 0.5453 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006112/0.1428, allocations: 338.9 kB / 0.5456 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.965e-05/0.1428, allocations: 36 kB / 0.5456 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003406/0.1432, allocations: 155.8 kB / 0.5458 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.1434, allocations: 231.3 kB / 0.546 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002638/0.1437, allocations: 250.8 kB / 0.5463 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000764/0.1445, allocations: 0.5992 MB / 0.5468 GB, free: 13.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1445, allocations: 0 / 0.5468 GB, free: 13.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1445, allocations: 0 / 0.5468 GB, free: 13.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1445, allocations: 0 / 0.5468 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001566/0.146, allocations: 0.7887 MB / 0.5476 GB, free: 12.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1461, allocations: 8.031 kB / 0.5476 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.321e-05/0.1461, allocations: 13.19 kB / 0.5476 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.1462, allocations: 90.64 kB / 0.5477 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007769/0.147, allocations: 128.5 kB / 0.5478 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007102/0.1477, allocations: 420.3 kB / 0.5482 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.1477, allocations: 37.12 kB / 0.5483 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.1479, allocations: 47.98 kB / 0.5483 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.149, allocations: 0.6411 MB / 0.5489 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.149, allocations: 3.984 kB / 0.5489 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/0.1491, allocations: 20 kB / 0.549 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/0.1492, allocations: 32.98 kB / 0.549 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000803/0.15, allocations: 479.5 kB / 0.5495 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004209/0.1542, allocations: 3.018 MB / 0.5524 GB, free: 7.766 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.1545, allocations: 175.6 kB / 0.5526 GB, free: 7.578 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.1547, allocations: 101.7 kB / 0.5527 GB, free: 7.473 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.953e-05/0.1548, allocations: 11.92 kB / 0.5527 GB, free: 7.461 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.1548, allocations: 38.44 kB / 0.5527 GB, free: 7.414 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 2.274e-06/0.1548, allocations: 0 / 0.5527 GB, free: 7.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=21): time 0.001682/0.1565, allocations: 0.8473 MB / 0.5535 GB, free: 6.516 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.1565, allocations: 85.23 kB / 0.5536 GB, free: 6.414 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005095/0.1571, allocations: 349.5 kB / 0.554 GB, free: 6.066 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.1571, allocations: 29.7 kB / 0.554 GB, free: 6.031 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.1573, allocations: 315.8 kB / 0.5543 GB, free: 5.715 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.213e-05/0.1574, allocations: 79.33 kB / 0.5544 GB, free: 5.637 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.1575, allocations: 86.08 kB / 0.5544 GB, free: 5.547 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1577, allocations: 338.8 kB / 0.5548 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.1579, allocations: 124.8 kB / 0.5549 GB, free: 5.082 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/0.1583, allocations: 334.8 kB / 0.5552 GB, free: 4.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006443/0.159, allocations: 0.4976 MB / 0.5557 GB, free: 4.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.159, allocations: 4 kB / 0.5557 GB, free: 4.066 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001093/0.16, allocations: 0.5604 MB / 0.5562 GB, free: 3.496 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1601, allocations: 12.16 kB / 0.5563 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005615/0.1606, allocations: 276.2 kB / 0.5565 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004042/0.161, allocations: 80.78 kB / 0.5566 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.1614, allocations: 95.83 kB / 0.5567 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.1634, allocations: 1.723 MB / 0.5584 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.1637, allocations: 12 kB / 0.5584 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.1637, allocations: 27.94 kB / 0.5584 GB, free: 1.133 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003018/0.164, allocations: 222.2 kB / 0.5586 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.1641, allocations: 35.77 kB / 0.5587 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005818/0.1647, allocations: 292.8 kB / 0.5589 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.1647, allocations: 7.984 kB / 0.5589 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.1647, allocations: 0 / 0.5589 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1647, allocations: 0 / 0.5589 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.166, allocations: 0.7965 MB / 0.5597 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.166, allocations: 0 / 0.5597 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/0.1663, allocations: 59.91 kB / 0.5598 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1663, allocations: 3.938 kB / 0.5598 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.1663, allocations: 11.98 kB / 0.5598 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.1663, allocations: 7.938 kB / 0.5598 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1663, allocations: 4.062 kB / 0.5598 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006442/0.167, allocations: 473.5 kB / 0.5603 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.579e-05/0.1671, allocations: 100.9 kB / 0.5604 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.1671, allocations: 15.94 kB / 0.5604 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.1673, allocations: 12.03 kB / 0.5604 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.1673, allocations: 15.98 kB / 0.5604 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.1674, allocations: 8 kB / 0.5604 GB, free: 14.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002517/0.1676, allocations: 231.2 kB / 0.5606 GB, free: 14.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1676, allocations: 3.938 kB / 0.5606 GB, free: 14.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005126/0.1681, allocations: 104 kB / 0.5607 GB, free: 14.63 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (24): * Single equations (assignments): 23 * 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.001052/0.1692, allocations: 1.011 MB / 0.5617 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008493/0.17, allocations: 443.8 kB / 0.5621 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.17, allocations: 0 / 0.5621 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.1702, allocations: 99.89 kB / 0.5622 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.1707, allocations: 70.14 kB / 0.5623 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005528/0.1762, allocations: 4 MB / 0.5662 GB, free: 8.688 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005975/0.1768, allocations: 0.874 MB / 0.5671 GB, free: 7.785 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003092/0.1772, allocations: 111.2 kB / 0.5672 GB, free: 7.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.1774, allocations: 143.4 kB / 0.5673 GB, free: 7.539 MB / 430.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1774, allocations: 0 / 0.5673 GB, free: 7.539 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03188/0.2092, allocations: 7.532 MB / 0.5747 GB, free: 136 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/10.99, allocations: 8 kB / 0.5747 GB, free: 128 kB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --stepSize=8e-05 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.920707167009823] Failed to read output from testmodel.py, exit status != 0: 11.13788678002311 11.165680667 11.01608572 Calling exit ...