Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00134/0.001339, allocations: 174.3 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.548/1.548, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0007699/0.0007699, allocations: 94.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.1589/0.1589, allocations: 38.07 MB / 356.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003415, allocations: 8 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09176/0.09212, allocations: 56.33 MB / 479.1 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002111/0.09428, allocations: 1.716 MB / 480.8 MB, free: 316 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006587/0.09495, allocations: 0.5429 MB / 481.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.41e-05/0.095, allocations: 0 / 481.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.09512, allocations: 7.922 kB / 481.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.834e-05/0.09519, allocations: 19.91 kB / 481.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.09543, allocations: 55.86 kB / 481.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.892e-05/0.09554, allocations: 87.7 kB / 481.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.09559, allocations: 4 kB / 481.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.986e-05/0.09567, allocations: 19.92 kB / 481.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.312e-05/0.09573, allocations: 39.84 kB / 481.6 MB, free: 15.53 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.09575, allocations: 4 kB / 481.6 MB, free: 15.53 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.09587, allocations: 47.86 kB / 481.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.548e-05/0.09592, allocations: 39.91 kB / 481.6 MB, free: 15.44 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.09596, allocations: 45.58 kB / 481.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.09609, allocations: 84.12 kB / 481.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.0961, allocations: 0 / 481.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.09611, allocations: 0 / 481.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.09612, allocations: 0 / 481.8 MB, free: 15.31 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0003787/0.0965, allocations: 488.3 kB / 482.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.09654, allocations: 12.03 kB / 482.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.09659, allocations: 19.77 kB / 482.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.09675, allocations: 191.3 kB / 482.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.09677, allocations: 4 kB / 482.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.09678, allocations: 0 / 482.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.09694, allocations: 122.7 kB / 482.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-06/0.09696, allocations: 0 / 482.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.09697, allocations: 0 / 482.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.09698, allocations: 7.984 kB / 482.6 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.475e-05/0.09707, allocations: 88.3 kB / 482.7 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.09723, allocations: 206 kB / 482.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.09738, allocations: 158.8 kB / 483 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.0975, allocations: 137.2 kB / 483.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.288e-06/0.09751, allocations: 0 / 483.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.09754, allocations: 34.56 kB / 483.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 1.012e-06/0.09755, allocations: 0 / 483.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.0005259/0.09808, allocations: 475.8 kB / 483.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.09815, allocations: 109.1 kB / 483.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.09828, allocations: 147 kB / 483.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.0983, allocations: 25.7 kB / 483.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.09836, allocations: 104.7 kB / 484 MB, free: 12.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.57e-05/0.09846, allocations: 133.9 kB / 484.2 MB, free: 12.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.09847, allocations: 0 / 484.2 MB, free: 12.67 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.09859, allocations: 338.8 kB / 484.5 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.171e-05/0.09867, allocations: 87.97 kB / 484.6 MB, free: 12.24 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.469e-05/0.09876, allocations: 95.97 kB / 484.7 MB, free: 12.15 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.09892, allocations: 182.9 kB / 484.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.09893, allocations: 0 / 484.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000293/0.09923, allocations: 319 kB / 485.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.154e-05/0.09931, allocations: 89.56 kB / 485.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.09932, allocations: 4 kB / 485.3 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.235e-06/0.09933, allocations: 3.938 kB / 485.3 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.09934, allocations: 0 / 485.3 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.09935, allocations: 0 / 485.3 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.0994, allocations: 19.75 kB / 485.3 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.09943, allocations: 12.06 kB / 485.3 MB, free: 11.51 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.0001797/0.09961, allocations: 235.3 kB / 485.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.09965, allocations: 19.81 kB / 485.6 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.323e-05/0.09967, allocations: 13.97 kB / 485.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.09967, allocations: 0 / 485.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.09968, allocations: 0 / 485.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-06/0.09969, allocations: 0 / 485.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.09984, allocations: 237.3 kB / 485.8 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.09985, allocations: 0 / 485.8 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.09986, allocations: 0 / 485.8 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.09986, allocations: 4 kB / 485.8 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.09988, allocations: 8 kB / 485.8 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.09989, allocations: 0 / 485.8 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.0999, allocations: 0 / 485.8 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008218/0.1007, allocations: 0.8965 MB / 486.7 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.1008, allocations: 108.7 kB / 486.8 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.1008, allocations: 4 kB / 486.8 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.326e-05/0.1009, allocations: 4 kB / 486.8 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.1009, allocations: 12.03 kB / 486.8 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.1009, allocations: 8 kB / 486.8 MB, free: 9.867 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.564e-05/0.101, allocations: 112.6 kB / 487 MB, free: 9.758 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.101, allocations: 0 / 487 MB, free: 9.758 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002241/0.1012, allocations: 56 kB / 487 MB, free: 9.703 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.0001739/0.1014, allocations: 115.2 kB / 487.1 MB, free: 9.582 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.1027, allocations: 1.581 MB / 488.7 MB, free: 7.988 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.1027, allocations: 4.062 kB / 488.7 MB, free: 7.984 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009994/0.1037, allocations: 1.366 MB / 490.1 MB, free: 6.605 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.104, allocations: 35.88 kB / 490.1 MB, free: 6.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007667/0.1048, allocations: 0.7153 MB / 490.8 MB, free: 5.824 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.105, allocations: 0.7481 MB / 491.6 MB, free: 5.051 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.014e-05/0.1051, allocations: 7.438 kB / 491.6 MB, free: 5.043 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1051, allocations: 4 kB / 491.6 MB, free: 5.039 MB / 330.7 MB Notification: Performance of Templates: time 0.003494/0.1086, allocations: 2.316 MB / 493.9 MB, free: 2.727 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1)