Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001357/0.001357, allocations: 170.4 kB / 15.77 MB, free: 6.32 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.519/1.519, 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.000761/0.000761, allocations: 98.23 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.1728/0.1728, allocations: 38.07 MB / 356.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005844/0.0005845, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08573/0.08634, allocations: 56.33 MB / 479.1 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.002055/0.08844, allocations: 1.821 MB / 480.9 MB, free: 204 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.09096, allocations: 1.943 MB / 482.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.09101, allocations: 0 / 482.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.09112, allocations: 11.92 kB / 482.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.223e-05/0.09122, allocations: 43.8 kB / 482.9 MB, free: 14.19 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.09263, allocations: 0.6319 MB / 483.5 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.09278, allocations: 135.6 kB / 483.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.812e-05/0.09282, allocations: 7.984 kB / 483.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.771e-05/0.09291, allocations: 39.8 kB / 483.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.039e-05/0.09301, allocations: 71.73 kB / 483.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.09303, allocations: 0 / 483.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.0944, allocations: 1.041 MB / 484.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.753e-05/0.09445, allocations: 27.91 kB / 484.8 MB, free: 12.24 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.842e-05/0.09451, allocations: 41.64 kB / 484.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008835/0.0954, allocations: 0.9085 MB / 485.8 MB, free: 11.28 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.09541, allocations: 0 / 485.8 MB, free: 11.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.09542, allocations: 8 kB / 485.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.09543, allocations: 0 / 485.8 MB, free: 11.27 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005411/0.09598, allocations: 0.5238 MB / 486.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.09602, allocations: 12.03 kB / 486.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.09606, allocations: 7.906 kB / 486.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.09624, allocations: 194.9 kB / 486.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.09625, allocations: 0 / 486.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.09627, allocations: 0 / 486.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.09642, allocations: 77.59 kB / 486.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.09644, allocations: 4 kB / 486.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.09645, allocations: 0 / 486.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.09646, allocations: 3.953 kB / 486.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.01e-05/0.09653, allocations: 39.98 kB / 486.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.09668, allocations: 185.5 kB / 486.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.055e-05/0.09678, allocations: 74.67 kB / 486.9 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.467e-05/0.09685, allocations: 56.98 kB / 487 MB, free: 9.945 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.09687, allocations: 4 kB / 487 MB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.0969, allocations: 38.5 kB / 487 MB, free: 9.895 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 9.92e-07/0.09691, allocations: 0 / 487 MB, free: 9.895 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003141/0.09723, allocations: 219.2 kB / 487.2 MB, free: 9.668 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.09728, allocations: 89.06 kB / 487.3 MB, free: 9.562 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.0974, allocations: 154.1 kB / 487.4 MB, free: 9.402 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.09742, allocations: 25.7 kB / 487.5 MB, free: 9.371 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.09747, allocations: 100.4 kB / 487.6 MB, free: 9.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.09753, allocations: 47.2 kB / 487.6 MB, free: 9.223 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.09755, allocations: 8.031 kB / 487.6 MB, free: 9.215 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.09765, allocations: 322.8 kB / 487.9 MB, free: 8.891 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.648e-05/0.09772, allocations: 39.97 kB / 488 MB, free: 8.852 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.977e-05/0.09777, allocations: 43.3 kB / 488 MB, free: 8.812 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.086e-05/0.09787, allocations: 85.66 kB / 488.1 MB, free: 8.723 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.09788, allocations: 0 / 488.1 MB, free: 8.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001946/0.09809, allocations: 171.2 kB / 488.3 MB, free: 8.543 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.408e-05/0.09816, allocations: 49.69 kB / 488.3 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.09817, allocations: 0 / 488.3 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.09818, allocations: 4.062 kB / 488.3 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.09819, allocations: 3.938 kB / 488.3 MB, free: 8.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.0982, allocations: 0 / 488.3 MB, free: 8.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.484e-05/0.09826, allocations: 15.8 kB / 488.3 MB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.09829, allocations: 8 kB / 488.3 MB, free: 8.457 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.0001233/0.09842, allocations: 171.4 kB / 488.5 MB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.09844, allocations: 11.91 kB / 488.5 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.751e-05/0.09847, allocations: 20.81 kB / 488.5 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.09847, allocations: 0 / 488.5 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.09848, allocations: 4 kB / 488.6 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.09849, allocations: 0 / 488.6 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.09862, allocations: 189.5 kB / 488.7 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.09862, allocations: 0 / 488.7 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-06/0.09863, allocations: 0 / 488.7 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.09863, allocations: 3.938 kB / 488.7 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.09865, allocations: 4 kB / 488.7 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.09866, allocations: 0 / 488.7 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.09867, allocations: 4 kB / 488.7 MB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.09899, allocations: 298.5 kB / 489 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.09905, allocations: 92.86 kB / 489.1 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.09908, allocations: 4 kB / 489.1 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.836e-05/0.09912, allocations: 4 kB / 489.1 MB, free: 7.559 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.09915, allocations: 0 / 489.1 MB, free: 7.559 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.09917, allocations: 4 kB / 489.1 MB, free: 7.555 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.06e-05/0.09924, allocations: 119.1 kB / 489.3 MB, free: 7.438 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.034e-06/0.09925, allocations: 4 kB / 489.3 MB, free: 7.434 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006789/0.09993, allocations: 319.9 kB / 489.6 MB, free: 7.121 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.000757/0.1007, allocations: 362.5 kB / 489.9 MB, free: 6.758 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003581/0.1011, allocations: 335.2 kB / 490.3 MB, free: 6.418 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1011, allocations: 0 / 490.3 MB, free: 6.418 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.1013, allocations: 259.3 kB / 490.5 MB, free: 6.152 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.1015, allocations: 24.06 kB / 490.5 MB, free: 6.129 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/0.1021, allocations: 418.6 kB / 490.9 MB, free: 5.691 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.1023, allocations: 0.716 MB / 491.7 MB, free: 4.949 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.049e-05/0.1023, allocations: 7.438 kB / 491.7 MB, free: 4.941 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1024, allocations: 0 / 491.7 MB, free: 4.941 MB / 330.7 MB Notification: Performance of Templates: time 0.008824/0.1112, allocations: 6.151 MB / 497.8 MB, free: 14.78 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe 2>&1)