Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.0009902/0.0009902, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001018/0.001018, allocations: 170.8 kB / 24.92 MB, free: 9.145 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.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2567/0.2567, allocations: 29.42 MB / 291.2 MB, free: 2.48 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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 316.8 MB, free: 4 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.276e-05/3.464e-05, allocations: 6.047 kB / 316.8 MB, free: 0 / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004961/0.004996, allocations: 3.984 MB / 320.8 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.006777, allocations: 0.951 MB / 321.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.00707, allocations: 15.88 kB / 321.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.00733, allocations: 63.48 kB / 321.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007013/0.008032, allocations: 238.7 kB / 322.1 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.008326, allocations: 99.73 kB / 322.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005691/0.008895, allocations: 0.5177 MB / 322.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002414/0.009137, allocations: 102.6 kB / 322.8 MB, free: 10 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005751/0.009712, allocations: 343.2 kB / 323.1 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003447/0.01006, allocations: 219.4 kB / 323.4 MB, free: 9.453 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/0.0101, allocations: 20 kB / 323.4 MB, free: 9.434 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.93e-05/0.01015, allocations: 27.94 kB / 323.4 MB, free: 9.406 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.01029, allocations: 159.6 kB / 323.6 MB, free: 9.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.01041, allocations: 115.8 kB / 323.7 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004055/0.01081, allocations: 266.9 kB / 323.9 MB, free: 8.875 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.01082, allocations: 4 kB / 323.9 MB, free: 8.871 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.01082, allocations: 4 kB / 323.9 MB, free: 8.867 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.01083, allocations: 0 / 323.9 MB, free: 8.867 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001017/0.01185, allocations: 0.5312 MB / 324.5 MB, free: 8.309 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/0.01191, allocations: 15.98 kB / 324.5 MB, free: 8.293 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.257e-05/0.01201, allocations: 40.91 kB / 324.5 MB, free: 8.254 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004721/0.01248, allocations: 300.4 kB / 324.8 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.01251, allocations: 20.88 kB / 324.8 MB, free: 7.918 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.459e-05/0.01256, allocations: 24.38 kB / 324.9 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/0.01293, allocations: 243.8 kB / 325.1 MB, free: 7.625 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.01294, allocations: 3.938 kB / 325.1 MB, free: 7.621 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.01297, allocations: 19.98 kB / 325.1 MB, free: 7.602 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.01309, allocations: 16.5 kB / 325.1 MB, free: 7.586 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.01322, allocations: 82.22 kB / 325.2 MB, free: 7.504 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.01449, allocations: 1.03 MB / 326.2 MB, free: 6.422 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.01482, allocations: 154.7 kB / 326.4 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.01492, allocations: 45.75 kB / 326.4 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.01494, allocations: 4 kB / 326.4 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.01497, allocations: 38.5 kB / 326.5 MB, free: 6.148 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 3.336e-06/0.01498, allocations: 0 / 326.5 MB, free: 6.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005018/0.01548, allocations: 177.6 kB / 326.7 MB, free: 5.965 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.01553, allocations: 81.11 kB / 326.7 MB, free: 5.867 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.01573, allocations: 262.9 kB / 327 MB, free: 5.602 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.01575, allocations: 29.7 kB / 327 MB, free: 5.566 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.01585, allocations: 196.4 kB / 327.2 MB, free: 5.367 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.01589, allocations: 55.52 kB / 327.3 MB, free: 5.312 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.044e-05/0.01595, allocations: 49.92 kB / 327.3 MB, free: 5.258 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.01606, allocations: 346.7 kB / 327.7 MB, free: 4.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.81e-05/0.0161, allocations: 19.3 kB / 327.7 MB, free: 4.891 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.873e-05/0.01619, allocations: 113.6 kB / 327.8 MB, free: 4.738 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.01634, allocations: 164.4 kB / 327.9 MB, free: 4.535 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01635, allocations: 4 kB / 328 MB, free: 4.531 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002477/0.01659, allocations: 175.8 kB / 328.1 MB, free: 4.348 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.01661, allocations: 4 kB / 328.1 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.01662, allocations: 4 kB / 328.1 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001651/0.01679, allocations: 44.06 kB / 328.2 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.01689, allocations: 47.86 kB / 328.2 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008565/0.01775, allocations: 1.213 MB / 329.4 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.455e-05/0.01783, allocations: 23.84 kB / 329.5 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.01784, allocations: 12 kB / 329.5 MB, free: 2.902 MB / 298.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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.01796, allocations: 128.7 kB / 329.6 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.018, allocations: 31.84 kB / 329.6 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.01821, allocations: 123.2 kB / 329.7 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.01821, allocations: 4 kB / 329.8 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.01821, allocations: 0 / 329.8 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.01822, allocations: 0 / 329.8 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.01864, allocations: 394.2 kB / 330.1 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01864, allocations: 0 / 330.1 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.913e-05/0.0187, allocations: 27.98 kB / 330.2 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001295/0.01883, allocations: 39.55 kB / 330.2 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.01885, allocations: 11.98 kB / 330.2 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006937/0.01954, allocations: 1.212 MB / 331.4 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01954, allocations: 4.125 kB / 331.4 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.01979, allocations: 304.6 kB / 331.7 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.93e-05/0.01982, allocations: 27.8 kB / 331.8 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.01984, allocations: 7.938 kB / 331.8 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.074e-05/0.0199, allocations: 4 kB / 331.8 MB, free: 436 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.01993, allocations: 15.91 kB / 331.8 MB, free: 420 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.01994, allocations: 4 kB / 331.8 MB, free: 416 kB / 298.7 MB Notification: Performance of sorting global known variables: time 7.335e-05/0.02001, allocations: 96.62 kB / 331.9 MB, free: 316 kB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02001, allocations: 0 / 331.9 MB, free: 316 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002549/0.02027, allocations: 83.78 kB / 332 MB, free: 232 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (15): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001313/0.0204, allocations: 84.44 kB / 332 MB, free: 136 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003305/0.02073, allocations: 211.2 kB / 332.3 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.02074, allocations: 4 kB / 332.3 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.02092, allocations: 172.2 kB / 332.4 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.02122, allocations: 76.83 kB / 332.5 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.02231, allocations: 0.6212 MB / 333.1 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.522e-05/0.02238, allocations: 112.3 kB / 333.2 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.017e-05/0.02247, allocations: 30.95 kB / 333.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.02259, allocations: 99.34 kB / 333.4 MB, free: 14.74 MB / 314.7 MB Notification: Performance of SimCode: time 1.152e-06/0.02259, allocations: 3.938 kB / 333.4 MB, free: 14.74 MB / 314.7 MB Notification: Performance of Templates: time 0.005652/0.02824, allocations: 3.24 MB / 336.6 MB, free: 11.55 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.115076959133148]