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.001513/0.001513, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001132/0.001132, allocations: 164.8 kB / 24.99 MB, free: 8.793 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.035/1.035, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2587/0.2587, allocations: 29.41 MB / 291.2 MB, free: 2.492 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.713e-06/1.713e-06, allocations: 0 / 369.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.027e-05, allocations: 2.312 kB / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.004057/0.004078, allocations: 4.33 MB / 374 MB, free: 6.945 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.005153, allocations: 0.951 MB / 374.9 MB, free: 5.992 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.005299, allocations: 19.81 kB / 374.9 MB, free: 5.973 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.005469, allocations: 47.55 kB / 375 MB, free: 5.926 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003874/0.005856, allocations: 218.6 kB / 375.2 MB, free: 5.711 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.005998, allocations: 103.7 kB / 375.3 MB, free: 5.609 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003808/0.006379, allocations: 494.1 kB / 375.8 MB, free: 5.125 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.006568, allocations: 91.98 kB / 375.9 MB, free: 5.039 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/0.006884, allocations: 291.1 kB / 376.1 MB, free: 4.754 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.007155, allocations: 231.4 kB / 376.4 MB, free: 4.527 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.845e-05/0.007193, allocations: 24 kB / 376.4 MB, free: 4.504 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.319e-05/0.007256, allocations: 32 kB / 376.4 MB, free: 4.473 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.007362, allocations: 131.6 kB / 376.6 MB, free: 4.344 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.00747, allocations: 127.7 kB / 376.7 MB, free: 4.219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.007758, allocations: 286.9 kB / 377 MB, free: 3.938 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.007762, allocations: 4 kB / 377 MB, free: 3.934 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.007763, allocations: 0 / 377 MB, free: 3.934 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.007767, allocations: 0 / 377 MB, free: 3.934 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.0008396/0.008607, allocations: 0.7306 MB / 377.7 MB, free: 3.164 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.00864, allocations: 11.98 kB / 377.7 MB, free: 3.152 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.008766, allocations: 68.69 kB / 377.8 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.009154, allocations: 354.4 kB / 378.1 MB, free: 2.715 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.009173, allocations: 24.72 kB / 378.1 MB, free: 2.691 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.009211, allocations: 28 kB / 378.2 MB, free: 2.664 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.009513, allocations: 280.5 kB / 378.4 MB, free: 2.352 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.009524, allocations: 0 / 378.4 MB, free: 2.352 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.009546, allocations: 12 kB / 378.5 MB, free: 2.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.009556, allocations: 8 kB / 378.5 MB, free: 2.332 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.009729, allocations: 114.8 kB / 378.6 MB, free: 2.215 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.01084, allocations: 1.556 MB / 380.1 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.01099, allocations: 118.1 kB / 380.2 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.553e-05/0.01106, allocations: 51.36 kB / 380.3 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.01108, allocations: 11.98 kB / 380.3 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.0111, allocations: 33.39 kB / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.0111, allocations: 0 / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007546/0.01186, allocations: 464.4 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.0119, allocations: 84.98 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.01212, allocations: 338.2 kB / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.01213, allocations: 29.7 kB / 381.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.01225, allocations: 266.7 kB / 381.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.0123, allocations: 63.61 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.518e-05/0.01238, allocations: 55.36 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.01252, allocations: 0.5157 MB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.326e-05/0.01258, allocations: 23.98 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.01269, allocations: 167.3 kB / 382.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.01289, allocations: 223 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01289, allocations: 4 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002389/0.01313, allocations: 228.3 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.01314, allocations: 4 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01315, allocations: 4 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.01317, allocations: 8 kB / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.01334, allocations: 59.83 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.01335, allocations: 8 kB / 382.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.272e-05/0.01343, allocations: 12.42 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.01344, allocations: 19.94 kB / 382.9 MB, free: 13.55 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.509e-05/0.01354, allocations: 172.5 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.01358, allocations: 35.81 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.01379, allocations: 159.5 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.0138, allocations: 7.984 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.0138, allocations: 3.938 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.01381, allocations: 0 / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.01424, allocations: 0.5113 MB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01424, allocations: 0 / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.01435, allocations: 39.95 kB / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.01435, allocations: 0 / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.01437, allocations: 11.94 kB / 383.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.01437, allocations: 3.984 kB / 383.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01437, allocations: 0 / 383.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.01468, allocations: 347 kB / 384.1 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.01471, allocations: 31.73 kB / 384.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.01473, allocations: 8 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.01481, allocations: 7.984 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.01484, allocations: 15.92 kB / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.01485, allocations: 8.031 kB / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001443/0.01499, allocations: 227 kB / 384.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01499, allocations: 0 / 384.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002427/0.01524, allocations: 60 kB / 384.5 MB, free: 11.83 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 8.862e-05/0.01532, allocations: 91.25 kB / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.01552, allocations: 125.7 kB / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01552, allocations: 192 / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.054e-05/0.01559, allocations: 67.5 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.01593, allocations: 78.55 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.01703, allocations: 0.5956 MB / 385.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.698e-05/0.01712, allocations: 112.5 kB / 385.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.01723, allocations: 42.95 kB / 385.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.01728, allocations: 28.5 kB / 385.6 MB, free: 10.63 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01728, allocations: 4 kB / 385.6 MB, free: 10.63 MB / 362.7 MB Notification: Performance of Templates: time 0.005078/0.02236, allocations: 3.087 MB / 388.7 MB, free: 7.609 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: 3.101096175145358]