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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007699/0.0007699, allocations: 86.89 kB / 16.71 MB, free: 6.211 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000878/0.0008781, allocations: 181.8 kB / 17.62 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.3 MB / 241.7 MB, free: 24 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04254/0.04254, allocations: 8.092 MB / 300.9 MB, free: 6.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005224/0.0005225, allocations: 12 kB / 364.1 MB, free: 7.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2404, allocations: 52.51 MB / 416.6 MB, free: 24.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.0014/0.2419, allocations: 1.366 MB / 418 MB, free: 23.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.2436, allocations: 1.551 MB / 419.6 MB, free: 21.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.492e-05/0.2438, allocations: 4 kB / 419.6 MB, free: 21.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003672/0.2441, allocations: 111.6 kB / 419.7 MB, free: 21.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.2444, allocations: 115.3 kB / 419.8 MB, free: 21.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.2457, allocations: 0.8715 MB / 420.7 MB, free: 20.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.246, allocations: 258.7 kB / 420.9 MB, free: 20.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.2461, allocations: 68.55 kB / 421 MB, free: 20.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.525e-05/0.2462, allocations: 95.58 kB / 421.1 MB, free: 20.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.2464, allocations: 127.4 kB / 421.2 MB, free: 20.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.2464, allocations: 12 kB / 421.2 MB, free: 20.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003394/0.2468, allocations: 203.8 kB / 421.4 MB, free: 20.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.1e-05/0.2468, allocations: 43.77 kB / 421.5 MB, free: 20.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.563e-05/0.2469, allocations: 141 kB / 421.6 MB, free: 19.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.2472, allocations: 297.2 kB / 421.9 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2472, allocations: 0 / 421.9 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.2472, allocations: 0 / 421.9 MB, free: 19.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.2472, allocations: 0 / 421.9 MB, free: 19.59 MB / 302.1 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.002249/0.2495, allocations: 0.8072 MB / 422.7 MB, free: 18.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2495, allocations: 19.95 kB / 422.7 MB, free: 18.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.889e-05/0.2496, allocations: 24.66 kB / 422.7 MB, free: 18.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.2499, allocations: 260.7 kB / 423 MB, free: 18.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.2499, allocations: 12.81 kB / 423 MB, free: 18.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.2499, allocations: 24.31 kB / 423 MB, free: 18.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.2503, allocations: 295.8 kB / 423.3 MB, free: 18.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2503, allocations: 192 / 423.3 MB, free: 18.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.2504, allocations: 7.938 kB / 423.3 MB, free: 18.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.2504, allocations: 11.98 kB / 423.3 MB, free: 18.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003426/0.2507, allocations: 277.6 kB / 423.6 MB, free: 17.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.252, allocations: 1.051 MB / 424.7 MB, free: 16.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008143/0.2528, allocations: 462.3 kB / 425.1 MB, free: 16.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.2531, allocations: 176.8 kB / 425.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.295e-05/0.2531, allocations: 7.984 kB / 425.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.2531, allocations: 50.42 kB / 425.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.593e-06/0.2532, allocations: 0 / 425.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002772/0.2559, allocations: 0.9451 MB / 426.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.256, allocations: 55.41 kB / 426.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.2562, allocations: 215.8 kB / 426.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.2562, allocations: 37.7 kB / 426.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.2563, allocations: 140.5 kB / 426.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.215e-05/0.2563, allocations: 94.59 kB / 426.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.2564, allocations: 37.7 kB / 426.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.364e-05/0.2565, allocations: 334.8 kB / 427.2 MB, free: 14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.2567, allocations: 168 kB / 427.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.2569, allocations: 187.8 kB / 427.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/0.2574, allocations: 385.5 kB / 427.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2574, allocations: 0 / 427.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00131/0.2587, allocations: 0.6578 MB / 428.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.2587, allocations: 7.938 kB / 428.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2587, allocations: 4 kB / 428.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.2598, allocations: 244.6 kB / 428.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.26, allocations: 51.91 kB / 428.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00315/0.2632, allocations: 2.512 MB / 431.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.2635, allocations: 23.69 kB / 431.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.2635, allocations: 15.98 kB / 431.4 MB, free: 9.617 MB / 302.1 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.2637, allocations: 151 kB / 431.6 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.2638, allocations: 23.72 kB / 431.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.2651, allocations: 0.603 MB / 432.2 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.2651, allocations: 7.938 kB / 432.2 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.2651, allocations: 0 / 432.2 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.2651, allocations: 112 / 432.2 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.2668, allocations: 1.061 MB / 433.3 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2668, allocations: 3.984 kB / 433.3 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.2669, allocations: 31.94 kB / 433.3 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009484/0.2679, allocations: 248.5 kB / 433.5 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.2679, allocations: 4 kB / 433.5 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002735/0.2706, allocations: 2.48 MB / 436 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2707, allocations: 0 / 436 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.2719, allocations: 0.6485 MB / 436.7 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.801e-05/0.272, allocations: 104.8 kB / 436.8 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.272, allocations: 7.938 kB / 436.8 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.2723, allocations: 15.38 kB / 436.8 MB, free: 3.988 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/0.2724, allocations: 27.95 kB / 436.8 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.2724, allocations: 12 kB / 436.8 MB, free: 3.949 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.2725, allocations: 163 kB / 437 MB, free: 3.789 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2726, allocations: 0 / 437 MB, free: 3.789 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004761/0.273, allocations: 112 kB / 437.1 MB, free: 3.68 MB / 302.1 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 {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001959/0.2732, allocations: 111.2 kB / 437.2 MB, free: 3.562 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.2745, allocations: 0.6118 MB / 437.8 MB, free: 2.938 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.2745, allocations: 8 kB / 437.8 MB, free: 2.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007132/0.2752, allocations: 394.3 kB / 438.2 MB, free: 2.531 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.2756, allocations: 26.02 kB / 438.2 MB, free: 2.508 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000842/0.2764, allocations: 0.6556 MB / 438.9 MB, free: 1.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.2766, allocations: 0.7527 MB / 439.6 MB, free: 1.039 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.541e-05/0.2767, allocations: 27.42 kB / 439.7 MB, free: 1.012 MB / 302.1 MB Notification: Performance of SimCode: time 6.62e-07/0.2767, allocations: 0 / 439.7 MB, free: 1.012 MB / 302.1 MB Notification: Performance of Templates: time 0.007414/0.2841, allocations: 4.658 MB / 444.3 MB, free: 12.36 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile (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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)