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.001519/0.001519, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001642/0.001642, allocations: 165.3 kB / 24.27 MB, free: 144 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.488/1.488, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.3152/0.3152, allocations: 29.41 MB / 290.5 MB, free: 2.438 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.553e-06/1.553e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.589e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.006112/0.006138, allocations: 3.878 MB / 372.8 MB, free: 7.391 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.007841, allocations: 0.8376 MB / 373.6 MB, free: 6.551 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.007997, allocations: 19.81 kB / 373.6 MB, free: 6.531 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.008203, allocations: 43.62 kB / 373.7 MB, free: 6.488 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005259/0.008729, allocations: 182.9 kB / 373.8 MB, free: 6.309 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.008943, allocations: 83.75 kB / 373.9 MB, free: 6.227 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005048/0.009448, allocations: 382.5 kB / 374.3 MB, free: 5.852 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.009613, allocations: 56.72 kB / 374.3 MB, free: 5.801 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004348/0.01005, allocations: 239.2 kB / 374.6 MB, free: 5.566 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003172/0.01036, allocations: 151.6 kB / 374.7 MB, free: 5.418 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.01041, allocations: 16 kB / 374.7 MB, free: 5.402 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.369e-05/0.01045, allocations: 16 kB / 374.8 MB, free: 5.387 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.01057, allocations: 87.72 kB / 374.8 MB, free: 5.301 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.01071, allocations: 79.83 kB / 374.9 MB, free: 5.223 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.0111, allocations: 251.2 kB / 375.2 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01111, allocations: 0 / 375.2 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01111, allocations: 3.938 kB / 375.2 MB, free: 4.973 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.01111, allocations: 0 / 375.2 MB, free: 4.973 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009793/0.01209, allocations: 0.4945 MB / 375.7 MB, free: 4.449 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.01213, allocations: 11.98 kB / 375.7 MB, free: 4.438 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.01223, allocations: 44.75 kB / 375.7 MB, free: 4.395 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007666/0.013, allocations: 277.6 kB / 376 MB, free: 4.098 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.01303, allocations: 16.88 kB / 376 MB, free: 4.082 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.01308, allocations: 16.38 kB / 376 MB, free: 4.066 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/0.01358, allocations: 278.8 kB / 376.3 MB, free: 3.762 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.01359, allocations: 0 / 376.3 MB, free: 3.762 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.01362, allocations: 15.94 kB / 376.3 MB, free: 3.746 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.01363, allocations: 4 kB / 376.3 MB, free: 3.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.01393, allocations: 167.6 kB / 376.5 MB, free: 3.578 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.01544, allocations: 1.048 MB / 377.5 MB, free: 2.457 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.01561, allocations: 77.05 kB / 377.6 MB, free: 2.363 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.552e-05/0.01568, allocations: 33.81 kB / 377.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.01569, allocations: 0 / 377.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.01574, allocations: 38.56 kB / 377.7 MB, free: 2.277 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.01574, allocations: 0 / 377.7 MB, free: 2.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008085/0.01655, allocations: 344.2 kB / 378 MB, free: 1.906 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/0.01662, allocations: 85.11 kB / 378.1 MB, free: 1.805 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.01689, allocations: 229.8 kB / 378.3 MB, free: 1.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.01693, allocations: 29.7 kB / 378.4 MB, free: 1.535 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.01709, allocations: 187.9 kB / 378.5 MB, free: 1.348 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.01713, allocations: 31.73 kB / 378.6 MB, free: 1.316 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-05/0.0172, allocations: 49.66 kB / 378.6 MB, free: 1.262 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.0174, allocations: 334.9 kB / 378.9 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/0.01745, allocations: 27.98 kB / 379 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.01761, allocations: 124 kB / 379.1 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.01785, allocations: 168.7 kB / 379.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.01785, allocations: 4 kB / 379.3 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000324/0.01817, allocations: 189.5 kB / 379.4 MB, free: 336 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.01819, allocations: 11.94 kB / 379.5 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.0182, allocations: 0 / 379.5 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.01822, allocations: 8 kB / 379.5 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.01838, allocations: 39.97 kB / 379.5 MB, free: 276 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.01839, allocations: 8.375 kB / 379.5 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.0185, allocations: 11.94 kB / 379.5 MB, free: 256 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.01851, allocations: 8 kB / 379.5 MB, free: 248 kB / 346.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 0.0001649/0.01868, allocations: 157.9 kB / 379.7 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.01873, allocations: 27.86 kB / 379.7 MB, free: 52 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002054/0.01894, allocations: 91.45 kB / 379.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.01894, allocations: 4 kB / 379.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.01895, allocations: 0 / 379.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.01896, allocations: 7.875 kB / 379.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.01944, allocations: 347.2 kB / 380.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01944, allocations: 0 / 380.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.01954, allocations: 15.98 kB / 380.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.01955, allocations: 7.938 kB / 380.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.01956, allocations: 0 / 380.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.01956, allocations: 8.047 kB / 380.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.01957, allocations: 7.984 kB / 380.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.01989, allocations: 229 kB / 380.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.01993, allocations: 19.89 kB / 380.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.01996, allocations: 0 / 380.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.494e-05/0.02005, allocations: 7.922 kB / 380.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.02008, allocations: 8 kB / 380.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.02009, allocations: 4 kB / 380.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001794/0.02027, allocations: 161.2 kB / 380.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02027, allocations: 0 / 380.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003257/0.0206, allocations: 40.06 kB / 380.6 MB, free: 15.05 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 (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 0.000149/0.02075, allocations: 107.2 kB / 380.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.02093, allocations: 75.94 kB / 380.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.02094, allocations: 4 kB / 380.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.574e-05/0.02099, allocations: 24.81 kB / 380.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.0215, allocations: 66.59 kB / 380.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009071/0.0224, allocations: 462.6 kB / 381.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.02258, allocations: 146.2 kB / 381.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.02268, allocations: 26.28 kB / 381.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.231e-05/0.02274, allocations: 24.44 kB / 381.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02274, allocations: 0 / 381.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of Templates: time 0.005917/0.02865, allocations: 1.782 MB / 383.3 MB, free: 12.34 MB / 362.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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.540793741936795]