Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 107.9 kB / 16.69 MB, free: 6.363 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.001083/0.001083, allocations: 182 kB / 17.61 MB, free: 5.746 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.38/1.38, allocations: 222.9 MB / 241.3 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04988/0.04988, allocations: 8.107 MB / 299.5 MB, free: 6.797 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001236, allocations: 59.91 kB / 361.9 MB, free: 8.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2071, allocations: 51.52 MB / 413.4 MB, free: 25.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2): time 0.002993/0.2101, allocations: 2.715 MB / 416.1 MB, free: 23.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.2119, allocations: 1.613 MB / 417.7 MB, free: 21.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.212, allocations: 8 kB / 417.7 MB, free: 21.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003845/0.2124, allocations: 147.4 kB / 417.9 MB, free: 21.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004245/0.2129, allocations: 198.9 kB / 418.1 MB, free: 21.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.2144, allocations: 1.152 MB / 419.2 MB, free: 19.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003996/0.2148, allocations: 457.8 kB / 419.7 MB, free: 19.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.2151, allocations: 167.9 kB / 419.8 MB, free: 19.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.2152, allocations: 187.3 kB / 420 MB, free: 19.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.2154, allocations: 235 kB / 420.2 MB, free: 18.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.299e-05/0.2155, allocations: 36 kB / 420.3 MB, free: 18.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003748/0.2158, allocations: 275.7 kB / 420.5 MB, free: 18.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.204e-05/0.2159, allocations: 91.67 kB / 420.6 MB, free: 18.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.216, allocations: 222.9 kB / 420.9 MB, free: 18.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003861/0.2164, allocations: 474.9 kB / 421.3 MB, free: 17.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2164, allocations: 0 / 421.3 MB, free: 17.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2165, allocations: 0 / 421.3 MB, free: 17.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.2165, allocations: 0 / 421.3 MB, free: 17.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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00471/0.2212, allocations: 1.419 MB / 422.7 MB, free: 16.31 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.2212, allocations: 12.03 kB / 422.7 MB, free: 16.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.2214, allocations: 44.47 kB / 422.8 MB, free: 16.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.2217, allocations: 335.5 kB / 423.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.2217, allocations: 29.03 kB / 423.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.746e-05/0.2218, allocations: 40.38 kB / 423.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006748/0.2225, allocations: 0.5023 MB / 423.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.2225, allocations: 192 / 423.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.74e-05/0.2226, allocations: 19.94 kB / 423.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.2226, allocations: 12 kB / 423.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005493/0.2231, allocations: 454.4 kB / 424.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.2254, allocations: 2.107 MB / 426.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007647/0.2261, allocations: 0.5855 MB / 426.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.2265, allocations: 280.7 kB / 427.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.261e-05/0.2265, allocations: 4 kB / 427.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.2266, allocations: 42.5 kB / 427.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.044e-06/0.2266, allocations: 4 kB / 427.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.006313/0.2329, allocations: 1.83 MB / 429 MB, free: 9.691 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.233, allocations: 110.8 kB / 429.1 MB, free: 9.559 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.2332, allocations: 270.9 kB / 429.4 MB, free: 9.285 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.2333, allocations: 37.7 kB / 429.4 MB, free: 9.242 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.46e-05/0.2334, allocations: 176.7 kB / 429.6 MB, free: 9.066 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.118e-05/0.2335, allocations: 149.8 kB / 429.7 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.2337, allocations: 110.2 kB / 429.8 MB, free: 8.805 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.556e-05/0.2337, allocations: 342.8 kB / 430.2 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.2341, allocations: 285 kB / 430.5 MB, free: 8.184 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.2345, allocations: 340.6 kB / 430.8 MB, free: 7.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007352/0.2352, allocations: 0.6295 MB / 431.4 MB, free: 7.207 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2352, allocations: 0 / 431.4 MB, free: 7.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003258/0.2385, allocations: 1.241 MB / 432.7 MB, free: 5.957 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.2385, allocations: 4 kB / 432.7 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.2385, allocations: 8 kB / 432.7 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003583/0.2421, allocations: 0.7766 MB / 433.5 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.2425, allocations: 91.88 kB / 433.5 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006413/0.2489, allocations: 4.059 MB / 437.6 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.2494, allocations: 55.45 kB / 437.7 MB, free: 0.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.2495, allocations: 23.98 kB / 437.7 MB, free: 0.8086 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 (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001927/0.2497, allocations: 157.8 kB / 437.8 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.971e-05/0.2498, allocations: 35.56 kB / 437.9 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00342/0.2532, allocations: 1.203 MB / 439.1 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.2532, allocations: 4 kB / 439.1 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.2532, allocations: 0 / 439.1 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.2533, allocations: 3.984 kB / 439.1 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004025/0.2573, allocations: 1.794 MB / 440.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.2573, allocations: 0 / 440.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.2576, allocations: 63.84 kB / 440.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003582/0.2611, allocations: 0.7524 MB / 441.7 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/0.2612, allocations: 12 kB / 441.7 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006957/0.2682, allocations: 4.023 MB / 445.7 MB, free: 8.535 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2682, allocations: 4 kB / 445.7 MB, free: 8.531 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003466/0.2717, allocations: 1.214 MB / 446.9 MB, free: 7.297 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.2718, allocations: 112.6 kB / 447 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.791e-05/0.2719, allocations: 11.94 kB / 447.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.2723, allocations: 26.17 kB / 447.1 MB, free: 7.133 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.2724, allocations: 40.38 kB / 447.1 MB, free: 7.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/0.2725, allocations: 16 kB / 447.1 MB, free: 7.078 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000218/0.2727, allocations: 193.9 kB / 447.3 MB, free: 6.891 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2727, allocations: 4 kB / 447.3 MB, free: 6.887 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006716/0.2734, allocations: 183.8 kB / 447.5 MB, free: 6.707 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 (35): * Single equations (assignments): 34 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002307/0.2736, allocations: 119.2 kB / 447.6 MB, free: 6.582 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002602/0.2762, allocations: 1.047 MB / 448.7 MB, free: 5.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.2763, allocations: 7.984 kB / 448.7 MB, free: 5.512 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00177/0.278, allocations: 0.6609 MB / 449.3 MB, free: 4.836 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.2785, allocations: 36.88 kB / 449.4 MB, free: 4.801 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.28, allocations: 0.9768 MB / 450.4 MB, free: 3.793 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.2804, allocations: 0.8091 MB / 451.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.2805, allocations: 43.42 kB / 451.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2805, allocations: 0 / 451.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of Templates: time 0.0111/0.2916, allocations: 7.944 MB / 459.2 MB, free: 10.99 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe 2>&1)