Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 106.4 kB / 17.07 MB, free: 5.68 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.001001/0.001001, allocations: 194.9 kB / 18.01 MB, free: 5.02 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.335/1.335, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04482/0.04482, allocations: 8.098 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 63.91 kB / 363.2 MB, free: 7.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.234, allocations: 51.51 MB / 414.7 MB, free: 25.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002192/0.2363, allocations: 1.566 MB / 416.2 MB, free: 23.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.2376, allocations: 1.551 MB / 417.8 MB, free: 22.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.2377, allocations: 4 kB / 417.8 MB, free: 22.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.238, allocations: 115.4 kB / 417.9 MB, free: 22.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.2382, allocations: 111.2 kB / 418 MB, free: 22.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.2394, allocations: 0.9218 MB / 418.9 MB, free: 21.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.2396, allocations: 230.9 kB / 419.2 MB, free: 20.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.2398, allocations: 84.22 kB / 419.3 MB, free: 20.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.846e-05/0.2398, allocations: 99.56 kB / 419.3 MB, free: 20.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.24, allocations: 123.5 kB / 419.5 MB, free: 20.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.24, allocations: 20 kB / 419.5 MB, free: 20.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002762/0.2403, allocations: 203.8 kB / 419.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.384e-05/0.2403, allocations: 51.77 kB / 419.7 MB, free: 20.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.486e-05/0.2404, allocations: 111.5 kB / 419.8 MB, free: 20.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.2408, allocations: 384.6 kB / 420.2 MB, free: 19.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2408, allocations: 0 / 420.2 MB, free: 19.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2408, allocations: 4 kB / 420.2 MB, free: 19.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.2408, allocations: 0 / 420.2 MB, free: 19.84 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002048/0.2428, allocations: 0.8139 MB / 421 MB, free: 18.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2429, allocations: 19.88 kB / 421.1 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.176e-05/0.243, allocations: 28.66 kB / 421.1 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.2432, allocations: 251.9 kB / 421.3 MB, free: 18.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.2432, allocations: 16.7 kB / 421.3 MB, free: 18.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.2432, allocations: 16.38 kB / 421.4 MB, free: 18.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003325/0.2436, allocations: 260.3 kB / 421.6 MB, free: 18.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.2436, allocations: 192 / 421.6 MB, free: 18.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.2436, allocations: 15.88 kB / 421.6 MB, free: 18.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.2436, allocations: 8 kB / 421.6 MB, free: 18.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.2439, allocations: 247.8 kB / 421.9 MB, free: 18.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.2451, allocations: 1.125 MB / 423 MB, free: 16.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005704/0.2456, allocations: 306.5 kB / 423.3 MB, free: 16.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.2458, allocations: 152.8 kB / 423.5 MB, free: 16.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.305e-05/0.2459, allocations: 7.984 kB / 423.5 MB, free: 16.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.2459, allocations: 38.55 kB / 423.5 MB, free: 16.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.453e-06/0.2459, allocations: 4 kB / 423.5 MB, free: 16.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.002827/0.2487, allocations: 0.969 MB / 424.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.2488, allocations: 55.41 kB / 424.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.249, allocations: 198.4 kB / 424.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.249, allocations: 29.7 kB / 424.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.2491, allocations: 124.4 kB / 424.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.2491, allocations: 86.75 kB / 425 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.555e-05/0.2492, allocations: 65.59 kB / 425 MB, free: 14.74 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.379e-05/0.2493, allocations: 330.8 kB / 425.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.2495, allocations: 152 kB / 425.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.2497, allocations: 161.1 kB / 425.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003999/0.2501, allocations: 358.2 kB / 426 MB, free: 13.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2501, allocations: 0 / 426 MB, free: 13.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001333/0.2514, allocations: 0.6343 MB / 426.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2514, allocations: 4 kB / 426.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2515, allocations: 0 / 426.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.2527, allocations: 328.5 kB / 427 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.2529, allocations: 35.98 kB / 427 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003342/0.2563, allocations: 2.765 MB / 429.8 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.2565, allocations: 31.69 kB / 429.8 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.2565, allocations: 12 kB / 429.8 MB, free: 9.801 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.2566, allocations: 133.8 kB / 429.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.2567, allocations: 19.81 kB / 430 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.258, allocations: 0.6168 MB / 430.6 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2581, allocations: 7.938 kB / 430.6 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.2581, allocations: 4.062 kB / 430.6 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2581, allocations: 7.938 kB / 430.6 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.2584, allocations: 393.2 kB / 431 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2584, allocations: 0 / 431 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.635e-05/0.2585, allocations: 27.98 kB / 431 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.2597, allocations: 312.8 kB / 431.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.2597, allocations: 4 kB / 431.3 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002965/0.2627, allocations: 2.723 MB / 434 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2627, allocations: 3.984 kB / 434 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.2639, allocations: 0.6719 MB / 434.7 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.264, allocations: 96.77 kB / 434.8 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.264, allocations: 8 kB / 434.8 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.2643, allocations: 11.98 kB / 434.8 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.2643, allocations: 27.97 kB / 434.9 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.2644, allocations: 8 kB / 434.9 MB, free: 4.492 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.2645, allocations: 147.1 kB / 435 MB, free: 4.348 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2645, allocations: 0 / 435 MB, free: 4.348 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004491/0.2649, allocations: 99.94 kB / 435.1 MB, free: 4.25 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 {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001813/0.2651, allocations: 121.1 kB / 435.2 MB, free: 4.125 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.2663, allocations: 0.6199 MB / 435.8 MB, free: 3.492 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2663, allocations: 4 kB / 435.8 MB, free: 3.488 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008164/0.2672, allocations: 450.5 kB / 436.3 MB, free: 3.035 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.2675, allocations: 26.91 kB / 436.3 MB, free: 3.012 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006517/0.2681, allocations: 0.4977 MB / 436.8 MB, free: 2.492 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.2683, allocations: 0.7407 MB / 437.5 MB, free: 1.723 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.946e-05/0.2684, allocations: 33.92 kB / 437.6 MB, free: 1.691 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.2685, allocations: 23.44 kB / 437.6 MB, free: 1.668 MB / 302.1 MB Notification: Performance of SimCode: time 4e-07/0.2685, allocations: 0 / 437.6 MB, free: 1.668 MB / 302.1 MB Notification: Performance of Templates: time 0.009555/0.278, allocations: 5.965 MB / 443.6 MB, free: 11.73 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)