Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.001038/0.001038, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001186/0.001186, allocations: 170 kB / 24.91 MB, free: 8.695 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.074/1.074, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2597/0.2597, allocations: 29.42 MB / 291.2 MB, free: 2.488 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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 316.8 MB, free: 28 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.542e-05, allocations: 3.188 kB / 316.8 MB, free: 24 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.004456/0.004482, allocations: 4.535 MB / 321.4 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.005972, allocations: 1.321 MB / 322.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.006147, allocations: 23.81 kB / 322.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.006501, allocations: 115.1 kB / 322.8 MB, free: 10 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004478/0.006949, allocations: 338.1 kB / 323.2 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.007256, allocations: 171.6 kB / 323.3 MB, free: 9.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004634/0.007719, allocations: 0.689 MB / 324 MB, free: 8.809 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.007879, allocations: 103.3 kB / 324.1 MB, free: 8.707 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004601/0.008339, allocations: 478.8 kB / 324.6 MB, free: 8.238 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003538/0.008693, allocations: 367.1 kB / 324.9 MB, free: 7.879 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.796e-05/0.008741, allocations: 36 kB / 325 MB, free: 7.844 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.248e-05/0.008804, allocations: 40 kB / 325 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.008965, allocations: 247.4 kB / 325.2 MB, free: 7.562 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.009112, allocations: 183.6 kB / 325.4 MB, free: 7.383 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.009456, allocations: 438.4 kB / 325.9 MB, free: 6.953 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.009458, allocations: 4 kB / 325.9 MB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.009459, allocations: 0 / 325.9 MB, free: 6.949 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.009463, allocations: 0 / 325.9 MB, free: 6.949 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0008702/0.01033, allocations: 0.73 MB / 326.6 MB, free: 6.195 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.01037, allocations: 11.98 kB / 326.6 MB, free: 6.184 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.559e-05/0.01045, allocations: 56.89 kB / 326.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.01093, allocations: 416.2 kB / 327.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.01095, allocations: 25.03 kB / 327.1 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.693e-05/0.01101, allocations: 43.92 kB / 327.1 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.01132, allocations: 336.1 kB / 327.5 MB, free: 5.262 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.01133, allocations: 0 / 327.5 MB, free: 5.262 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.01136, allocations: 19.94 kB / 327.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001156/0.01148, allocations: 24.64 kB / 327.5 MB, free: 5.219 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.01163, allocations: 127.2 kB / 327.6 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.01286, allocations: 1.332 MB / 329 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.01321, allocations: 230.5 kB / 329.2 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.01342, allocations: 137.7 kB / 329.3 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.01344, allocations: 12 kB / 329.3 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.01346, allocations: 34.56 kB / 329.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.383e-06/0.01347, allocations: 0 / 329.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001195/0.01466, allocations: 0.6438 MB / 330 MB, free: 2.594 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.0147, allocations: 81.11 kB / 330.1 MB, free: 2.496 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.01489, allocations: 331.2 kB / 330.4 MB, free: 2.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.01491, allocations: 29.7 kB / 330.4 MB, free: 2.125 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.152e-05/0.015, allocations: 217.5 kB / 330.7 MB, free: 1.906 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.647e-05/0.01508, allocations: 142.9 kB / 330.8 MB, free: 1.766 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.13e-05/0.01517, allocations: 86.14 kB / 330.9 MB, free: 1.676 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.01527, allocations: 354.7 kB / 331.2 MB, free: 1.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.929e-05/0.01535, allocations: 59.8 kB / 331.3 MB, free: 1.258 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.01547, allocations: 153.3 kB / 331.4 MB, free: 1.062 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.01571, allocations: 251.4 kB / 331.7 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.01571, allocations: 4 kB / 331.7 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004853/0.0162, allocations: 383.8 kB / 332.1 MB, free: 388 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.01621, allocations: 8 kB / 332.1 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.01622, allocations: 7.984 kB / 332.1 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000382/0.0166, allocations: 147.5 kB / 332.2 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.01675, allocations: 79.84 kB / 332.3 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/0.01888, allocations: 3.272 MB / 335.6 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.01902, allocations: 51.55 kB / 335.6 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.01904, allocations: 12 kB / 335.6 MB, free: 12.61 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 (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.01917, allocations: 144.7 kB / 335.8 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.01922, allocations: 31.97 kB / 335.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005151/0.01974, allocations: 394.5 kB / 336.2 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01974, allocations: 4 kB / 336.2 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.01975, allocations: 4 kB / 336.2 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.01975, allocations: 3.984 kB / 336.2 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.02001, allocations: 229.8 kB / 336.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.02002, allocations: 0 / 336.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.069e-05/0.0201, allocations: 43.91 kB / 336.5 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005195/0.02062, allocations: 249.4 kB / 336.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.992e-05/0.02066, allocations: 27.97 kB / 336.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002409/0.02306, allocations: 4.889 MB / 341.6 MB, free: 6.117 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.02307, allocations: 4.25 kB / 341.6 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.02368, allocations: 0.5755 MB / 342.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.02372, allocations: 43.59 kB / 342.2 MB, free: 5.441 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.02376, allocations: 27.98 kB / 342.3 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.87e-05/0.02386, allocations: 4 kB / 342.3 MB, free: 5.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.02393, allocations: 35.92 kB / 342.3 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.02394, allocations: 15.92 kB / 342.3 MB, free: 5.359 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.02405, allocations: 128.7 kB / 342.5 MB, free: 5.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02405, allocations: 4 kB / 342.5 MB, free: 5.227 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003778/0.02443, allocations: 167.9 kB / 342.6 MB, free: 5.062 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001344/0.02456, allocations: 108.9 kB / 342.7 MB, free: 4.949 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005937/0.02515, allocations: 0.4987 MB / 343.2 MB, free: 4.418 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.02516, allocations: 4 kB / 343.2 MB, free: 4.414 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005452/0.0257, allocations: 0.666 MB / 343.9 MB, free: 3.684 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.02606, allocations: 112.8 kB / 344 MB, free: 3.578 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.0275, allocations: 1.055 MB / 345.1 MB, free: 2.488 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.318e-05/0.0276, allocations: 153.7 kB / 345.2 MB, free: 2.316 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000105/0.0277, allocations: 56.36 kB / 345.3 MB, free: 2.262 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.02785, allocations: 135.3 kB / 345.4 MB, free: 2.129 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/0.02785, allocations: 0 / 345.4 MB, free: 2.129 MB / 314.7 MB Notification: Performance of Templates: time 0.009385/0.03723, allocations: 8.457 MB / 353.9 MB, free: 9.816 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.430745074991137]