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.001104/0.001104, allocations: 79.77 kB / 21.18 MB, free: 3.379 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.001106/0.001106, allocations: 165 kB / 24.56 MB, free: 8 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 1.013/1.013, allocations: 177.1 MB / 205 MB, free: 5.613 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.2663/0.2663, allocations: 29.42 MB / 290.9 MB, free: 2.508 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.563e-06/1.563e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.434e-05/3.59e-05, allocations: 5.406 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004508/0.004543, allocations: 4.005 MB / 373.6 MB, free: 6.977 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.006027, allocations: 0.935 MB / 374.6 MB, free: 6.039 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.006226, allocations: 19.81 kB / 374.6 MB, free: 6.02 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.006435, allocations: 59.48 kB / 374.6 MB, free: 5.961 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005815/0.007016, allocations: 242.6 kB / 374.9 MB, free: 5.723 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.007269, allocations: 99.75 kB / 375 MB, free: 5.625 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000507/0.007776, allocations: 0.506 MB / 375.5 MB, free: 5.117 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.007976, allocations: 96.27 kB / 375.6 MB, free: 5.023 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005125/0.008488, allocations: 339.1 kB / 375.9 MB, free: 4.691 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.008823, allocations: 235.3 kB / 376.1 MB, free: 4.461 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.142e-05/0.008864, allocations: 20 kB / 376.2 MB, free: 4.441 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.105e-05/0.008915, allocations: 24 kB / 376.2 MB, free: 4.418 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.009059, allocations: 163.5 kB / 376.3 MB, free: 4.258 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.009182, allocations: 115.8 kB / 376.5 MB, free: 4.145 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.00955, allocations: 267 kB / 376.7 MB, free: 3.883 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.009556, allocations: 0 / 376.7 MB, free: 3.883 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.009558, allocations: 0 / 376.7 MB, free: 3.883 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.009567, allocations: 0 / 376.7 MB, free: 3.883 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008972/0.01046, allocations: 0.6836 MB / 377.4 MB, free: 3.164 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.01051, allocations: 11.98 kB / 377.4 MB, free: 3.152 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.024e-05/0.0106, allocations: 64.7 kB / 377.5 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.01095, allocations: 305.9 kB / 377.8 MB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.01097, allocations: 20.88 kB / 377.8 MB, free: 2.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.01101, allocations: 24.38 kB / 377.8 MB, free: 2.727 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.01133, allocations: 275.7 kB / 378.1 MB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.01134, allocations: 0 / 378.1 MB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.01136, allocations: 15.94 kB / 378.1 MB, free: 2.398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-05/0.01145, allocations: 24.47 kB / 378.1 MB, free: 2.375 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.01163, allocations: 110.8 kB / 378.2 MB, free: 2.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.01285, allocations: 1.495 MB / 379.7 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.01312, allocations: 141.8 kB / 379.9 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.01325, allocations: 55.66 kB / 379.9 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.01327, allocations: 4 kB / 379.9 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.01329, allocations: 41.39 kB / 380 MB, free: 428 kB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.883e-06/0.0133, allocations: 0 / 380 MB, free: 428 kB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009262/0.01422, allocations: 492.2 kB / 380.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.01426, allocations: 84.86 kB / 380.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.01449, allocations: 330.3 kB / 380.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.01451, allocations: 29.7 kB / 380.9 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.01464, allocations: 270.7 kB / 381.2 MB, free: 15.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.01468, allocations: 55.52 kB / 381.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.01474, allocations: 63.31 kB / 381.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.01488, allocations: 0.5119 MB / 381.8 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.834e-05/0.01492, allocations: 23.98 kB / 381.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.01504, allocations: 175.2 kB / 382 MB, free: 14.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.01523, allocations: 222.3 kB / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01523, allocations: 0 / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002865/0.01552, allocations: 240.9 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.01554, allocations: 7.938 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.01554, allocations: 4 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/0.01571, allocations: 31.66 kB / 382.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.01581, allocations: 47.92 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.01682, allocations: 1.791 MB / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.229e-05/0.0169, allocations: 12 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.01692, allocations: 11.98 kB / 384.3 MB, free: 11.68 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 (28): * Single equations (assignments): 27 * 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.0001072/0.01702, allocations: 180.4 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/0.01706, allocations: 31.81 kB / 384.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.01729, allocations: 159.2 kB / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.01729, allocations: 4.125 kB / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.0173, allocations: 7.938 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.0173, allocations: 7.922 kB / 384.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004777/0.01778, allocations: 0.5086 MB / 385.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.01778, allocations: 4 kB / 385.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.01784, allocations: 23.92 kB / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/0.01797, allocations: 51.52 kB / 385.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.01798, allocations: 8 kB / 385.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008103/0.01879, allocations: 1.783 MB / 387.1 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01879, allocations: 0 / 387.1 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.01909, allocations: 361.8 kB / 387.4 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.01911, allocations: 27.8 kB / 387.5 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.01914, allocations: 12.16 kB / 387.5 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.338e-05/0.0192, allocations: 3.984 kB / 387.5 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.01923, allocations: 19.92 kB / 387.5 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.01924, allocations: 11.98 kB / 387.5 MB, free: 8.266 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.01936, allocations: 215 kB / 387.7 MB, free: 8.059 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.01936, allocations: 4 kB / 387.7 MB, free: 8.055 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.0196, allocations: 64 kB / 387.8 MB, free: 7.992 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.000105/0.01971, allocations: 103.2 kB / 387.9 MB, free: 7.883 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003873/0.02009, allocations: 308.3 kB / 388.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.0201, allocations: 0 / 388.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.0203, allocations: 242.4 kB / 388.4 MB, free: 7.305 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.02063, allocations: 67.3 kB / 388.5 MB, free: 7.246 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.02179, allocations: 0.65 MB / 389.1 MB, free: 6.559 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.265e-05/0.02186, allocations: 116.3 kB / 389.3 MB, free: 6.426 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.762e-05/0.02195, allocations: 34.95 kB / 389.3 MB, free: 6.387 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.02199, allocations: 24.5 kB / 389.3 MB, free: 6.363 MB / 362.7 MB Notification: Performance of SimCode: time 1.403e-06/0.02199, allocations: 0 / 389.3 MB, free: 6.363 MB / 362.7 MB Notification: Performance of Templates: time 0.005498/0.02749, allocations: 3.178 MB / 392.5 MB, free: 3.238 MB / 362.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.0677189328707755]