Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 171.8 kB / 16.8 MB, free: 5.02 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.314/1.314, allocations: 223.3 MB / 240.8 MB, free: 9.957 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.0007997/0.0007997, allocations: 96.11 kB / 292 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04226/0.04226, allocations: 8.102 MB / 351.2 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.000332, allocations: 8 kB / 414.4 MB, free: 57.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08191/0.08226, allocations: 52.52 MB / 466.9 MB, free: 4.688 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3029/0.3852, allocations: 79.68 MB / 0.5338 GB, free: 5.836 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.3855, allocations: 65.09 kB / 0.5338 GB, free: 5.805 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01745/0.403, allocations: 6.728 MB / 0.5404 GB, free: 404 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.403, allocations: 0 / 0.5404 GB, free: 404 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.403, allocations: 10.44 kB / 0.5404 GB, free: 396 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0013/0.4043, allocations: 0.546 MB / 0.5409 GB, free: 15.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.4044, allocations: 12.03 kB / 0.5409 GB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.4045, allocations: 20.66 kB / 0.541 GB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.4048, allocations: 249.5 kB / 0.5412 GB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.4048, allocations: 7.719 kB / 0.5412 GB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.4048, allocations: 16.25 kB / 0.5412 GB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.4052, allocations: 212.2 kB / 0.5414 GB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4052, allocations: 192 / 0.5414 GB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.4052, allocations: 14.88 kB / 0.5414 GB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4052, allocations: 4 kB / 0.5414 GB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.4055, allocations: 200.7 kB / 0.5416 GB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.4067, allocations: 0.8819 MB / 0.5425 GB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000679/0.4074, allocations: 378.2 kB / 0.5429 GB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.4076, allocations: 132.5 kB / 0.543 GB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.792e-05/0.4077, allocations: 15.23 kB / 0.543 GB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.4077, allocations: 38.5 kB / 0.543 GB, free: 14.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.373e-06/0.4077, allocations: 0 / 0.543 GB, free: 14.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.002292/0.41, allocations: 0.7643 MB / 0.5438 GB, free: 13.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.4101, allocations: 51.41 kB / 0.5438 GB, free: 13.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.4103, allocations: 184.9 kB / 0.544 GB, free: 13.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.4103, allocations: 29.14 kB / 0.544 GB, free: 13.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.126e-05/0.4104, allocations: 122.5 kB / 0.5442 GB, free: 13.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6e-05/0.4105, allocations: 77.53 kB / 0.5442 GB, free: 13.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.4105, allocations: 3.375 kB / 0.5442 GB, free: 13.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4107, allocations: 329.5 kB / 0.5445 GB, free: 12.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.4108, allocations: 108.6 kB / 0.5446 GB, free: 12.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.411, allocations: 113.8 kB / 0.5448 GB, free: 12.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.4113, allocations: 240.3 kB / 0.545 GB, free: 12.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4114, allocations: 4 kB / 0.545 GB, free: 12.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008962/0.4123, allocations: 440.5 kB / 0.5454 GB, free: 12.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.4123, allocations: 7.938 kB / 0.5454 GB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.4123, allocations: 7.938 kB / 0.5454 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007285/0.413, allocations: 175.8 kB / 0.5456 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.4132, allocations: 35.84 kB / 0.5456 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/0.4161, allocations: 2.179 MB / 0.5478 GB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.4162, allocations: 19.97 kB / 0.5478 GB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.4163, allocations: 12 kB / 0.5478 GB, free: 9.812 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.4164, allocations: 134.3 kB / 0.5479 GB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.4165, allocations: 23.73 kB / 0.5479 GB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.4175, allocations: 471.7 kB / 0.5484 GB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4175, allocations: 4 kB / 0.5484 GB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.4175, allocations: 0 / 0.5484 GB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.4175, allocations: 0 / 0.5484 GB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.4189, allocations: 0.8817 MB / 0.5492 GB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4189, allocations: 0 / 0.5492 GB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.951e-05/0.419, allocations: 23.98 kB / 0.5493 GB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006534/0.4196, allocations: 184.8 kB / 0.5494 GB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.4197, allocations: 8 kB / 0.5495 GB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002628/0.4223, allocations: 2.163 MB / 0.5516 GB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.4223, allocations: 0 / 0.5516 GB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009827/0.4233, allocations: 0.5232 MB / 0.5521 GB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-05/0.4234, allocations: 100.8 kB / 0.5522 GB, free: 5.059 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.4234, allocations: 4 kB / 0.5522 GB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.4236, allocations: 15.98 kB / 0.5522 GB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.4237, allocations: 19.92 kB / 0.5522 GB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.4237, allocations: 7.984 kB / 0.5522 GB, free: 5.012 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001416/0.4239, allocations: 151.5 kB / 0.5524 GB, free: 4.863 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4239, allocations: 0 / 0.5524 GB, free: 4.863 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004275/0.4243, allocations: 83.98 kB / 0.5524 GB, free: 4.781 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001926/0.4245, allocations: 115.2 kB / 0.5526 GB, free: 4.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009112/0.4254, allocations: 454.4 kB / 0.553 GB, free: 4.203 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.4254, allocations: 4 kB / 0.553 GB, free: 4.199 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006077/0.4261, allocations: 335.3 kB / 0.5533 GB, free: 3.859 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.4264, allocations: 20.28 kB / 0.5533 GB, free: 3.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008029/0.4272, allocations: 0.4966 MB / 0.5538 GB, free: 3.312 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.4275, allocations: 0.7253 MB / 0.5545 GB, free: 2.562 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.855e-05/0.4276, allocations: 29.52 kB / 0.5546 GB, free: 2.535 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.4277, allocations: 23.42 kB / 0.5546 GB, free: 2.512 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4277, allocations: 0 / 0.5546 GB, free: 2.512 MB / 362.7 MB Notification: Performance of Templates: time 0.007586/0.4352, allocations: 4.254 MB / 0.5587 GB, free: 14.27 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1)