Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 104.9 kB / 16.57 MB, free: 6.258 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.001135/0.001135, allocations: 195.4 kB / 17.49 MB, free: 5.875 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.524/1.524, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05088/0.05088, allocations: 8.094 MB / 299.4 MB, free: 6.922 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001212, allocations: 59.91 kB / 361.7 MB, free: 8.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2314, allocations: 51.52 MB / 413.2 MB, free: 25.81 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.002473/0.2339, allocations: 1.814 MB / 415 MB, free: 23.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.2355, allocations: 1.578 MB / 416.6 MB, free: 22.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.908e-05/0.2355, allocations: 4 kB / 416.6 MB, free: 22.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.2359, allocations: 111.5 kB / 416.7 MB, free: 22.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.2362, allocations: 131.3 kB / 416.8 MB, free: 22.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.2376, allocations: 1.039 MB / 417.9 MB, free: 21.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.2378, allocations: 270.6 kB / 418.1 MB, free: 20.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.238, allocations: 68.69 kB / 418.2 MB, free: 20.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.201e-05/0.2381, allocations: 115.5 kB / 418.3 MB, free: 20.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.2382, allocations: 135.4 kB / 418.5 MB, free: 20.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.2382, allocations: 16 kB / 418.5 MB, free: 20.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003279/0.2386, allocations: 227.8 kB / 418.7 MB, free: 20.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.994e-05/0.2386, allocations: 51.77 kB / 418.7 MB, free: 20.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.794e-05/0.2387, allocations: 127.3 kB / 418.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.239, allocations: 333.2 kB / 419.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.239, allocations: 0 / 419.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.239, allocations: 0 / 419.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.2391, allocations: 0 / 419.2 MB, free: 19.79 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.003564/0.2426, allocations: 1.11 MB / 420.3 MB, free: 18.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2427, allocations: 11.97 kB / 420.3 MB, free: 18.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.242e-05/0.2428, allocations: 36.56 kB / 420.3 MB, free: 18.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.243, allocations: 271.9 kB / 420.6 MB, free: 18.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.243, allocations: 16.75 kB / 420.6 MB, free: 18.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.243, allocations: 24.38 kB / 420.7 MB, free: 18.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/0.2435, allocations: 351.7 kB / 421 MB, free: 17.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.2435, allocations: 192 / 421 MB, free: 17.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/0.2436, allocations: 11.92 kB / 421 MB, free: 17.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2436, allocations: 4 kB / 421 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003668/0.244, allocations: 295.3 kB / 421.3 MB, free: 17.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.2454, allocations: 1.35 MB / 422.7 MB, free: 16.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007335/0.2461, allocations: 382.6 kB / 423 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.2463, allocations: 176.8 kB / 423.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005782/0.2469, allocations: 0.6893 MB / 423.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.247, allocations: 42.78 kB / 423.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.212e-06/0.247, allocations: 3.938 kB / 423.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.003215/0.2502, allocations: 1.125 MB / 425.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.2503, allocations: 110.8 kB / 425.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.2505, allocations: 232.9 kB / 425.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.2505, allocations: 33.7 kB / 425.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.2506, allocations: 144.5 kB / 425.6 MB, free: 13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.522e-05/0.2506, allocations: 94.64 kB / 425.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.2508, allocations: 86.11 kB / 425.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.135e-05/0.2509, allocations: 334.8 kB / 426.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.2511, allocations: 192.8 kB / 426.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.2514, allocations: 271.1 kB / 426.5 MB, free: 12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005238/0.2519, allocations: 472.7 kB / 427 MB, free: 11.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.252, allocations: 3.938 kB / 427 MB, free: 11.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001808/0.2538, allocations: 0.8144 MB / 427.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.2538, allocations: 8 kB / 427.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.2538, allocations: 7.938 kB / 427.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001867/0.2557, allocations: 413.3 kB / 428.2 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.256, allocations: 63.91 kB / 428.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003667/0.2597, allocations: 3.736 MB / 432 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.26, allocations: 39.53 kB / 432.1 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.2601, allocations: 19.98 kB / 432.1 MB, free: 6.133 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.2602, allocations: 149.9 kB / 432.2 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.2603, allocations: 23.72 kB / 432.2 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/0.2621, allocations: 0.7244 MB / 433 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.2621, allocations: 4 kB / 433 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2621, allocations: 8 kB / 433 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2621, allocations: 7.922 kB / 433 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.2624, allocations: 421.1 kB / 433.4 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2625, allocations: 0 / 433.4 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.2626, allocations: 39.92 kB / 433.4 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/0.2644, allocations: 409.3 kB / 433.8 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.2644, allocations: 8 kB / 433.9 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00342/0.2678, allocations: 3.701 MB / 437.6 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2678, allocations: 0 / 437.6 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.2697, allocations: 0.7747 MB / 438.3 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.492e-05/0.2698, allocations: 112.7 kB / 438.4 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.2699, allocations: 4 kB / 438.4 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.2701, allocations: 16 kB / 438.5 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/0.2702, allocations: 40.02 kB / 438.5 MB, free: 15.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.2703, allocations: 4 kB / 438.5 MB, free: 15.33 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.2704, allocations: 164.5 kB / 438.7 MB, free: 15.17 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2704, allocations: 0 / 438.7 MB, free: 15.17 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005255/0.2709, allocations: 123.9 kB / 438.8 MB, free: 15.05 MB / 318.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002032/0.2711, allocations: 119.2 kB / 438.9 MB, free: 14.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.2727, allocations: 0.7637 MB / 439.7 MB, free: 14.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.2727, allocations: 4 kB / 439.7 MB, free: 14.13 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.2738, allocations: 0.5092 MB / 440.2 MB, free: 13.6 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.2741, allocations: 28.38 kB / 440.2 MB, free: 13.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.2752, allocations: 0.6633 MB / 440.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.2755, allocations: 0.761 MB / 441.6 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.412e-05/0.2756, allocations: 31.42 kB / 441.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2756, allocations: 0 / 441.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of Templates: time 0.008189/0.2838, allocations: 6.377 MB / 448 MB, free: 5.688 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1)