Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 181.6 kB / 15.78 MB, free: 6.035 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.546/1.546, allocations: 205.4 MB / 221.9 MB, free: 13.81 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.0007388/0.0007388, allocations: 98.22 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1663/0.1663, allocations: 38.06 MB / 356.6 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 12 kB / 422.7 MB, free: 26.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08628/0.08665, allocations: 56.34 MB / 479.1 MB, free: 2 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.00212/0.08881, allocations: 1.817 MB / 480.9 MB, free: 164 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.09023, allocations: 1.038 MB / 481.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.968e-05/0.09029, allocations: 0 / 481.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.09041, allocations: 11.92 kB / 481.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.09052, allocations: 55.78 kB / 482 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000599/0.09113, allocations: 203.5 kB / 482.2 MB, free: 14.85 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.09133, allocations: 211.4 kB / 482.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.09138, allocations: 0 / 482.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.568e-05/0.09147, allocations: 51.77 kB / 482.4 MB, free: 14.59 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.09159, allocations: 71.8 kB / 482.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.09161, allocations: 4 kB / 482.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000457/0.09208, allocations: 311.4 kB / 482.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.09213, allocations: 39.88 kB / 482.9 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.09217, allocations: 41.64 kB / 482.9 MB, free: 14.13 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003812/0.09256, allocations: 375.5 kB / 483.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.09257, allocations: 4 kB / 483.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.09258, allocations: 7.938 kB / 483.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.09259, allocations: 3.938 kB / 483.3 MB, free: 13.75 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004305/0.09303, allocations: 452.6 kB / 483.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.09307, allocations: 12.03 kB / 483.7 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.09312, allocations: 15.77 kB / 483.8 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.09328, allocations: 182.9 kB / 483.9 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.0933, allocations: 4 kB / 483.9 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.09332, allocations: 0 / 483.9 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.09348, allocations: 89.66 kB / 484 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.0935, allocations: 8 kB / 484 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.09351, allocations: 0 / 484 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.09352, allocations: 0 / 484 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.952e-05/0.09361, allocations: 63.86 kB / 484.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.09377, allocations: 181.5 kB / 484.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.09391, allocations: 130.5 kB / 484.4 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.09403, allocations: 116.9 kB / 484.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-06/0.09405, allocations: 4 kB / 484.5 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.09407, allocations: 34.56 kB / 484.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.122e-06/0.09408, allocations: 0 / 484.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004352/0.09452, allocations: 299.3 kB / 484.8 MB, free: 12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.0946, allocations: 93.09 kB / 484.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.09475, allocations: 130 kB / 485.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.09478, allocations: 29.64 kB / 485.1 MB, free: 11.72 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.09485, allocations: 92.47 kB / 485.2 MB, free: 11.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.903e-05/0.09494, allocations: 71.03 kB / 485.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-06/0.09495, allocations: 0 / 485.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.0951, allocations: 326.8 kB / 485.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.09522, allocations: 59.97 kB / 485.6 MB, free: 11.17 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.873e-05/0.09533, allocations: 55.97 kB / 485.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.09551, allocations: 109.7 kB / 485.8 MB, free: 11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.09552, allocations: 0 / 485.8 MB, free: 11 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003558/0.09588, allocations: 219.1 kB / 486 MB, free: 10.78 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.865e-05/0.09597, allocations: 53.67 kB / 486.1 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.09598, allocations: 0 / 486.1 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.09601, allocations: 12.06 kB / 486.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.09602, allocations: 0 / 486.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.09603, allocations: 0 / 486.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.143e-05/0.09612, allocations: 11.84 kB / 486.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.09616, allocations: 8 kB / 486.1 MB, free: 10.69 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001844/0.09636, allocations: 187.4 kB / 486.3 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.0964, allocations: 11.91 kB / 486.3 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.558e-05/0.09642, allocations: 9.172 kB / 486.3 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.09643, allocations: 3.938 kB / 486.3 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.09645, allocations: 8 kB / 486.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.09646, allocations: 0 / 486.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.09665, allocations: 201.4 kB / 486.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.09666, allocations: 0 / 486.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-07/0.09667, allocations: 0 / 486.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.09668, allocations: 0 / 486.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.09671, allocations: 8 kB / 486.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.09672, allocations: 0 / 486.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.09673, allocations: 0 / 486.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000656/0.09739, allocations: 395 kB / 486.9 MB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.09746, allocations: 89 kB / 487 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.0975, allocations: 4 kB / 487 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.173e-05/0.09757, allocations: 4 kB / 487 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.09761, allocations: 3.984 kB / 487 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.09764, allocations: 11.95 kB / 487 MB, free: 9.668 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.661e-05/0.09774, allocations: 109.8 kB / 487.1 MB, free: 9.562 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.09775, allocations: 0 / 487.1 MB, free: 9.562 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006051/0.09836, allocations: 127.9 kB / 487.2 MB, free: 9.438 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.0004872/0.09886, allocations: 187.1 kB / 487.4 MB, free: 9.242 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000788/0.09966, allocations: 0.5656 MB / 488 MB, free: 8.664 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.09968, allocations: 0 / 488 MB, free: 8.664 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005459/0.1002, allocations: 471.3 kB / 488.4 MB, free: 8.191 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.1006, allocations: 15.95 kB / 488.5 MB, free: 8.176 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008189/0.1014, allocations: 473.1 kB / 488.9 MB, free: 7.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.1017, allocations: 0.72 MB / 489.6 MB, free: 6.934 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.264e-05/0.1018, allocations: 7.438 kB / 489.6 MB, free: 6.926 MB / 330.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1018, allocations: 0 / 489.6 MB, free: 6.926 MB / 330.7 MB Notification: Performance of Templates: time 0.007018/0.1088, allocations: 3.1 MB / 492.7 MB, free: 3.824 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe 2>&1)