Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.OneSourceOneLoadWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses") translateModel(PowerSysPro.Examples.OneSourceOneLoadWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 105.1 kB / 16.31 MB, free: 5.879 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.001505/0.001505, allocations: 191.2 kB / 17.24 MB, free: 5.539 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.395/1.395, allocations: 222.9 MB / 240.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05475/0.05475, allocations: 8.096 MB / 299.2 MB, free: 6.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 59.91 kB / 361.7 MB, free: 8.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.285, allocations: 51.52 MB / 413.2 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.004322/0.2894, allocations: 1.237 MB / 414.5 MB, free: 24.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.2922, allocations: 1.247 MB / 415.7 MB, free: 23.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.2923, allocations: 0 / 415.7 MB, free: 23.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004704/0.2928, allocations: 87.55 kB / 415.8 MB, free: 23.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.2931, allocations: 43.69 kB / 415.9 MB, free: 22.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.2943, allocations: 374.3 kB / 416.2 MB, free: 22.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.2945, allocations: 123.4 kB / 416.3 MB, free: 22.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.2947, allocations: 65.69 kB / 416.4 MB, free: 22.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.608e-05/0.2948, allocations: 51.8 kB / 416.5 MB, free: 22.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.295, allocations: 71.75 kB / 416.5 MB, free: 22.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.167e-05/0.2951, allocations: 8 kB / 416.5 MB, free: 22.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.2954, allocations: 111.9 kB / 416.6 MB, free: 22.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.322e-05/0.2954, allocations: 19.92 kB / 416.7 MB, free: 22.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.177e-05/0.2955, allocations: 71.61 kB / 416.7 MB, free: 22.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003808/0.2959, allocations: 205.4 kB / 416.9 MB, free: 21.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2959, allocations: 3.938 kB / 416.9 MB, free: 21.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.2959, allocations: 0 / 416.9 MB, free: 21.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.296, allocations: 0 / 416.9 MB, free: 21.89 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001299/0.2973, allocations: 479 kB / 417.4 MB, free: 21.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.2973, allocations: 12.03 kB / 417.4 MB, free: 21.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.31e-05/0.2974, allocations: 12.75 kB / 417.4 MB, free: 21.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.2977, allocations: 184.2 kB / 417.6 MB, free: 21.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.2977, allocations: 8.375 kB / 417.6 MB, free: 21.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.2977, allocations: 16.36 kB / 417.6 MB, free: 21.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.2981, allocations: 138.2 kB / 417.8 MB, free: 20.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.2981, allocations: 192 / 417.8 MB, free: 20.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.2982, allocations: 11.94 kB / 417.8 MB, free: 20.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.2982, allocations: 4 kB / 417.8 MB, free: 20.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.2984, allocations: 95.95 kB / 417.9 MB, free: 20.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008892/0.2993, allocations: 0.4923 MB / 418.4 MB, free: 20.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004534/0.2998, allocations: 98.67 kB / 418.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.884e-05/0.2999, allocations: 20.86 kB / 418.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.3001, allocations: 89.23 kB / 418.6 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.3001, allocations: 38.5 kB / 418.6 MB, free: 20.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.3001, allocations: 0 / 418.6 MB, free: 20.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008/0.3009, allocations: 223.5 kB / 418.8 MB, free: 19.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.301, allocations: 51.41 kB / 418.9 MB, free: 19.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.3012, allocations: 138.1 kB / 419 MB, free: 19.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.3012, allocations: 25.7 kB / 419 MB, free: 19.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.372e-05/0.3013, allocations: 123.6 kB / 419.2 MB, free: 19.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.3013, allocations: 31.58 kB / 419.2 MB, free: 19.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.3014, allocations: 29.64 kB / 419.2 MB, free: 19.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.163e-05/0.3015, allocations: 322.8 kB / 419.5 MB, free: 19.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.102e-05/0.3015, allocations: 31.92 kB / 419.6 MB, free: 18.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.546e-05/0.3016, allocations: 31.98 kB / 419.6 MB, free: 18.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.3018, allocations: 56.86 kB / 419.7 MB, free: 18.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3018, allocations: 0 / 419.7 MB, free: 18.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003708/0.3022, allocations: 134.4 kB / 419.8 MB, free: 18.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.3022, allocations: 8 kB / 419.8 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3022, allocations: 4 kB / 419.8 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003758/0.3026, allocations: 36.83 kB / 419.8 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.3027, allocations: 15.92 kB / 419.8 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.304, allocations: 1.426 MB / 421.3 MB, free: 17.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.3041, allocations: 11.88 kB / 421.3 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.3042, allocations: 4.125 kB / 421.3 MB, free: 17.11 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 (9): * Single equations (assignments): 8 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.3043, allocations: 129.8 kB / 421.4 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.3044, allocations: 4 kB / 421.4 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003673/0.3047, allocations: 126.7 kB / 421.5 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3048, allocations: 0 / 421.5 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.3048, allocations: 0 / 421.5 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3048, allocations: 0 / 421.5 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.3051, allocations: 225.5 kB / 421.8 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3051, allocations: 0 / 421.8 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.987e-05/0.3052, allocations: 11.98 kB / 421.8 MB, free: 16.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002266/0.3054, allocations: 33.11 kB / 421.8 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3054, allocations: 0 / 421.8 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.3065, allocations: 1.414 MB / 423.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3065, allocations: 4.094 kB / 423.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.3069, allocations: 212.2 kB / 423.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.656e-05/0.3069, allocations: 85.05 kB / 423.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.307, allocations: 0 / 423.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.3072, allocations: 11.98 kB / 423.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.3072, allocations: 4 kB / 423.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.3072, allocations: 0 / 423.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.3074, allocations: 123.2 kB / 423.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3074, allocations: 0 / 423.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005111/0.3079, allocations: 39.84 kB / 423.7 MB, free: 14.46 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 (6): * Single equations (assignments): 5 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001857/0.3081, allocations: 103.2 kB / 423.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004777/0.3086, allocations: 194.9 kB / 424 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3086, allocations: 0 / 424 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.3089, allocations: 150.6 kB / 424.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.3094, allocations: 12.78 kB / 424.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000565/0.31, allocations: 254.1 kB / 424.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.3102, allocations: 0.708 MB / 425.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.811e-05/0.3103, allocations: 12.66 kB / 425.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.3103, allocations: 11.44 kB / 425.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3103, allocations: 0 / 425.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of Templates: time 0.006289/0.3166, allocations: 1.51 MB / 426.6 MB, free: 11.44 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1)