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.001187/0.001187, allocations: 83.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.001316/0.001316, allocations: 165 kB / 24.56 MB, free: 12 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 0.9752/0.9752, allocations: 177.2 MB / 205 MB, free: 5.594 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.2315/0.2315, allocations: 29.42 MB / 290.9 MB, free: 2.496 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 1.232e-06/1.232e-06, allocations: 0 / 369.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.781e-05, allocations: 2.312 kB / 369.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.004185/0.004203, allocations: 4.056 MB / 373.7 MB, free: 6.879 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.006039, allocations: 0.9432 MB / 374.6 MB, free: 5.934 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.006264, allocations: 19.81 kB / 374.7 MB, free: 5.914 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.006469, allocations: 55.48 kB / 374.7 MB, free: 5.859 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005879/0.007057, allocations: 210.7 kB / 374.9 MB, free: 5.652 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.007296, allocations: 103.7 kB / 375 MB, free: 5.551 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005068/0.007802, allocations: 498.1 kB / 375.5 MB, free: 5.062 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.008, allocations: 80 kB / 375.6 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004674/0.008467, allocations: 335.1 kB / 375.9 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.008731, allocations: 195.5 kB / 376.1 MB, free: 4.469 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.933e-05/0.00877, allocations: 31.94 kB / 376.1 MB, free: 4.438 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.712e-05/0.008848, allocations: 32 kB / 376.2 MB, free: 4.406 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.008953, allocations: 127.6 kB / 376.3 MB, free: 4.281 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.009062, allocations: 119.7 kB / 376.4 MB, free: 4.164 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.009389, allocations: 275 kB / 376.7 MB, free: 3.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.009392, allocations: 0 / 376.7 MB, free: 3.895 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.009392, allocations: 0 / 376.7 MB, free: 3.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.009398, allocations: 7.938 kB / 376.7 MB, free: 3.887 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008565/0.01025, allocations: 0.7189 MB / 377.4 MB, free: 3.129 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.0103, allocations: 19.97 kB / 377.4 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.01044, allocations: 60.7 kB / 377.5 MB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.01081, allocations: 321.8 kB / 377.8 MB, free: 2.711 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.01082, allocations: 24.78 kB / 377.8 MB, free: 2.688 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.01086, allocations: 24 kB / 377.8 MB, free: 2.664 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.01117, allocations: 288.5 kB / 378.1 MB, free: 2.344 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.01118, allocations: 0 / 378.1 MB, free: 2.344 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.0112, allocations: 12 kB / 378.1 MB, free: 2.332 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.01121, allocations: 4 kB / 378.1 MB, free: 2.328 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.01138, allocations: 110.8 kB / 378.3 MB, free: 2.215 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.01257, allocations: 1.567 MB / 379.8 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.01274, allocations: 126 kB / 379.9 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.193e-05/0.0128, allocations: 47.17 kB / 380 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.01282, allocations: 0 / 380 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.01285, allocations: 41.39 kB / 380 MB, free: 316 kB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.01285, allocations: 0 / 380 MB, free: 316 kB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001179/0.01403, allocations: 460.6 kB / 380.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.01407, allocations: 89.05 kB / 380.6 MB, free: 15.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.01428, allocations: 338.2 kB / 380.9 MB, free: 15.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.01429, allocations: 25.7 kB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.01441, allocations: 266.8 kB / 381.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.01444, allocations: 63.47 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.0145, allocations: 51.36 kB / 381.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.01464, allocations: 0.5118 MB / 381.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.989e-05/0.01469, allocations: 35.91 kB / 381.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.0148, allocations: 171.2 kB / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.01498, allocations: 230.6 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01498, allocations: 0 / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002309/0.01521, allocations: 213.1 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.01523, allocations: 8.438 kB / 382.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.01523, allocations: 8 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.01525, allocations: 4 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.0154, allocations: 67.83 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.01541, allocations: 7.938 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.021e-05/0.0155, allocations: 12 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.01552, allocations: 11.98 kB / 382.6 MB, free: 13.54 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 (29): * Single equations (assignments): 29 * 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 9.482e-05/0.01561, allocations: 172.5 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.01565, allocations: 35.81 kB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.01586, allocations: 158.3 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.01586, allocations: 8 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.01587, allocations: 3.938 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.01587, allocations: 0 / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.0163, allocations: 0.5008 MB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.0163, allocations: 4 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.01641, allocations: 43.91 kB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01641, allocations: 0 / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.01642, allocations: 7.938 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01643, allocations: 4 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01643, allocations: 0 / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.01671, allocations: 354.2 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.01674, allocations: 39.69 kB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.01677, allocations: 3.984 kB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.931e-05/0.01684, allocations: 8 kB / 383.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.01687, allocations: 15.97 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.01688, allocations: 8 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001235/0.017, allocations: 219 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.017, allocations: 0 / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002194/0.01722, allocations: 56 kB / 384.2 MB, free: 11.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (20): * Single equations (assignments): 19 * 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.941e-05/0.0173, allocations: 115.2 kB / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.01749, allocations: 111.5 kB / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.01749, allocations: 7.938 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.95e-05/0.01756, allocations: 73.92 kB / 384.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.01788, allocations: 71.03 kB / 384.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009967/0.01888, allocations: 0.5986 MB / 385.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.929e-05/0.01895, allocations: 108.5 kB / 385.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.01905, allocations: 42.94 kB / 385.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.01911, allocations: 28.48 kB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01911, allocations: 4 kB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of Templates: time 0.005284/0.0244, allocations: 3.23 MB / 388.6 MB, free: 7.453 MB / 362.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: 2.8928918140009046]