Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009128/0.0009128, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008951/0.0008951, allocations: 171.4 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9211/0.9211, allocations: 177.1 MB / 206 MB, free: 4.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1443/0.1443, allocations: 29.41 MB / 292 MB, free: 2.625 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 3.984 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.328e-05/1.467e-05, allocations: 5.266 kB / 370.9 MB, free: 32.29 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.001756/0.001771, allocations: 2.262 MB / 373.1 MB, free: 30.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.003405, allocations: 1.938 MB / 375.1 MB, free: 28.07 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.003448, allocations: 4 kB / 375.1 MB, free: 28.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.003599, allocations: 19.91 kB / 375.1 MB, free: 28.05 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.522e-05/0.003665, allocations: 27.72 kB / 375.1 MB, free: 28.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.004925, allocations: 0.9779 MB / 376.1 MB, free: 27.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.887e-05/0.005004, allocations: 83.61 kB / 376.2 MB, free: 26.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.238e-05/0.005036, allocations: 8.125 kB / 376.2 MB, free: 26.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.402e-05/0.00513, allocations: 51.88 kB / 376.3 MB, free: 26.9 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.457e-05/0.005185, allocations: 39.89 kB / 376.3 MB, free: 26.86 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.005193, allocations: 0 / 376.3 MB, free: 26.86 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.00658, allocations: 1.89 MB / 378.2 MB, free: 24.97 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.006607, allocations: 7.938 kB / 378.2 MB, free: 24.96 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.006628, allocations: 19.92 kB / 378.2 MB, free: 24.94 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008968/0.007524, allocations: 1.488 MB / 379.7 MB, free: 23.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.007526, allocations: 0 / 379.7 MB, free: 23.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.007527, allocations: 0 / 379.7 MB, free: 23.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.007531, allocations: 0 / 379.7 MB, free: 23.45 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003358/0.007867, allocations: 0.5316 MB / 380.2 MB, free: 22.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.764e-05/0.007895, allocations: 8.031 kB / 380.2 MB, free: 22.87 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.00793, allocations: 16.89 kB / 380.3 MB, free: 22.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.516e-05/0.008015, allocations: 128.4 kB / 380.4 MB, free: 22.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-06/0.008023, allocations: 3.938 kB / 380.4 MB, free: 22.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-06/0.008028, allocations: 0 / 380.4 MB, free: 22.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.307e-05/0.008091, allocations: 71.38 kB / 380.5 MB, free: 22.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.008097, allocations: 4 kB / 380.5 MB, free: 22.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.008103, allocations: 0 / 380.5 MB, free: 22.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.008108, allocations: 4 kB / 380.5 MB, free: 22.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.646e-05/0.008124, allocations: 37.7 kB / 380.5 MB, free: 22.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.578e-05/0.00818, allocations: 105.2 kB / 380.6 MB, free: 22.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.709e-05/0.008217, allocations: 64.7 kB / 380.7 MB, free: 22.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.7e-05/0.008234, allocations: 49.41 kB / 380.7 MB, free: 22.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-06/0.008237, allocations: 3.938 kB / 380.7 MB, free: 22.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.196e-05/0.008249, allocations: 33.39 kB / 380.7 MB, free: 22.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 5.31e-07/0.00825, allocations: 0 / 380.7 MB, free: 22.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001291/0.008379, allocations: 171.1 kB / 380.9 MB, free: 22.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.008399, allocations: 93.03 kB / 381 MB, free: 21.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.683e-05/0.008446, allocations: 185.9 kB / 381.2 MB, free: 21.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.008452, allocations: 29.7 kB / 381.2 MB, free: 21.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.795e-05/0.00847, allocations: 134.9 kB / 381.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.008495, allocations: 23.75 kB / 381.4 MB, free: 21.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.008519, allocations: 35.34 kB / 381.4 MB, free: 21.51 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.215e-05/0.008561, allocations: 0.4923 MB / 381.9 MB, free: 21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.648e-05/0.008577, allocations: 33.7 kB / 381.9 MB, free: 20.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.573e-05/0.008593, allocations: 49.61 kB / 382 MB, free: 20.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.744e-05/0.008631, allocations: 91.08 kB / 382.1 MB, free: 20.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.008632, allocations: 4.062 kB / 382.1 MB, free: 20.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.663e-05/0.008699, allocations: 132.9 kB / 382.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.008724, allocations: 45.67 kB / 382.2 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.008728, allocations: 0 / 382.2 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.822e-06/0.008735, allocations: 0 / 382.2 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.008735, allocations: 0 / 382.2 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-06/0.008737, allocations: 0 / 382.2 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.167e-05/0.008769, allocations: 4 kB / 382.3 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.00878, allocations: 0 / 382.3 MB, free: 20.6 MB / 314.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.345e-05/0.008824, allocations: 202.2 kB / 382.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.008834, allocations: 15.92 kB / 382.5 MB, free: 20.37 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.205e-05/0.008846, allocations: 12.42 kB / 382.5 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.008847, allocations: 0 / 382.5 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.008848, allocations: 0 / 382.5 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.00885, allocations: 0 / 382.5 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.887e-05/0.008889, allocations: 105.2 kB / 382.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.00889, allocations: 3.984 kB / 382.6 MB, free: 20.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.00889, allocations: 4 kB / 382.6 MB, free: 20.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.41e-07/0.008891, allocations: 0 / 382.6 MB, free: 20.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.008897, allocations: 7.938 kB / 382.6 MB, free: 20.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.008897, allocations: 0 / 382.6 MB, free: 20.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.008897, allocations: 4 kB / 382.6 MB, free: 20.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.679e-05/0.008984, allocations: 195.7 kB / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.00899, allocations: 11.94 kB / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.009, allocations: 7.938 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.16e-05/0.009012, allocations: 0 / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-06/0.009022, allocations: 4 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.009025, allocations: 0 / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.088e-05/0.009046, allocations: 140.8 kB / 383 MB, free: 19.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009046, allocations: 0 / 383 MB, free: 19.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003777/0.009424, allocations: 319.4 kB / 383.3 MB, free: 19.51 MB / 314.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005064/0.00993, allocations: 412.9 kB / 383.7 MB, free: 19.1 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.01003, allocations: 174.4 kB / 383.8 MB, free: 18.9 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.01003, allocations: 0 / 383.8 MB, free: 18.9 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.123e-05/0.01006, allocations: 120.7 kB / 384 MB, free: 18.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.01019, allocations: 14.19 kB / 384 MB, free: 18.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.01051, allocations: 248.8 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.758e-05/0.01053, allocations: 63.34 kB / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.826e-06/0.01054, allocations: 0 / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.551e-05/0.01061, allocations: 94.19 kB / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01061, allocations: 0 / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of Templates: time 0.007104/0.01771, allocations: 7.43 MB / 391.8 MB, free: 10.87 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0 -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.105149849783629]