Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.000649/0.000649, allocations: 85.06 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009804/0.001629, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0006631/0.0006631, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009173/0.00158, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8739/0.8739, allocations: 177.2 MB / 189.7 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07591/0.9498, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.01976/0.01976, allocations: 4.466 MB / 248.6 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002569/0.02233, allocations: 2.089 MB / 250.7 MB, free: 8.215 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 252 MB, free: 6.941 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018e-05/1.127e-05, allocations: 2.312 kB / 252 MB, free: 6.938 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.001495/0.001507, allocations: 1.64 MB / 253.6 MB, free: 5.297 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.00277, allocations: 1.621 MB / 255.2 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.955e-05/0.002819, allocations: 4 kB / 255.2 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.003014, allocations: 135.2 kB / 255.4 MB, free: 3.523 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.003171, allocations: 123 kB / 255.5 MB, free: 3.402 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007922/0.003964, allocations: 0.8516 MB / 256.3 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.004194, allocations: 270.5 kB / 256.6 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.00429, allocations: 58.7 kB / 256.7 MB, free: 2.227 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.004424, allocations: 183.5 kB / 256.8 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.004539, allocations: 103.7 kB / 256.9 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.004563, allocations: 24 kB / 257 MB, free: 1.922 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.00483, allocations: 227.5 kB / 257.2 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.706e-05/0.004857, allocations: 35.88 kB / 257.2 MB, free: 1.664 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.198e-05/0.004909, allocations: 67.88 kB / 257.3 MB, free: 1.598 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.005222, allocations: 338.9 kB / 257.6 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.00523, allocations: 4 kB / 257.6 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.005231, allocations: 0 / 257.6 MB, free: 1.262 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.005238, allocations: 0 / 257.6 MB, free: 1.262 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001285/0.006523, allocations: 0.9375 MB / 258.6 MB, free: 284 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.062e-05/0.006543, allocations: 8.031 kB / 258.6 MB, free: 276 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.006588, allocations: 28.92 kB / 258.6 MB, free: 248 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.006739, allocations: 179.5 kB / 258.8 MB, free: 36 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.00675, allocations: 12.88 kB / 258.8 MB, free: 24 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.006775, allocations: 24.38 kB / 258.8 MB, free: 0 / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.006976, allocations: 274.3 kB / 259.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.006983, allocations: 192 / 259.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.007, allocations: 12.38 kB / 259.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.007005, allocations: 8.375 kB / 259.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.007105, allocations: 83.39 kB / 259.2 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005708/0.007676, allocations: 0.4958 MB / 259.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.007999, allocations: 261.4 kB / 259.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.231e-05/0.008062, allocations: 56.84 kB / 260 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.008099, allocations: 8 kB / 260 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.008121, allocations: 46.48 kB / 260 MB, free: 14.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 8.81e-07/0.008122, allocations: 3.828 kB / 260 MB, free: 14.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001019/0.009141, allocations: 0.51 MB / 260.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.892e-05/0.00916, allocations: 55.41 kB / 260.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.009292, allocations: 213 kB / 260.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.009314, allocations: 33.7 kB / 260.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.08e-05/0.009365, allocations: 132.8 kB / 261 MB, free: 13.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.009408, allocations: 99.12 kB / 261.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.056e-05/0.009478, allocations: 73.62 kB / 261.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.102e-05/0.009549, allocations: 338.7 kB / 261.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.345e-05/0.009613, allocations: 62.81 kB / 261.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.913e-05/0.009672, allocations: 59.97 kB / 261.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.009834, allocations: 188.1 kB / 261.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.009835, allocations: 4 kB / 261.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004743/0.01031, allocations: 345.9 kB / 262.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.01032, allocations: 4 kB / 262.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/0.01032, allocations: 0 / 262.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004962/0.01082, allocations: 208.5 kB / 262.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.01093, allocations: 67.89 kB / 262.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.01239, allocations: 1.745 MB / 264.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.61e-05/0.01248, allocations: 31.73 kB / 264.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.0125, allocations: 15.98 kB / 264.2 MB, free: 10.38 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,6)} Notification: Performance of prepare postOptimizeDAE: time 7.092e-05/0.01257, allocations: 125.8 kB / 264.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.0126, allocations: 16.09 kB / 264.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004813/0.01308, allocations: 341.3 kB / 264.7 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.01308, allocations: 7.938 kB / 264.7 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.71e-07/0.01309, allocations: 0 / 264.7 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-06/0.01309, allocations: 0 / 264.7 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006209/0.01371, allocations: 0.5815 MB / 265.3 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01371, allocations: 0 / 265.3 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.879e-05/0.01377, allocations: 39.91 kB / 265.3 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.01379, allocations: 35.72 kB / 265.3 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004588/0.01425, allocations: 196.6 kB / 265.5 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.01426, allocations: 4 kB / 265.5 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.01557, allocations: 1.736 MB / 267.3 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01557, allocations: 0 / 267.3 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004504/0.01602, allocations: 423.5 kB / 267.7 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.01604, allocations: 12 kB / 267.7 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.042e-05/0.01613, allocations: 11.98 kB / 267.7 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.01617, allocations: 23.94 kB / 267.7 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.01618, allocations: 8 kB / 267.7 MB, free: 6.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.176e-05/0.01623, allocations: 71.39 kB / 267.8 MB, free: 6.605 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01623, allocations: 0 / 267.8 MB, free: 6.605 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002308/0.01646, allocations: 104 kB / 267.9 MB, free: 6.504 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001028/0.01656, allocations: 100.3 kB / 268 MB, free: 6.398 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005456/0.01711, allocations: 461.8 kB / 268.4 MB, free: 5.934 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.01711, allocations: 8 kB / 268.5 MB, free: 5.926 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004219/0.01754, allocations: 399.2 kB / 268.8 MB, free: 5.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.01772, allocations: 123.2 kB / 269 MB, free: 5.387 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/0.0218, allocations: 493.2 kB / 269.4 MB, free: 4.883 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.519e-05/0.02185, allocations: 92.27 kB / 269.5 MB, free: 4.773 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.035e-05/0.02191, allocations: 33.98 kB / 269.6 MB, free: 4.742 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.02202, allocations: 83.36 kB / 269.7 MB, free: 4.66 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02202, allocations: 0 / 269.7 MB, free: 4.66 MB / 266.7 MB Notification: Performance of Templates: time 0.08804/0.1101, allocations: 6.369 MB / 276 MB, free: 15.93 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.3805863140150905]