Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009836/0.0009836, allocations: 182.3 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 221.4 MB / 235.1 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000829/0.000829, allocations: 91.92 kB / 286.1 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04019/0.04019, allocations: 8.104 MB / 345.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.482e-05/2.495e-05, allocations: 4 kB / 405.5 MB, free: 61.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07189/0.07193, allocations: 52.51 MB / 458 MB, free: 9.473 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2882/0.3602, allocations: 78.58 MB / 0.524 GB, free: 7.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001618/0.3604, allocations: 62.66 kB / 0.524 GB, free: 7.398 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009034/0.3695, allocations: 3.394 MB / 0.5274 GB, free: 4.609 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3695, allocations: 0 / 0.5274 GB, free: 4.609 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3695, allocations: 0 / 0.5274 GB, free: 4.609 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005343/0.37, allocations: 407.7 kB / 0.5277 GB, free: 4.176 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3701, allocations: 8.031 kB / 0.5277 GB, free: 4.168 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.3701, allocations: 11.86 kB / 0.5278 GB, free: 4.156 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.3703, allocations: 167.1 kB / 0.5279 GB, free: 3.953 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.3703, allocations: 7.438 kB / 0.5279 GB, free: 3.949 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.3703, allocations: 4 kB / 0.5279 GB, free: 3.945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.3705, allocations: 89.8 kB / 0.528 GB, free: 3.875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.3705, allocations: 3.938 kB / 0.528 GB, free: 3.871 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.3705, allocations: 15.28 kB / 0.528 GB, free: 3.859 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.3705, allocations: 4 kB / 0.528 GB, free: 3.855 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.3707, allocations: 70.06 kB / 0.5281 GB, free: 3.812 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.3712, allocations: 391.6 kB / 0.5285 GB, free: 3.441 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.3716, allocations: 105.4 kB / 0.5286 GB, free: 3.355 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.149e-05/0.3716, allocations: 37.61 kB / 0.5286 GB, free: 3.328 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.3717, allocations: 85.09 kB / 0.5287 GB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.3718, allocations: 34.84 kB / 0.5287 GB, free: 3.184 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.395e-06/0.3718, allocations: 0 / 0.5287 GB, free: 3.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003195/0.3721, allocations: 117.1 kB / 0.5288 GB, free: 3.086 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.3721, allocations: 51.41 kB / 0.5289 GB, free: 3.023 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.3723, allocations: 135.5 kB / 0.529 GB, free: 2.895 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.3723, allocations: 25.7 kB / 0.529 GB, free: 2.863 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.3724, allocations: 110 kB / 0.5291 GB, free: 2.754 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.3724, allocations: 26.14 kB / 0.5292 GB, free: 2.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.3724, allocations: 0 / 0.5292 GB, free: 2.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.441e-05/0.3725, allocations: 317 kB / 0.5295 GB, free: 2.418 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.905e-05/0.3725, allocations: 35.42 kB / 0.5295 GB, free: 2.395 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.363e-05/0.3726, allocations: 32.44 kB / 0.5295 GB, free: 2.375 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.608e-05/0.3726, allocations: 35.73 kB / 0.5296 GB, free: 2.355 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3727, allocations: 7.953 kB / 0.5296 GB, free: 2.348 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002449/0.3729, allocations: 138.8 kB / 0.5297 GB, free: 2.234 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3729, allocations: 5.844 kB / 0.5297 GB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3729, allocations: 0 / 0.5297 GB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002431/0.3732, allocations: 36.14 kB / 0.5298 GB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-05/0.3733, allocations: 15.94 kB / 0.5298 GB, free: 2.184 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.3744, allocations: 1.331 MB / 0.5311 GB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.054e-05/0.3745, allocations: 3.5 kB / 0.5311 GB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.3745, allocations: 4.156 kB / 0.5311 GB, free: 0.793 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.845e-05/0.3746, allocations: 115.8 kB / 0.5312 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.3746, allocations: 7.906 kB / 0.5312 GB, free: 0.6719 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.3749, allocations: 128.4 kB / 0.5313 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3749, allocations: 4 kB / 0.5313 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.3749, allocations: 0 / 0.5313 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3749, allocations: 4 kB / 0.5313 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.3751, allocations: 219.2 kB / 0.5315 GB, free: 320 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3751, allocations: 0 / 0.5315 GB, free: 320 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.3752, allocations: 4 kB / 0.5315 GB, free: 316 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001523/0.3753, allocations: 36.27 kB / 0.5316 GB, free: 284 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3753, allocations: 4 kB / 0.5316 GB, free: 280 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008736/0.3762, allocations: 1.33 MB / 0.5329 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3762, allocations: 0 / 0.5329 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.3765, allocations: 215.9 kB / 0.5331 GB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.3766, allocations: 84.83 kB / 0.5332 GB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.3766, allocations: 0 / 0.5332 GB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.3767, allocations: 15.92 kB / 0.5332 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.3767, allocations: 11.33 kB / 0.5332 GB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.3767, allocations: 3.984 kB / 0.5332 GB, free: 14.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.033e-05/0.3768, allocations: 105.3 kB / 0.5333 GB, free: 14.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3768, allocations: 4 kB / 0.5333 GB, free: 14.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.3771, allocations: 31.12 kB / 0.5333 GB, free: 14.43 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001467/0.3772, allocations: 104.5 kB / 0.5334 GB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003504/0.3776, allocations: 201.1 kB / 0.5336 GB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.3776, allocations: 4 kB / 0.5336 GB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.3778, allocations: 145.2 kB / 0.5338 GB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.378, allocations: 18.73 kB / 0.5338 GB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000233/0.3782, allocations: 107 kB / 0.5339 GB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.3785, allocations: 0.701 MB / 0.5346 GB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.553e-05/0.3785, allocations: 12.66 kB / 0.5346 GB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.3786, allocations: 16.05 kB / 0.5346 GB, free: 13.12 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3786, allocations: 192 / 0.5346 GB, free: 13.12 MB / 362.7 MB Notification: Performance of Templates: time 0.003626/0.3822, allocations: 1.416 MB / 0.536 GB, free: 11.72 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)