Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001289/0.001289, allocations: 174 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.708/1.708, 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.000789/0.0007889, 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.1744/0.1744, allocations: 38.07 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003527, allocations: 15.98 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08971/0.09008, allocations: 56.33 MB / 479.1 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002043/0.09215, allocations: 1.712 MB / 480.8 MB, free: 316 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006506/0.09282, allocations: 0.5428 MB / 481.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.441e-05/0.09287, allocations: 0 / 481.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.09299, allocations: 11.92 kB / 481.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.0931, allocations: 23.91 kB / 481.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.0933, allocations: 51.86 kB / 481.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.64e-05/0.09341, allocations: 87.7 kB / 481.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.09346, allocations: 4 kB / 481.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.308e-05/0.09353, allocations: 23.92 kB / 481.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.4e-05/0.09358, allocations: 27.84 kB / 481.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.0936, allocations: 4 kB / 481.6 MB, free: 15.53 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.09371, allocations: 47.88 kB / 481.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.09376, allocations: 19.98 kB / 481.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.09379, allocations: 33.62 kB / 481.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 9.987e-05/0.09389, allocations: 64.14 kB / 481.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.0939, allocations: 0 / 481.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09391, allocations: 0 / 481.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.09392, allocations: 0 / 481.7 MB, free: 15.36 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003268/0.09425, allocations: 392.8 kB / 482.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.09429, allocations: 8.031 kB / 482.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.09433, allocations: 11.86 kB / 482.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.09448, allocations: 178.9 kB / 482.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.0945, allocations: 8 kB / 482.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.09451, allocations: 0 / 482.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.09462, allocations: 65.62 kB / 482.4 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.09464, allocations: 0 / 482.4 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/0.09465, allocations: 3.984 kB / 482.4 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.09466, allocations: 0 / 482.4 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.888e-05/0.0947, allocations: 24 kB / 482.4 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.09485, allocations: 169.6 kB / 482.6 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.615e-05/0.09492, allocations: 58.56 kB / 482.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.035e-05/0.09498, allocations: 40.88 kB / 482.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.09499, allocations: 4 kB / 482.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.09502, allocations: 34.5 kB / 482.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.09502, allocations: 0 / 482.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002452/0.09527, allocations: 183.4 kB / 482.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.09533, allocations: 85.11 kB / 483 MB, free: 13.92 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.168e-05/0.09542, allocations: 126.2 kB / 483.1 MB, free: 13.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.09544, allocations: 25.7 kB / 483.1 MB, free: 13.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.09548, allocations: 84.14 kB / 483.2 MB, free: 13.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.09553, allocations: 47.3 kB / 483.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.09554, allocations: 0 / 483.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.09566, allocations: 330.7 kB / 483.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.538e-05/0.0957, allocations: 27.98 kB / 483.6 MB, free: 13.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.179e-05/0.09574, allocations: 32.36 kB / 483.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.616e-05/0.09581, allocations: 77.73 kB / 483.7 MB, free: 13.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.09582, allocations: 4.031 kB / 483.7 MB, free: 13.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001508/0.09597, allocations: 147.2 kB / 483.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/0.09603, allocations: 49.67 kB / 483.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.09603, allocations: 0 / 483.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.09605, allocations: 0 / 483.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.09605, allocations: 0 / 483.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.09606, allocations: 4 kB / 483.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.405e-05/0.09609, allocations: 0 / 483.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.09611, allocations: 4 kB / 483.9 MB, free: 12.93 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.0001138/0.09623, allocations: 171.4 kB / 484.1 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.09626, allocations: 15.91 kB / 484.1 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.06e-05/0.09627, allocations: 8.375 kB / 484.1 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.09628, allocations: 0 / 484.1 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.09629, allocations: 0 / 484.1 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.09629, allocations: 3.984 kB / 484.1 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.0964, allocations: 177.5 kB / 484.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.09641, allocations: 0 / 484.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.09642, allocations: 0 / 484.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.09643, allocations: 3.984 kB / 484.3 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.09644, allocations: 7.938 kB / 484.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.09645, allocations: 4 kB / 484.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.09645, allocations: 0 / 484.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.09674, allocations: 278.5 kB / 484.5 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.09678, allocations: 85.02 kB / 484.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.0968, allocations: 0 / 484.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.892e-05/0.09682, allocations: 4 kB / 484.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.09685, allocations: 3.984 kB / 484.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.09686, allocations: 4 kB / 484.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.459e-05/0.09691, allocations: 95.3 kB / 484.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09692, allocations: 0 / 484.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000202/0.09713, allocations: 32 kB / 484.8 MB, free: 11.95 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.0001356/0.09727, allocations: 119.2 kB / 484.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002938/0.09757, allocations: 291.2 kB / 485.2 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.09758, allocations: 0 / 485.2 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.09776, allocations: 223.3 kB / 485.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.09796, allocations: 12.08 kB / 485.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.09838, allocations: 326.5 kB / 485.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.09862, allocations: 0.7004 MB / 486.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.267e-06/0.09864, allocations: 11.44 kB / 486.4 MB, free: 10.19 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.09864, allocations: 0 / 486.4 MB, free: 10.19 MB / 330.7 MB Notification: Performance of Templates: time 0.002423/0.1011, allocations: 1.245 MB / 487.7 MB, free: 8.949 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1)