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.001091/0.001091, 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.001016/0.001016, allocations: 169.4 kB / 24.91 MB, free: 8.77 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.991/0.991, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.224/0.224, allocations: 29.4 MB / 291.2 MB, free: 2.43 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.382e-06/1.382e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.337e-05, allocations: 3.188 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.005053/0.005076, allocations: 4.028 MB / 320.9 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.006808, allocations: 0.9627 MB / 321.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.006981, allocations: 15.88 kB / 321.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000191/0.007172, allocations: 51.55 kB / 321.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005436/0.007715, allocations: 238.7 kB / 322.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.007968, allocations: 107.7 kB / 322.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005136/0.008481, allocations: 0.5138 MB / 322.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.008676, allocations: 110.6 kB / 322.9 MB, free: 9.934 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004984/0.009175, allocations: 331.2 kB / 323.2 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003182/0.009493, allocations: 215.4 kB / 323.4 MB, free: 9.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.009533, allocations: 28 kB / 323.5 MB, free: 9.371 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.273e-05/0.009576, allocations: 20 kB / 323.5 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.009725, allocations: 159.6 kB / 323.6 MB, free: 9.195 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.009849, allocations: 123.7 kB / 323.7 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.01016, allocations: 267 kB / 324 MB, free: 8.812 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.01016, allocations: 0 / 324 MB, free: 8.812 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01017, allocations: 0 / 324 MB, free: 8.812 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.207e-06/0.01017, allocations: 0 / 324 MB, free: 8.812 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.0007409/0.01091, allocations: 0.543 MB / 324.6 MB, free: 8.242 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.01095, allocations: 11.98 kB / 324.6 MB, free: 8.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.398e-05/0.01103, allocations: 44.91 kB / 324.6 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.01142, allocations: 288.5 kB / 324.9 MB, free: 7.883 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.01144, allocations: 24.88 kB / 324.9 MB, free: 7.859 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.186e-05/0.01148, allocations: 24.38 kB / 324.9 MB, free: 7.836 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.0118, allocations: 247.8 kB / 325.2 MB, free: 7.562 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.01181, allocations: 3.938 kB / 325.2 MB, free: 7.559 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.01183, allocations: 12 kB / 325.2 MB, free: 7.547 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.593e-05/0.01191, allocations: 16.48 kB / 325.2 MB, free: 7.531 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.01206, allocations: 86.22 kB / 325.3 MB, free: 7.445 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.01311, allocations: 1.03 MB / 326.3 MB, free: 6.363 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.01334, allocations: 156 kB / 326.5 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.823e-05/0.01343, allocations: 41.77 kB / 326.5 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.01345, allocations: 7.984 kB / 326.5 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.01347, allocations: 38.5 kB / 326.6 MB, free: 6.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.254e-06/0.01348, allocations: 0 / 326.6 MB, free: 6.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004774/0.01395, allocations: 178.7 kB / 326.7 MB, free: 5.906 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.01399, allocations: 85.05 kB / 326.8 MB, free: 5.805 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.01419, allocations: 266.9 kB / 327.1 MB, free: 5.535 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.0142, allocations: 29.7 kB / 327.1 MB, free: 5.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.881e-05/0.0143, allocations: 196.4 kB / 327.3 MB, free: 5.301 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.01434, allocations: 55.64 kB / 327.4 MB, free: 5.246 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.748e-05/0.01441, allocations: 49.92 kB / 327.4 MB, free: 5.191 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.01451, allocations: 342.7 kB / 327.7 MB, free: 4.848 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.776e-05/0.01456, allocations: 23.28 kB / 327.8 MB, free: 4.824 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.101e-05/0.01465, allocations: 116.8 kB / 327.9 MB, free: 4.668 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.01481, allocations: 160.4 kB / 328 MB, free: 4.469 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01481, allocations: 0 / 328 MB, free: 4.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002623/0.01508, allocations: 176 kB / 328.2 MB, free: 4.285 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.01509, allocations: 8 kB / 328.2 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.0151, allocations: 4 kB / 328.2 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/0.01524, allocations: 31.67 kB / 328.2 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.01538, allocations: 51.84 kB / 328.3 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008146/0.01619, allocations: 1.218 MB / 329.5 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.01631, allocations: 23.84 kB / 329.5 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.01632, allocations: 8 kB / 329.5 MB, free: 2.844 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.0001005/0.01642, allocations: 128.5 kB / 329.7 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.01647, allocations: 31.84 kB / 329.7 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.01668, allocations: 123.2 kB / 329.8 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01668, allocations: 96 / 329.8 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.01668, allocations: 8 kB / 329.8 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01669, allocations: 0 / 329.8 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000469/0.01716, allocations: 400.1 kB / 330.2 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01716, allocations: 0 / 330.2 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.497e-05/0.01723, allocations: 27.98 kB / 330.3 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001348/0.01737, allocations: 39.53 kB / 330.3 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.01738, allocations: 8 kB / 330.3 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007795/0.01816, allocations: 1.228 MB / 331.5 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.01816, allocations: 4 kB / 331.5 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.01844, allocations: 289.8 kB / 331.8 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.01847, allocations: 27.8 kB / 331.8 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.0185, allocations: 7.938 kB / 331.8 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.25e-05/0.0186, allocations: 12.09 kB / 331.9 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.01863, allocations: 15.91 kB / 331.9 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.01864, allocations: 8 kB / 331.9 MB, free: 340 kB / 298.7 MB Notification: Performance of sorting global known variables: time 8.886e-05/0.01873, allocations: 88.64 kB / 332 MB, free: 248 kB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01873, allocations: 0 / 332 MB, free: 248 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003262/0.01905, allocations: 83.78 kB / 332.1 MB, free: 164 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.0001086/0.01916, allocations: 84.41 kB / 332.1 MB, free: 68 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003127/0.01948, allocations: 210.9 kB / 332.3 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.01948, allocations: 4 kB / 332.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.01968, allocations: 171.4 kB / 332.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.02004, allocations: 78.86 kB / 332.6 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.02126, allocations: 0.6242 MB / 333.2 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.086e-05/0.02135, allocations: 120.3 kB / 333.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.02145, allocations: 30.97 kB / 333.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.02159, allocations: 91.36 kB / 333.4 MB, free: 14.68 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02159, allocations: 0 / 333.4 MB, free: 14.68 MB / 314.7 MB Notification: Performance of Templates: time 0.006279/0.02787, allocations: 3.251 MB / 336.7 MB, free: 11.48 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7560683442279696]