Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.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.UsingDiesel.OneDieselRescuingOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad") translateModel(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 180.5 kB / 15.8 MB, free: 6.34 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.367/1.367, allocations: 223.2 MB / 239.7 MB, free: 1.793 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008663/0.0008664, allocations: 92.62 kB / 290.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04934/0.04934, allocations: 8.107 MB / 350.1 MB, free: 2.719 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003475, allocations: 9.625 kB / 413.1 MB, free: 89.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1038, allocations: 52.53 MB / 465.6 MB, free: 42.09 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3316/0.4354, allocations: 81.02 MB / 0.5338 GB, free: 16.69 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.4357, allocations: 72.28 kB / 0.5339 GB, free: 16.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0231/0.4588, allocations: 9.591 MB / 0.5433 GB, free: 31.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4589, allocations: 0 / 0.5433 GB, free: 31.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.4589, allocations: 4.312 kB / 0.5433 GB, free: 31.58 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001371/0.4603, allocations: 0.6345 MB / 0.5439 GB, free: 31.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.4603, allocations: 7.875 kB / 0.5439 GB, free: 31.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.23e-05/0.4604, allocations: 38.89 kB / 0.5439 GB, free: 31.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.4607, allocations: 265.8 kB / 0.5442 GB, free: 30.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.409e-05/0.4608, allocations: 77.62 kB / 0.5443 GB, free: 30.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.4608, allocations: 28.31 kB / 0.5443 GB, free: 30.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.4613, allocations: 346.5 kB / 0.5446 GB, free: 30.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.4614, allocations: 0 / 0.5446 GB, free: 30.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.4614, allocations: 11.53 kB / 0.5446 GB, free: 30.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.4614, allocations: 11.86 kB / 0.5446 GB, free: 30.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004234/0.4618, allocations: 333.5 kB / 0.545 GB, free: 30.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.4633, allocations: 1.397 MB / 0.5463 GB, free: 30.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000914/0.4643, allocations: 0.5552 MB / 0.5469 GB, free: 29.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.263e-05/0.4643, allocations: 18.31 kB / 0.5469 GB, free: 29.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003783/0.4647, allocations: 263.1 kB / 0.5471 GB, free: 29.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 1.863e-06/0.4647, allocations: 0 / 0.5471 GB, free: 29.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.002483/0.4672, allocations: 1.035 MB / 0.5481 GB, free: 29.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.4673, allocations: 59.23 kB / 0.5482 GB, free: 29.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.4674, allocations: 172.4 kB / 0.5484 GB, free: 29.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.4674, allocations: 37.08 kB / 0.5484 GB, free: 29.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.652e-05/0.4675, allocations: 138.2 kB / 0.5485 GB, free: 29.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.937e-05/0.4676, allocations: 155.5 kB / 0.5487 GB, free: 29.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.4676, allocations: 3.688 kB / 0.5487 GB, free: 29.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.685e-05/0.4677, allocations: 340.9 kB / 0.549 GB, free: 29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.4679, allocations: 170.1 kB / 0.5492 GB, free: 29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.4682, allocations: 208.6 kB / 0.5494 GB, free: 28.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.4684, allocations: 177.8 kB / 0.5495 GB, free: 28.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4684, allocations: 0 / 0.5495 GB, free: 28.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001242/0.4696, allocations: 0.6749 MB / 0.5502 GB, free: 28.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4697, allocations: 7.844 kB / 0.5502 GB, free: 28.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4697, allocations: 3.75 kB / 0.5502 GB, free: 28.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.4708, allocations: 285.5 kB / 0.5505 GB, free: 28.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.471, allocations: 51.8 kB / 0.5505 GB, free: 28.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003354/0.4743, allocations: 2.816 MB / 0.5533 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.4746, allocations: 36.47 kB / 0.5533 GB, free: 27.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.4746, allocations: 14.02 kB / 0.5533 GB, free: 27.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,brk2.BrkOpen) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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 {6 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.4748, allocations: 151.2 kB / 0.5535 GB, free: 27.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.4748, allocations: 24.03 kB / 0.5535 GB, free: 27.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.4764, allocations: 0.7269 MB / 0.5542 GB, free: 27.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4764, allocations: 7.828 kB / 0.5542 GB, free: 27.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.4765, allocations: 0 / 0.5542 GB, free: 27.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.4765, allocations: 7.156 kB / 0.5542 GB, free: 27.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.4784, allocations: 1.275 MB / 0.5555 GB, free: 26.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.4784, allocations: 0 / 0.5555 GB, free: 26.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.4786, allocations: 57.44 kB / 0.5555 GB, free: 26.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.4796, allocations: 283.9 kB / 0.5558 GB, free: 26.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.4796, allocations: 11.25 kB / 0.5558 GB, free: 26.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003797/0.4834, allocations: 2.78 MB / 0.5585 GB, free: 25.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4835, allocations: 1.156 kB / 0.5585 GB, free: 25.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.4854, allocations: 0.7628 MB / 0.5593 GB, free: 25.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.4855, allocations: 119.3 kB / 0.5594 GB, free: 25.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.4856, allocations: 10.92 kB / 0.5594 GB, free: 25.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.4858, allocations: 20.88 kB / 0.5594 GB, free: 25.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.486, allocations: 41.08 kB / 0.5594 GB, free: 25.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/0.4861, allocations: 14.06 kB / 0.5595 GB, free: 25.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002015/0.4863, allocations: 148.9 kB / 0.5596 GB, free: 25.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4863, allocations: 0 / 0.5596 GB, free: 25.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006511/0.4869, allocations: 127.8 kB / 0.5597 GB, free: 25.14 MB / 378.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: 2 ($whenCondition1,brk2.BrkOpen) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 {6 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002871/0.4872, allocations: 127.7 kB / 0.5598 GB, free: 25.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.4886, allocations: 0.6835 MB / 0.5605 GB, free: 24.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4887, allocations: 0 / 0.5605 GB, free: 24.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009245/0.4896, allocations: 495.7 kB / 0.561 GB, free: 24.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.4899, allocations: 22.44 kB / 0.561 GB, free: 24.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009625/0.4909, allocations: 0.6895 MB / 0.5617 GB, free: 24.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.4912, allocations: 0.777 MB / 0.5624 GB, free: 23.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001504/0.4913, allocations: 41.8 kB / 0.5625 GB, free: 23.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/0.4914, allocations: 30.92 kB / 0.5625 GB, free: 23.66 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4914, allocations: 0 / 0.5625 GB, free: 23.66 MB / 378.7 MB Notification: Performance of Templates: time 0.01011/0.5015, allocations: 6.215 MB / 0.5686 GB, free: 23.24 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe 2>&1)