Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009639/0.0009641, allocations: 175 kB / 15.77 MB, free: 6.324 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007244/0.0007245, allocations: 98.28 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1786/0.1786, allocations: 38.06 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003748, allocations: 12 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1214, allocations: 56.33 MB / 479.1 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.00543/0.1269, allocations: 4.516 MB / 483.6 MB, free: 13.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003009/0.13, allocations: 1.661 MB / 485.2 MB, free: 11.83 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003392/0.1304, allocations: 23.81 kB / 485.3 MB, free: 11.81 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.1306, allocations: 79.38 kB / 485.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007793/0.1314, allocations: 282.6 kB / 485.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007869/0.1322, allocations: 247.5 kB / 485.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000793/0.133, allocations: 0.7209 MB / 486.6 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007968/0.1339, allocations: 484.2 kB / 487.1 MB, free: 9.992 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003444/0.1342, allocations: 235 kB / 487.3 MB, free: 9.762 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005864/0.1348, allocations: 374.9 kB / 487.7 MB, free: 9.395 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.777e-05/0.1349, allocations: 20 kB / 487.7 MB, free: 9.375 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002578/0.1351, allocations: 95.88 kB / 487.8 MB, free: 9.281 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002184/0.1354, allocations: 231.4 kB / 488 MB, free: 9.055 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.1355, allocations: 113.5 kB / 488.1 MB, free: 8.938 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004723/0.136, allocations: 490.8 kB / 488.6 MB, free: 8.457 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.136, allocations: 0 / 488.6 MB, free: 8.457 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.136, allocations: 0 / 488.6 MB, free: 8.457 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.136, allocations: 0 / 488.6 MB, free: 8.457 MB / 330.7 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.001739/0.1378, allocations: 0.8046 MB / 489.4 MB, free: 7.602 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1378, allocations: 12.03 kB / 489.4 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005307/0.1383, allocations: 83.3 kB / 489.5 MB, free: 7.508 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009306/0.1393, allocations: 478.7 kB / 489.9 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.1393, allocations: 33 kB / 490 MB, free: 6.965 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.1395, allocations: 40 kB / 490 MB, free: 6.926 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009656/0.1404, allocations: 0.6918 MB / 490.7 MB, free: 6.168 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.1405, allocations: 7.938 kB / 490.7 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.97e-05/0.1405, allocations: 19.98 kB / 490.7 MB, free: 6.141 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001241/0.1407, allocations: 36.97 kB / 490.8 MB, free: 6.102 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007826/0.1415, allocations: 0.5228 MB / 491.3 MB, free: 5.582 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003654/0.1451, allocations: 3.106 MB / 494.4 MB, free: 2.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.1457, allocations: 329.2 kB / 494.7 MB, free: 1.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.146, allocations: 169.7 kB / 494.9 MB, free: 1.809 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.146, allocations: 4 kB / 494.9 MB, free: 1.805 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.146, allocations: 46.52 kB / 494.9 MB, free: 1.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 2.845e-06/0.1461, allocations: 0 / 494.9 MB, free: 1.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001922/0.148, allocations: 1.216 MB / 496.2 MB, free: 492 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.148, allocations: 77.11 kB / 496.2 MB, free: 396 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/0.1484, allocations: 389.5 kB / 496.6 MB, free: 0 / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/0.1485, allocations: 29.7 kB / 496.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.1487, allocations: 307.3 kB / 496.9 MB, free: 15.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.122e-05/0.1488, allocations: 114.3 kB / 497 MB, free: 15.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.1489, allocations: 8 kB / 497.1 MB, free: 15.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.149, allocations: 354.8 kB / 497.4 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.1493, allocations: 193 kB / 497.6 MB, free: 14.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.1497, allocations: 378.4 kB / 498 MB, free: 14.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.1501, allocations: 255.7 kB / 498.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1501, allocations: 4 kB / 498.2 MB, free: 14.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00187/0.152, allocations: 0.8259 MB / 499 MB, free: 13.44 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.152, allocations: 8 kB / 499 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.152, allocations: 8.625 kB / 499.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.1533, allocations: 269.4 kB / 499.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/0.1539, allocations: 135.8 kB / 499.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004712/0.1587, allocations: 3.75 MB / 0.4914 GB, free: 9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/0.1591, allocations: 27.98 kB / 0.4914 GB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.731e-05/0.1591, allocations: 28.05 kB / 0.4915 GB, free: 8.945 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003643/0.1595, allocations: 229.5 kB / 0.4917 GB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-05/0.1596, allocations: 35.53 kB / 0.4917 GB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000768/0.1603, allocations: 492.8 kB / 0.4922 GB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1604, allocations: 8 kB / 0.4922 GB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.1604, allocations: 0 / 0.4922 GB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1604, allocations: 3.984 kB / 0.4922 GB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.1618, allocations: 1.023 MB / 0.4932 GB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.1618, allocations: 0 / 0.4932 GB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004425/0.1623, allocations: 87.89 kB / 0.4933 GB, free: 7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.1623, allocations: 4.047 kB / 0.4933 GB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.1623, allocations: 12.19 kB / 0.4933 GB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.1623, allocations: 8 kB / 0.4933 GB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1624, allocations: 3.938 kB / 0.4933 GB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009516/0.1633, allocations: 0.7392 MB / 0.494 GB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.849e-05/0.1634, allocations: 116.7 kB / 0.4941 GB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.1635, allocations: 11.98 kB / 0.4942 GB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.1637, allocations: 15.98 kB / 0.4942 GB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.1638, allocations: 23.97 kB / 0.4942 GB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.1638, allocations: 8 kB / 0.4942 GB, free: 6.016 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002886/0.1641, allocations: 267.1 kB / 0.4945 GB, free: 5.758 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.583e-06/0.1641, allocations: 0 / 0.4945 GB, free: 5.758 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000509/0.1646, allocations: 127.9 kB / 0.4946 GB, free: 5.633 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * 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.0001965/0.1648, allocations: 111.2 kB / 0.4947 GB, free: 5.516 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.1663, allocations: 0.7833 MB / 0.4954 GB, free: 4.707 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1663, allocations: 7.938 kB / 0.4955 GB, free: 4.699 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.1666, allocations: 192.7 kB / 0.4956 GB, free: 4.512 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006267/0.1673, allocations: 90.16 kB / 0.4957 GB, free: 4.422 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.171, allocations: 1.783 MB / 0.4975 GB, free: 2.598 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.1715, allocations: 0.8979 MB / 0.4983 GB, free: 1.676 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.1716, allocations: 39.42 kB / 0.4984 GB, free: 1.637 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1716, allocations: 0 / 0.4984 GB, free: 1.637 MB / 346.7 MB Notification: Performance of Templates: time 0.01035/0.182, allocations: 7.834 MB / 0.506 GB, free: 9.793 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)