Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.001066/0.001066, allocations: 81.97 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.0009794/0.0009794, allocations: 162.3 kB / 25.61 MB, free: 8.598 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.9469/0.9469, allocations: 177.2 MB / 206.1 MB, free: 4.488 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.1151/0.1151, allocations: 29.42 MB / 292 MB, free: 2.645 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.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3704,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3704,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.859e-05, allocations: 5.594 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.003404/0.003422, allocations: 3.901 MB / 374.8 MB, free: 28.4 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.00445, allocations: 0.8612 MB / 375.6 MB, free: 27.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.004587, allocations: 11.88 kB / 375.7 MB, free: 27.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.004741, allocations: 39.58 kB / 375.7 MB, free: 27.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.005083, allocations: 174.8 kB / 375.9 MB, free: 27.31 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.005234, allocations: 91.8 kB / 376 MB, free: 27.22 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.005487, allocations: 406.4 kB / 376.4 MB, free: 26.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.005627, allocations: 82.62 kB / 376.4 MB, free: 26.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.005919, allocations: 275.3 kB / 376.7 MB, free: 26.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.006088, allocations: 139.6 kB / 376.8 MB, free: 26.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.006115, allocations: 20 kB / 376.9 MB, free: 26.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.125e-05/0.006146, allocations: 20 kB / 376.9 MB, free: 26.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.475e-05/0.006211, allocations: 91.72 kB / 377 MB, free: 26.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.006e-05/0.006281, allocations: 91.75 kB / 377.1 MB, free: 26.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.006459, allocations: 211.1 kB / 377.3 MB, free: 25.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.006461, allocations: 0 / 377.3 MB, free: 25.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006462, allocations: 0 / 377.3 MB, free: 25.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.006466, allocations: 0 / 377.3 MB, free: 25.91 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005135/0.006979, allocations: 0.6095 MB / 377.9 MB, free: 25.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.007012, allocations: 8.031 kB / 377.9 MB, free: 25.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.007064, allocations: 56.64 kB / 377.9 MB, free: 25.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.0073, allocations: 271.4 kB / 378.2 MB, free: 24.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.007315, allocations: 16.88 kB / 378.2 MB, free: 24.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.432e-05/0.007399, allocations: 36.73 kB / 378.3 MB, free: 24.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.007573, allocations: 237.6 kB / 378.5 MB, free: 24.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.007584, allocations: 3.984 kB / 378.5 MB, free: 24.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.007598, allocations: 16 kB / 378.5 MB, free: 24.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.007606, allocations: 4 kB / 378.5 MB, free: 24.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.628e-05/0.007692, allocations: 79.8 kB / 378.6 MB, free: 24.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007345/0.008427, allocations: 1.467 MB / 380.1 MB, free: 22.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.008576, allocations: 129.2 kB / 380.2 MB, free: 22.76 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.981e-05/0.008606, allocations: 47.11 kB / 380.2 MB, free: 22.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.00862, allocations: 0 / 380.2 MB, free: 22.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.008637, allocations: 45.33 kB / 380.3 MB, free: 22.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.031e-06/0.008638, allocations: 4 kB / 380.3 MB, free: 22.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004618/0.0091, allocations: 305.2 kB / 380.6 MB, free: 22.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.009133, allocations: 110.8 kB / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.009243, allocations: 288.1 kB / 381 MB, free: 21.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.009252, allocations: 29.7 kB / 381 MB, free: 21.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.009325, allocations: 250.7 kB / 381.2 MB, free: 21.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.009347, allocations: 43.67 kB / 381.3 MB, free: 21.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.009394, allocations: 51.3 kB / 381.3 MB, free: 21.49 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.864e-05/0.009452, allocations: 0.5081 MB / 381.8 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.33e-05/0.009476, allocations: 19.98 kB / 381.9 MB, free: 20.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-05/0.009534, allocations: 151.4 kB / 382 MB, free: 20.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.009648, allocations: 195.3 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.00965, allocations: 0 / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002153/0.009865, allocations: 193.2 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.009877, allocations: 12.03 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.009883, allocations: 4 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.194e-05/0.009955, allocations: 23.67 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.01012, allocations: 67.88 kB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.01013, allocations: 4 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.584e-05/0.01019, allocations: 4 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.0102, allocations: 8 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.59e-05/0.01027, allocations: 184.4 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.01031, allocations: 35.77 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.01044, allocations: 107.4 kB / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01045, allocations: 4 kB / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.01045, allocations: 0 / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.01045, allocations: 0 / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.01061, allocations: 173 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01061, allocations: 11.92 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.103e-05/0.01069, allocations: 23.98 kB / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01069, allocations: 4 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.0107, allocations: 0 / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.0107, allocations: 4 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.0107, allocations: 4 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.01088, allocations: 425 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.0109, allocations: 15.86 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.01092, allocations: 7.984 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.244e-05/0.01101, allocations: 4 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.01102, allocations: 11.92 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.01103, allocations: 4 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.159e-05/0.01108, allocations: 189.1 kB / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01108, allocations: 0 / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002235/0.0113, allocations: 56.03 kB / 383.7 MB, free: 18.87 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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.268e-05/0.01136, allocations: 103.1 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.01153, allocations: 107.7 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01153, allocations: 0 / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.636e-05/0.01156, allocations: 40.42 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.0119, allocations: 58.33 kB / 384 MB, free: 18.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007976/0.01269, allocations: 0.5679 MB / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.69e-05/0.01274, allocations: 96.25 kB / 384.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.168e-05/0.01281, allocations: 30.27 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.01292, allocations: 118.2 kB / 384.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01292, allocations: 0 / 384.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of Templates: time 0.004228/0.01715, allocations: 2.496 MB / 387.4 MB, free: 15.26 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9713806598447263]