Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.0009466/0.0009466, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001185/0.001185, allocations: 171.9 kB / 24.92 MB, free: 8.723 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 1.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2538/0.2538, allocations: 29.42 MB / 291.2 MB, free: 2.434 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.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 316.8 MB, free: 24 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.459e-05/3.664e-05, allocations: 6.969 kB / 316.8 MB, free: 16 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.006828/0.006865, allocations: 4.035 MB / 320.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.009076, allocations: 0.9708 MB / 321.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002574/0.009334, allocations: 15.88 kB / 321.9 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.009608, allocations: 55.55 kB / 321.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007137/0.01032, allocations: 214.6 kB / 322.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.01063, allocations: 99.73 kB / 322.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000666/0.0113, allocations: 0.4943 MB / 322.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.01156, allocations: 98.31 kB / 322.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006346/0.01219, allocations: 331.1 kB / 323.1 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004417/0.01263, allocations: 199.4 kB / 323.3 MB, free: 9.496 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.802e-05/0.0127, allocations: 24 kB / 323.4 MB, free: 9.473 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.01282, allocations: 31.98 kB / 323.4 MB, free: 9.441 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.01298, allocations: 131.6 kB / 323.5 MB, free: 9.312 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001833/0.01316, allocations: 115.7 kB / 323.6 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.01355, allocations: 286.9 kB / 323.9 MB, free: 8.918 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.01355, allocations: 0 / 323.9 MB, free: 8.918 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.01356, allocations: 0 / 323.9 MB, free: 8.918 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.01356, allocations: 4 kB / 323.9 MB, free: 8.914 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006581/0.01422, allocations: 0.551 MB / 324.5 MB, free: 8.336 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.01426, allocations: 15.98 kB / 324.5 MB, free: 8.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.01438, allocations: 44.91 kB / 324.5 MB, free: 8.277 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.01471, allocations: 300.3 kB / 324.8 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.01473, allocations: 20.78 kB / 324.8 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.01477, allocations: 28 kB / 324.9 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.01499, allocations: 237.8 kB / 325.1 MB, free: 7.645 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.015, allocations: 8 kB / 325.1 MB, free: 7.637 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.01502, allocations: 4 kB / 325.1 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.01503, allocations: 8 kB / 325.1 MB, free: 7.625 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.01514, allocations: 87.31 kB / 325.2 MB, free: 7.539 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009089/0.01605, allocations: 1.144 MB / 326.3 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.01616, allocations: 85.06 kB / 326.4 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.203e-05/0.0162, allocations: 39.39 kB / 326.5 MB, free: 6.184 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.01622, allocations: 4 kB / 326.5 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.01624, allocations: 30.56 kB / 326.5 MB, free: 6.141 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.01625, allocations: 4 kB / 326.5 MB, free: 6.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002744/0.01652, allocations: 145.8 kB / 326.6 MB, free: 5.988 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.01656, allocations: 93.03 kB / 326.7 MB, free: 5.879 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.01671, allocations: 274.8 kB / 327 MB, free: 5.594 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.01673, allocations: 25.7 kB / 327 MB, free: 5.562 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.01681, allocations: 196.4 kB / 327.2 MB, free: 5.367 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.01684, allocations: 55.52 kB / 327.3 MB, free: 5.312 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.01689, allocations: 45.92 kB / 327.3 MB, free: 5.262 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.01698, allocations: 342.8 kB / 327.7 MB, free: 4.918 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.053e-05/0.01701, allocations: 20.45 kB / 327.7 MB, free: 4.898 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.289e-05/0.01708, allocations: 108.9 kB / 327.8 MB, free: 4.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.01732, allocations: 165.7 kB / 327.9 MB, free: 4.547 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01732, allocations: 4 kB / 327.9 MB, free: 4.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001414/0.01746, allocations: 153.3 kB / 328.1 MB, free: 4.387 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.01748, allocations: 4 kB / 328.1 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.01748, allocations: 7.984 kB / 328.1 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.01749, allocations: 4.406 kB / 328.1 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.01761, allocations: 55.92 kB / 328.2 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.01762, allocations: 15.86 kB / 328.2 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.518e-05/0.0177, allocations: 27.78 kB / 328.2 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.01771, allocations: 8 kB / 328.2 MB, free: 4.266 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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 8.319e-05/0.01779, allocations: 128.6 kB / 328.3 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.01782, allocations: 27.91 kB / 328.4 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.01796, allocations: 119.6 kB / 328.5 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.01796, allocations: 0 / 328.5 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.01796, allocations: 4 kB / 328.5 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01797, allocations: 7.938 kB / 328.5 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.01813, allocations: 164.5 kB / 328.7 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.01813, allocations: 0 / 328.7 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.38e-05/0.01822, allocations: 35.92 kB / 328.7 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.01822, allocations: 0 / 328.7 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.01823, allocations: 4 kB / 328.7 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01823, allocations: 4 kB / 328.7 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01823, allocations: 0 / 328.7 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.01843, allocations: 245.5 kB / 328.9 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.01846, allocations: 27.75 kB / 329 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.01848, allocations: 8.016 kB / 329 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.803e-05/0.01854, allocations: 8 kB / 329 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.01856, allocations: 11.98 kB / 329 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.01857, allocations: 0 / 329 MB, free: 3.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.967e-05/0.01864, allocations: 96.62 kB / 329.1 MB, free: 3.336 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01864, allocations: 0 / 329.1 MB, free: 3.336 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001992/0.01883, allocations: 79.81 kB / 329.2 MB, free: 3.258 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (zLoadAC.psi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001022/0.01894, allocations: 76.36 kB / 329.2 MB, free: 3.176 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.01908, allocations: 108.8 kB / 329.3 MB, free: 3.066 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.01909, allocations: 4 kB / 329.4 MB, free: 3.062 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.117e-05/0.01914, allocations: 44.78 kB / 329.4 MB, free: 3.016 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.01944, allocations: 81.75 kB / 329.5 MB, free: 2.938 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.02044, allocations: 0.5874 MB / 330.1 MB, free: 2.316 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.125e-05/0.02051, allocations: 116.5 kB / 330.2 MB, free: 2.184 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.895e-05/0.02061, allocations: 38.95 kB / 330.2 MB, free: 2.148 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.02075, allocations: 99.34 kB / 330.3 MB, free: 2.051 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02075, allocations: 0 / 330.3 MB, free: 2.051 MB / 298.7 MB Notification: Performance of Templates: time 0.005681/0.02643, allocations: 3.298 MB / 333.6 MB, free: 14.82 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1548530287109315]