Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 87.88 kB / 16.31 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 178.3 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.4 MB / 223.4 MB, free: 5.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3505/0.3505, allocations: 38.06 MB / 309.7 MB, free: 8.844 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006231/0.0006231, allocations: 16 kB / 376.6 MB, free: 15.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1432, allocations: 56.34 MB / 433 MB, free: 6.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006795/0.15, allocations: 4.704 MB / 437.7 MB, free: 1.871 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.153, allocations: 1.493 MB / 439.1 MB, free: 380 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003727/0.1534, allocations: 23.81 kB / 439.2 MB, free: 356 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000358/0.1538, allocations: 103.3 kB / 439.3 MB, free: 252 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006624/0.1544, allocations: 254.8 kB / 439.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005172/0.155, allocations: 175.6 kB / 439.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006514/0.1556, allocations: 0.6347 MB / 440.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008974/0.1565, allocations: 0.5471 MB / 440.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/0.1569, allocations: 203 kB / 441.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004229/0.1573, allocations: 263.2 kB / 441.3 MB, free: 14.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.1574, allocations: 16 kB / 441.3 MB, free: 14.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.1576, allocations: 83.8 kB / 441.4 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.1578, allocations: 167.5 kB / 441.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1579, allocations: 105.5 kB / 441.7 MB, free: 13.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000416/0.1583, allocations: 399 kB / 442.1 MB, free: 13.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.1584, allocations: 0 / 442.1 MB, free: 13.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1584, allocations: 0 / 442.1 MB, free: 13.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1584, allocations: 0 / 442.1 MB, free: 13.39 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001003/0.1594, allocations: 0.6482 MB / 442.7 MB, free: 12.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1594, allocations: 8.031 kB / 442.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.826e-05/0.1595, allocations: 82.48 kB / 442.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000606/0.1602, allocations: 83.38 kB / 442.9 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005732/0.1607, allocations: 390.9 kB / 443.3 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.1608, allocations: 28.98 kB / 443.3 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.1609, allocations: 40 kB / 443.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006778/0.1616, allocations: 480.8 kB / 443.8 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.1616, allocations: 0 / 443.8 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.1617, allocations: 19.94 kB / 443.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.873e-05/0.1618, allocations: 36.97 kB / 443.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005065/0.1623, allocations: 339.7 kB / 444.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.1643, allocations: 1.641 MB / 445.8 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.1646, allocations: 173.1 kB / 446 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.1648, allocations: 109.7 kB / 446.1 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.1648, allocations: 4 kB / 446.1 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.1649, allocations: 38.55 kB / 446.2 MB, free: 9.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 1.302e-06/0.1649, allocations: 0 / 446.2 MB, free: 9.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001241/0.1661, allocations: 0.7811 MB / 446.9 MB, free: 8.219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.1662, allocations: 81.11 kB / 447 MB, free: 8.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.1665, allocations: 304.6 kB / 447.3 MB, free: 7.809 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.1665, allocations: 37.7 kB / 447.4 MB, free: 7.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.1667, allocations: 251.5 kB / 447.6 MB, free: 7.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.111e-05/0.1668, allocations: 70.94 kB / 447.7 MB, free: 7.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.59e-05/0.1668, allocations: 8 kB / 447.7 MB, free: 7.438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.167, allocations: 342.8 kB / 448 MB, free: 7.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.1671, allocations: 91.94 kB / 448.1 MB, free: 7.004 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.1674, allocations: 208.5 kB / 448.3 MB, free: 6.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.1676, allocations: 124.1 kB / 448.4 MB, free: 6.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1676, allocations: 4 kB / 448.4 MB, free: 6.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008279/0.1684, allocations: 426.4 kB / 448.9 MB, free: 6.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1685, allocations: 4 kB / 448.9 MB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004889/0.169, allocations: 264.5 kB / 449.1 MB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003449/0.1693, allocations: 85.22 kB / 449.2 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.1696, allocations: 67.89 kB / 449.3 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.1712, allocations: 1.597 MB / 450.9 MB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.1713, allocations: 8 kB / 450.9 MB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.1714, allocations: 12 kB / 450.9 MB, free: 4.031 MB / 382.1 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002335/0.1716, allocations: 189.7 kB / 451.1 MB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.784e-05/0.1717, allocations: 31.62 kB / 451.1 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004335/0.1721, allocations: 269.8 kB / 451.4 MB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1721, allocations: 4 kB / 451.4 MB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.1721, allocations: 0 / 451.4 MB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.1721, allocations: 7.984 kB / 451.4 MB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.1732, allocations: 0.7536 MB / 452.1 MB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1733, allocations: 4.062 kB / 452.1 MB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.1735, allocations: 55.84 kB / 452.2 MB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1735, allocations: 4 kB / 452.2 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.1736, allocations: 4 kB / 452.2 MB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1736, allocations: 4 kB / 452.2 MB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1736, allocations: 3.938 kB / 452.2 MB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005325/0.1741, allocations: 461.4 kB / 452.6 MB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/0.1742, allocations: 104.7 kB / 452.8 MB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.1743, allocations: 8.031 kB / 452.8 MB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.1744, allocations: 8 kB / 452.8 MB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.1744, allocations: 11.98 kB / 452.8 MB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.1745, allocations: 8 kB / 452.8 MB, free: 2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002161/0.1747, allocations: 215 kB / 453 MB, free: 1.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1747, allocations: 4 kB / 453 MB, free: 1.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003999/0.1751, allocations: 87.95 kB / 453.1 MB, free: 1.703 MB / 382.1 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007989/0.1759, allocations: 0.9801 MB / 454.1 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006772/0.1766, allocations: 366.9 kB / 454.4 MB, free: 320 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1766, allocations: 0 / 454.4 MB, free: 320 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.1768, allocations: 108.7 kB / 454.5 MB, free: 212 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005081/0.1773, allocations: 70.22 kB / 454.6 MB, free: 140 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2381/0.4154, allocations: 2.392 MB / 457 MB, free: 50.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.4157, allocations: 0.856 MB / 457.8 MB, free: 49.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002339/0.416, allocations: 63.81 kB / 457.9 MB, free: 49.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.4162, allocations: 145.1 kB / 458.1 MB, free: 49.9 MB / 382.1 MB Notification: Performance of SimCode: time 1.392e-06/0.4162, allocations: 1.5 kB / 458.1 MB, free: 49.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/0.445, allocations: 6.726 MB / 464.8 MB, free: 49.34 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.4452, allocations: 211.6 kB / 465 MB, free: 49.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/2.301, allocations: 3.938 kB / 465 MB, free: 49.09 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) Environment - environmentSimulation: