Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.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/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001264/0.001264, allocations: 182.4 kB / 15.98 MB, free: 5.77 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.314/1.314, allocations: 205.1 MB / 221.8 MB, free: 8.484 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.001036/0.001036, allocations: 100.2 kB / 269.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06076/0.06076, allocations: 14.18 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 55.84 kB / 391.6 MB, free: 64.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07101/0.07202, allocations: 50.14 MB / 441.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001915/0.07399, allocations: 0.548 MB / 442.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003272/0.07435, allocations: 119.6 kB / 442.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.241e-05/0.07438, allocations: 0 / 442.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.0744, allocations: 0 / 442.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.07461, allocations: 19.92 kB / 442.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.475e-06/0.07462, allocations: 4 kB / 442.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 2.719e-05/0.07465, allocations: 0 / 442.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.0747, allocations: 0 / 442.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.136e-05/0.07472, allocations: 4 kB / 442.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.676e-05/0.07482, allocations: 7.984 kB / 442.5 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.637e-06/0.07483, allocations: 0 / 442.5 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.166e-06/0.07484, allocations: 0 / 442.5 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.081e-06/0.07485, allocations: 4 kB / 442.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.497e-05/0.07487, allocations: 7.922 kB / 442.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 2.645e-05/0.0749, allocations: 0 / 442.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.07491, allocations: 4 kB / 442.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.07491, allocations: 0 / 442.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.07492, allocations: 0 / 442.5 MB, free: 14.01 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001796/0.0751, allocations: 319.6 kB / 442.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.07514, allocations: 8.031 kB / 442.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.07517, allocations: 0.9375 kB / 442.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.792e-05/0.07523, allocations: 160.4 kB / 443 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.07524, allocations: 8.312 kB / 443 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-06/0.07526, allocations: 384 / 443 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.921e-05/0.07534, allocations: 51.92 kB / 443 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.07536, allocations: 192 / 443 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.07537, allocations: 3.938 kB / 443 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.07538, allocations: 0 / 443 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.993e-05/0.0754, allocations: 7.984 kB / 443 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/0.07565, allocations: 463.6 kB / 443.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.059e-05/0.07571, allocations: 169.1 kB / 443.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.07574, allocations: 80.14 kB / 443.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.07576, allocations: 83.27 kB / 443.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.07579, allocations: 105.8 kB / 443.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.0758, allocations: 8.031 kB / 443.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.41e-05/0.07587, allocations: 31.39 kB / 443.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.0759, allocations: 130.6 kB / 444.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.278e-05/0.07597, allocations: 97.77 kB / 444.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.731e-06/0.07598, allocations: 25.7 kB / 444.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.07602, allocations: 92.34 kB / 444.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.07603, allocations: 0 / 444.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.07606, allocations: 17.75 kB / 444.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.642e-05/0.07611, allocations: 314.8 kB / 444.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.936e-06/0.07612, allocations: 0 / 444.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.139e-05/0.07614, allocations: 17.72 kB / 444.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.705e-05/0.07617, allocations: 17.66 kB / 444.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.07618, allocations: 3.938 kB / 444.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.804e-05/0.07627, allocations: 41.75 kB / 444.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.07629, allocations: 4 kB / 444.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.0763, allocations: 0 / 444.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.07632, allocations: 4 kB / 444.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.468e-05/0.07638, allocations: 3.938 kB / 444.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.07639, allocations: 0 / 444.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.385e-05/0.07641, allocations: 8 kB / 444.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.07642, allocations: 0 / 444.7 MB, free: 11.53 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.283e-05/0.07648, allocations: 197 kB / 444.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.07652, allocations: 113 kB / 445 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/0.07654, allocations: 108 kB / 445.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/0.07657, allocations: 176.3 kB / 445.3 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.649e-05/0.0766, allocations: 184.3 kB / 445.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-05/0.07663, allocations: 180.2 kB / 445.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.07675, allocations: 405.2 kB / 446 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.07677, allocations: 104.9 kB / 446.1 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.181e-05/0.07679, allocations: 109 kB / 446.2 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.065e-05/0.07681, allocations: 184.2 kB / 446.4 MB, free: 9.684 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.07684, allocations: 188.2 kB / 446.6 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.156e-05/0.07687, allocations: 176.3 kB / 446.8 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-05/0.0769, allocations: 188.2 kB / 447 MB, free: 9.121 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.07708, allocations: 0.8378 MB / 447.8 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.07711, allocations: 182.1 kB / 448 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.07715, allocations: 192.2 kB / 448.2 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.692e-05/0.0772, allocations: 101 kB / 448.3 MB, free: 7.715 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.07723, allocations: 192.1 kB / 448.5 MB, free: 7.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.07725, allocations: 101 kB / 448.6 MB, free: 7.414 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.692e-05/0.07727, allocations: 75.28 kB / 448.6 MB, free: 7.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07727, allocations: 0 / 448.6 MB, free: 7.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003116/0.07759, allocations: 4.094 kB / 448.6 MB, free: 7.336 MB / 298.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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.863e-05/0.07765, allocations: 170.5 kB / 448.8 MB, free: 7.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.271e-05/0.07771, allocations: 11.94 kB / 448.8 MB, free: 7.148 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.07772, allocations: 0 / 448.8 MB, free: 7.148 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.07773, allocations: 0 / 448.8 MB, free: 7.148 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.07798, allocations: 0.5263 MB / 449.3 MB, free: 6.621 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001496/0.07814, allocations: 150 kB / 449.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.446e-05/0.07823, allocations: 0.677 MB / 450.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.575e-05/0.07826, allocations: 0 / 450.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.153e-05/0.07827, allocations: 7.438 kB / 450.2 MB, free: 5.734 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.07828, allocations: 0 / 450.2 MB, free: 5.734 MB / 298.7 MB Notification: Performance of Templates: time 0.001402/0.07969, allocations: 173 kB / 450.3 MB, free: 5.566 MB / 298.7 MB make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.makefile (rm -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; mkfifo PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe >> ../files/PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.sim & ./PowerGrids_PowerGrids.Functions.Test.TestTimeConstants -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.pipe 2>&1)