Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.0009731/0.0009731, allocations: 80.31 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.001032/0.001032, allocations: 170.4 kB / 25.61 MB, free: 8.891 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.9874/0.9874, allocations: 177.1 MB / 206 MB, free: 4.496 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.1278/0.1278, allocations: 29.42 MB / 292 MB, free: 2.652 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.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.586e-05, allocations: 4.828 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.003191/0.003217, allocations: 3.754 MB / 374.6 MB, free: 28.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009538/0.004171, allocations: 0.8805 MB / 375.5 MB, free: 27.67 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.004307, allocations: 19.81 kB / 375.5 MB, free: 27.65 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.004444, allocations: 35.64 kB / 375.6 MB, free: 27.62 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000362/0.004806, allocations: 178.9 kB / 375.7 MB, free: 27.44 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.004955, allocations: 79.77 kB / 375.8 MB, free: 27.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.00519, allocations: 390.5 kB / 376.2 MB, free: 26.98 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.005311, allocations: 60.72 kB / 376.3 MB, free: 26.92 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003008/0.005612, allocations: 267.2 kB / 376.5 MB, free: 26.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.005752, allocations: 131.6 kB / 376.6 MB, free: 26.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.005776, allocations: 16 kB / 376.7 MB, free: 26.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.164e-05/0.005797, allocations: 16 kB / 376.7 MB, free: 26.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.005854, allocations: 83.73 kB / 376.8 MB, free: 26.42 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.693e-05/0.005911, allocations: 79.83 kB / 376.8 MB, free: 26.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.006067, allocations: 183.3 kB / 377 MB, free: 26.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.00607, allocations: 0 / 377 MB, free: 26.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006071, allocations: 0 / 377 MB, free: 26.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.006075, allocations: 0 / 377 MB, free: 26.16 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004062/0.006481, allocations: 0.5826 MB / 377.6 MB, free: 25.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.006509, allocations: 16.02 kB / 377.6 MB, free: 25.53 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.006553, allocations: 44.75 kB / 377.7 MB, free: 25.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.00676, allocations: 263.9 kB / 377.9 MB, free: 25.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.006774, allocations: 12.88 kB / 377.9 MB, free: 25.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.0068, allocations: 24.38 kB / 378 MB, free: 25.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.006954, allocations: 217.4 kB / 378.2 MB, free: 24.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.006962, allocations: 0 / 378.2 MB, free: 24.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.006974, allocations: 4 kB / 378.2 MB, free: 24.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.00698, allocations: 15.92 kB / 378.2 MB, free: 24.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.874e-05/0.007049, allocations: 71.45 kB / 378.3 MB, free: 24.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005812/0.00763, allocations: 1.386 MB / 379.6 MB, free: 23.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.935e-05/0.00771, allocations: 82.02 kB / 379.7 MB, free: 23.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.028e-05/0.00773, allocations: 27.47 kB / 379.7 MB, free: 23.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.00774, allocations: 4 kB / 379.8 MB, free: 23.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.007756, allocations: 41.39 kB / 379.8 MB, free: 23.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.007757, allocations: 0 / 379.8 MB, free: 23.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003481/0.008105, allocations: 257.3 kB / 380 MB, free: 22.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.008129, allocations: 81.11 kB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.626e-05/0.008225, allocations: 280.1 kB / 380.4 MB, free: 22.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.731e-06/0.008231, allocations: 33.7 kB / 380.4 MB, free: 22.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.008287, allocations: 242.6 kB / 380.7 MB, free: 22.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.0083, allocations: 27.86 kB / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.008335, allocations: 55.3 kB / 380.7 MB, free: 22.1 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.284e-05/0.008378, allocations: 0.5039 MB / 381.3 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.008394, allocations: 15.98 kB / 381.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.595e-05/0.00844, allocations: 154 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.636e-05/0.008527, allocations: 187.1 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.008528, allocations: 0 / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001358/0.008664, allocations: 169.2 kB / 381.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.008676, allocations: 4 kB / 381.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.008682, allocations: 4 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.008693, allocations: 4 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.726e-05/0.00878, allocations: 43.92 kB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.008785, allocations: 11.94 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.411e-05/0.008839, allocations: 11.88 kB / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.008849, allocations: 8.531 kB / 381.9 MB, free: 20.86 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (22): * Single equations (assignments): 22 * 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 6.355e-05/0.008913, allocations: 172.5 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.008939, allocations: 23.83 kB / 382 MB, free: 20.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.873e-05/0.009028, allocations: 87.42 kB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.00903, allocations: 0 / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.009033, allocations: 0 / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.009036, allocations: 3.938 kB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.009229, allocations: 361.6 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.009231, allocations: 0 / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.398e-05/0.009285, allocations: 12 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.009289, allocations: 8.031 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.009295, allocations: 3.984 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.009298, allocations: 448 / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.0093, allocations: 7.938 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.009428, allocations: 275 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.55e-05/0.009444, allocations: 15.86 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.00946, allocations: 8 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.349e-05/0.009504, allocations: 0 / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.352e-05/0.009517, allocations: 11.92 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.009522, allocations: 4 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.861e-05/0.009571, allocations: 189.1 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.009571, allocations: 4.031 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001997/0.009771, allocations: 36 kB / 383 MB, free: 19.58 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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 7.883e-05/0.00985, allocations: 95.25 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.009955, allocations: 79.44 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.009957, allocations: 0.875 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/0.009983, allocations: 23.62 kB / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.0103, allocations: 63 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007816/0.01108, allocations: 481.7 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.023e-05/0.01112, allocations: 88.3 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.29e-05/0.01118, allocations: 30.28 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/0.01126, allocations: 118.1 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01126, allocations: 4 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of Templates: time 0.003875/0.01513, allocations: 1.953 MB / 386 MB, free: 16.65 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0662750932388008]