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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.001173/0.001173, allocations: 106 kB / 16.31 MB, free: 6.391 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.001244/0.001245, allocations: 189.8 kB / 17.24 MB, free: 5.922 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.347/1.347, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05375/0.05375, allocations: 8.096 MB / 299.2 MB, free: 6.738 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 63.91 kB / 361.7 MB, free: 8.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2374, allocations: 51.52 MB / 413.2 MB, free: 25.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002338/0.2398, allocations: 1.562 MB / 414.8 MB, free: 24.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.2412, allocations: 1.543 MB / 416.3 MB, free: 22.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.13e-05/0.2413, allocations: 0 / 416.3 MB, free: 22.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.2417, allocations: 123.4 kB / 416.5 MB, free: 22.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.2419, allocations: 111.2 kB / 416.6 MB, free: 22.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.2432, allocations: 0.9141 MB / 417.5 MB, free: 21.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.2435, allocations: 234.9 kB / 417.7 MB, free: 21.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.2436, allocations: 80.19 kB / 417.8 MB, free: 21.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.489e-05/0.2437, allocations: 99.58 kB / 417.9 MB, free: 20.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.2439, allocations: 123.5 kB / 418 MB, free: 20.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.2439, allocations: 16 kB / 418 MB, free: 20.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003408/0.2443, allocations: 207.8 kB / 418.2 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.71e-05/0.2443, allocations: 51.77 kB / 418.3 MB, free: 20.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.983e-05/0.2444, allocations: 115.5 kB / 418.4 MB, free: 20.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003633/0.2448, allocations: 384.8 kB / 418.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2448, allocations: 0 / 418.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2448, allocations: 0 / 418.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.2448, allocations: 0 / 418.8 MB, free: 20.05 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.002459/0.2473, allocations: 0.8111 MB / 419.6 MB, free: 19.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.2474, allocations: 16.02 kB / 419.6 MB, free: 19.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.396e-05/0.2474, allocations: 24.66 kB / 419.6 MB, free: 19.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.2478, allocations: 259.9 kB / 419.9 MB, free: 18.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.2478, allocations: 12.7 kB / 419.9 MB, free: 18.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.2478, allocations: 20.38 kB / 419.9 MB, free: 18.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.2483, allocations: 256 kB / 420.2 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.2483, allocations: 8.125 kB / 420.2 MB, free: 18.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.2483, allocations: 11.94 kB / 420.2 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.2483, allocations: 4 kB / 420.2 MB, free: 18.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.2487, allocations: 243.8 kB / 420.4 MB, free: 18.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.25, allocations: 1.125 MB / 421.5 MB, free: 17.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/0.2506, allocations: 310.5 kB / 421.8 MB, free: 16.74 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.2508, allocations: 152.8 kB / 422 MB, free: 16.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.89e-05/0.2509, allocations: 11.98 kB / 422 MB, free: 16.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.2509, allocations: 38.55 kB / 422 MB, free: 16.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.673e-06/0.2509, allocations: 0 / 422 MB, free: 16.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.002973/0.2539, allocations: 0.9729 MB / 423 MB, free: 15.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.2539, allocations: 55.41 kB / 423.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.2541, allocations: 198.2 kB / 423.3 MB, free: 15.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.2542, allocations: 33.7 kB / 423.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.2542, allocations: 124.4 kB / 423.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.224e-05/0.2543, allocations: 90.73 kB / 423.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.563e-05/0.2544, allocations: 65.59 kB / 423.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.737e-05/0.2545, allocations: 330.8 kB / 423.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.2547, allocations: 156 kB / 424.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.2549, allocations: 152 kB / 424.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004484/0.2553, allocations: 347.6 kB / 424.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2553, allocations: 7.938 kB / 424.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001388/0.2567, allocations: 0.642 MB / 425.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.2568, allocations: 8 kB / 425.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.2568, allocations: 0 / 425.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.2581, allocations: 328.5 kB / 425.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.2583, allocations: 43.98 kB / 425.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003422/0.2617, allocations: 2.762 MB / 428.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.2619, allocations: 27.69 kB / 428.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.262, allocations: 12 kB / 428.4 MB, free: 9.996 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.0001246/0.2621, allocations: 137.8 kB / 428.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.2622, allocations: 19.81 kB / 428.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.2636, allocations: 0.6247 MB / 429.1 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.2636, allocations: 4 kB / 429.1 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.2636, allocations: 7.875 kB / 429.2 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2636, allocations: 288 / 429.2 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.2639, allocations: 381.2 kB / 429.5 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2639, allocations: 3.938 kB / 429.5 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.456e-05/0.264, allocations: 35.92 kB / 429.6 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/0.2652, allocations: 312.5 kB / 429.9 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.2653, allocations: 8 kB / 429.9 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003108/0.2684, allocations: 2.723 MB / 432.6 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2684, allocations: 3.984 kB / 432.6 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.2697, allocations: 0.6719 MB / 433.3 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.2698, allocations: 100.8 kB / 433.4 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.2698, allocations: 4 kB / 433.4 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.27, allocations: 15.98 kB / 433.4 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.2701, allocations: 20.25 kB / 433.4 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.2701, allocations: 8.125 kB / 433.4 MB, free: 4.684 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.2703, allocations: 147.2 kB / 433.6 MB, free: 4.539 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2703, allocations: 7.938 kB / 433.6 MB, free: 4.531 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004366/0.2707, allocations: 99.94 kB / 433.7 MB, free: 4.434 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.0001913/0.2709, allocations: 127.2 kB / 433.8 MB, free: 4.301 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.2723, allocations: 0.6277 MB / 434.4 MB, free: 3.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.2723, allocations: 0 / 434.4 MB, free: 3.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008984/0.2732, allocations: 442.3 kB / 434.9 MB, free: 3.215 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.2736, allocations: 27.92 kB / 434.9 MB, free: 3.188 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007397/0.2743, allocations: 498.2 kB / 435.4 MB, free: 2.676 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.2745, allocations: 0.7485 MB / 436.1 MB, free: 1.898 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.955e-05/0.2746, allocations: 29.92 kB / 436.1 MB, free: 1.871 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.2747, allocations: 27.42 kB / 436.2 MB, free: 1.844 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2747, allocations: 4 kB / 436.2 MB, free: 1.84 MB / 302.1 MB Notification: Performance of Templates: time 0.009864/0.2846, allocations: 5.965 MB / 442.1 MB, free: 11.91 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)