Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.00101/0.00101, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.00155/0.00155, allocations: 161 kB / 24.55 MB, free: 16 kB / 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.011/1.011, allocations: 177.1 MB / 205 MB, free: 5.637 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.2441/0.2441, allocations: 29.41 MB / 290.9 MB, free: 2.52 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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.468e-05, allocations: 2.312 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.005542/0.005567, allocations: 3.924 MB / 373.6 MB, free: 7.051 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.007089, allocations: 0.9077 MB / 374.5 MB, free: 6.141 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.007273, allocations: 19.81 kB / 374.5 MB, free: 6.121 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.007454, allocations: 43.64 kB / 374.5 MB, free: 6.078 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004053/0.00786, allocations: 186.8 kB / 374.7 MB, free: 5.895 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.008017, allocations: 95.73 kB / 374.8 MB, free: 5.801 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.008336, allocations: 410.3 kB / 375.2 MB, free: 5.398 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.008501, allocations: 74.69 kB / 375.3 MB, free: 5.332 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.008778, allocations: 247.3 kB / 375.5 MB, free: 5.09 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.008995, allocations: 171.5 kB / 375.7 MB, free: 4.922 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.009025, allocations: 16 kB / 375.7 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.293e-05/0.009058, allocations: 20 kB / 375.7 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.55e-05/0.009144, allocations: 95.72 kB / 375.8 MB, free: 4.793 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.628e-05/0.00923, allocations: 91.77 kB / 375.9 MB, free: 4.703 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.009456, allocations: 219.1 kB / 376.1 MB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.009458, allocations: 0 / 376.1 MB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.009459, allocations: 0 / 376.1 MB, free: 4.488 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.009463, allocations: 4 kB / 376.1 MB, free: 4.484 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006775/0.01014, allocations: 0.6176 MB / 376.7 MB, free: 3.828 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.01018, allocations: 15.98 kB / 376.8 MB, free: 3.812 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.903e-05/0.01025, allocations: 52.7 kB / 376.8 MB, free: 3.762 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.01057, allocations: 294.5 kB / 377.1 MB, free: 3.449 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.01059, allocations: 16.88 kB / 377.1 MB, free: 3.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.01062, allocations: 20.31 kB / 377.1 MB, free: 3.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.01087, allocations: 246.4 kB / 377.4 MB, free: 3.129 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.01088, allocations: 7.938 kB / 377.4 MB, free: 3.121 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.0109, allocations: 11.98 kB / 377.4 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.01091, allocations: 4 kB / 377.4 MB, free: 3.105 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.01104, allocations: 89 kB / 377.5 MB, free: 3.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.01225, allocations: 1.408 MB / 378.9 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.01247, allocations: 114.1 kB / 379 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.899e-05/0.01252, allocations: 35.42 kB / 379 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.01254, allocations: 7.938 kB / 379 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.01257, allocations: 41.33 kB / 379.1 MB, free: 1.293 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.01257, allocations: 0 / 379.1 MB, free: 1.293 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005902/0.01316, allocations: 377.1 kB / 379.5 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.01319, allocations: 81.09 kB / 379.5 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.01336, allocations: 304.3 kB / 379.8 MB, free: 484 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.01337, allocations: 25.7 kB / 379.9 MB, free: 452 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.932e-05/0.01347, allocations: 250.8 kB / 380.1 MB, free: 192 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.0135, allocations: 39.64 kB / 380.1 MB, free: 152 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.01354, allocations: 47.36 kB / 380.2 MB, free: 96 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.01367, allocations: 0.504 MB / 380.7 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.814e-05/0.0137, allocations: 19.98 kB / 380.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-05/0.01379, allocations: 158.1 kB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.01394, allocations: 207 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.01394, allocations: 0 / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001901/0.01413, allocations: 189.2 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.01414, allocations: 4 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.01415, allocations: 4 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.01416, allocations: 8.375 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.937e-05/0.01426, allocations: 47.97 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.01427, allocations: 7.938 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.01433, allocations: 11.95 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.01434, allocations: 8 kB / 381.3 MB, free: 14.8 MB / 362.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 (24): * Single equations (assignments): 24 * 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.079e-05/0.01442, allocations: 176.5 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.01445, allocations: 23.86 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.0146, allocations: 115.4 kB / 381.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.0146, allocations: 4 kB / 381.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.0146, allocations: 3.984 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.01461, allocations: 0 / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.01493, allocations: 448.4 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01493, allocations: 0 / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.367e-05/0.01501, allocations: 31.88 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01501, allocations: 0 / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.01502, allocations: 7.984 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01503, allocations: 0 / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01503, allocations: 0 / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.01523, allocations: 295.1 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.01526, allocations: 31.73 kB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.01527, allocations: 4 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.048e-05/0.01532, allocations: 12 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/0.01534, allocations: 7.984 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.01535, allocations: 4 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.417e-05/0.01544, allocations: 201.1 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01545, allocations: 0 / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002003/0.01565, allocations: 44 kB / 382.7 MB, free: 13.33 MB / 362.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 (13): * Single equations (assignments): 12 * 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 6.903e-05/0.01571, allocations: 99.23 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.01586, allocations: 95.89 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.01586, allocations: 4 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.654e-05/0.01591, allocations: 39.61 kB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.01621, allocations: 48.47 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009206/0.01713, allocations: 0.5259 MB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.651e-05/0.01719, allocations: 92.3 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.216e-05/0.01726, allocations: 34.27 kB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.0173, allocations: 24.5 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.0173, allocations: 0 / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of Templates: time 0.003996/0.0213, allocations: 2.078 MB / 385.8 MB, free: 10.28 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2225200631655753]