Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") translateModel(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009833/0.0009834, 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.222/1.222, allocations: 221.4 MB / 235.1 MB, free: 14.42 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.0008812/0.0008812, allocations: 97.7 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.03866/0.03866, allocations: 8.101 MB / 345.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.263e-05/2.265e-05, allocations: 3.984 kB / 405.5 MB, free: 61.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06984/0.06988, allocations: 52.52 MB / 458 MB, free: 9.457 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.278/0.3479, allocations: 78.61 MB / 0.524 GB, free: 7.387 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001701/0.3481, allocations: 64.22 kB / 0.5241 GB, free: 7.359 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01383/0.3619, allocations: 5.472 MB / 0.5294 GB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.362, allocations: 4 kB / 0.5294 GB, free: 2.953 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.362, allocations: 0 / 0.5294 GB, free: 2.953 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0008858/0.3629, allocations: 486.2 kB / 0.5299 GB, free: 2.449 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3629, allocations: 8.031 kB / 0.5299 GB, free: 2.441 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.483e-05/0.363, allocations: 15.86 kB / 0.5299 GB, free: 2.426 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.3633, allocations: 212.2 kB / 0.5301 GB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3633, allocations: 11.84 kB / 0.5301 GB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.3634, allocations: 15.75 kB / 0.5301 GB, free: 2.176 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.3637, allocations: 166.1 kB / 0.5303 GB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3637, allocations: 0 / 0.5303 GB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.3637, allocations: 4 kB / 0.5303 GB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3637, allocations: 7.719 kB / 0.5303 GB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/0.364, allocations: 154.5 kB / 0.5305 GB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009332/0.3649, allocations: 0.6132 MB / 0.531 GB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.3652, allocations: 154.2 kB / 0.5312 GB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.594e-05/0.3653, allocations: 67.55 kB / 0.5313 GB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.3654, allocations: 89.09 kB / 0.5313 GB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3655, allocations: 37.75 kB / 0.5314 GB, free: 1.156 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.3655, allocations: 3.938 kB / 0.5314 GB, free: 1.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004958/0.366, allocations: 201.2 kB / 0.5316 GB, free: 1.008 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.366, allocations: 55.36 kB / 0.5316 GB, free: 0.9414 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.3662, allocations: 163 kB / 0.5318 GB, free: 0.7969 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.3662, allocations: 29.64 kB / 0.5318 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.3663, allocations: 119 kB / 0.5319 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.3663, allocations: 42.27 kB / 0.532 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/0.3663, allocations: 6.938 kB / 0.532 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3664, allocations: 318.4 kB / 0.5323 GB, free: 300 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.3666, allocations: 77.17 kB / 0.5324 GB, free: 256 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.3667, allocations: 81.55 kB / 0.5324 GB, free: 212 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.3668, allocations: 79.53 kB / 0.5325 GB, free: 168 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3668, allocations: 4 kB / 0.5325 GB, free: 164 kB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004869/0.3673, allocations: 276.4 kB / 0.5328 GB, free: 15.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3673, allocations: 5.562 kB / 0.5328 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3673, allocations: 0 / 0.5328 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002571/0.3676, allocations: 54.7 kB / 0.5328 GB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.3678, allocations: 43.34 kB / 0.5329 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.3691, allocations: 1.432 MB / 0.5343 GB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.3692, allocations: 11.66 kB / 0.5343 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.3693, allocations: 8.016 kB / 0.5343 GB, free: 14.42 MB / 362.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 (18): * Single equations (assignments): 17 * 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 8.127e-05/0.3694, allocations: 108.2 kB / 0.5344 GB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.3694, allocations: 23.7 kB / 0.5344 GB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000468/0.3699, allocations: 244 kB / 0.5346 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3699, allocations: 0 / 0.5346 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.3699, allocations: 0 / 0.5346 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.3699, allocations: 3.984 kB / 0.5347 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.3702, allocations: 284.9 kB / 0.5349 GB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3702, allocations: 4 kB / 0.5349 GB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.3703, allocations: 19.98 kB / 0.5349 GB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001867/0.3705, allocations: 53.56 kB / 0.535 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.3705, allocations: 3.25 kB / 0.535 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.3717, allocations: 1.433 MB / 0.5364 GB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3718, allocations: 4 kB / 0.5364 GB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.3722, allocations: 310.5 kB / 0.5367 GB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.3723, allocations: 100.4 kB / 0.5368 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.3723, allocations: 0 / 0.5368 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.3724, allocations: 7.125 kB / 0.5368 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.3724, allocations: 7.984 kB / 0.5368 GB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.3725, allocations: 8 kB / 0.5368 GB, free: 11.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.935e-05/0.3726, allocations: 132 kB / 0.5369 GB, free: 11.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3726, allocations: 0 / 0.5369 GB, free: 11.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002948/0.3729, allocations: 55.16 kB / 0.537 GB, free: 11.77 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 (12): * Single equations (assignments): 11 * 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.0001716/0.3731, allocations: 134.5 kB / 0.5371 GB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005242/0.3736, allocations: 286 kB / 0.5374 GB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3736, allocations: 0 / 0.5374 GB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.3739, allocations: 202.5 kB / 0.5376 GB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.3741, allocations: 11.66 kB / 0.5376 GB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.3744, allocations: 182.2 kB / 0.5378 GB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.3747, allocations: 0.7124 MB / 0.5385 GB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.599e-05/0.3748, allocations: 24.75 kB / 0.5385 GB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.3748, allocations: 19.3 kB / 0.5385 GB, free: 10.28 MB / 362.7 MB Notification: Performance of SimCode: time 3.5e-07/0.3748, allocations: 0 / 0.5385 GB, free: 10.28 MB / 362.7 MB Notification: Performance of Templates: time 0.004368/0.3792, allocations: 2.034 MB / 0.5405 GB, free: 8.262 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1)