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/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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 104.1 kB / 16.57 MB, free: 6.73 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.001162/0.001162, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.377/1.377, allocations: 222.9 MB / 241.2 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04693/0.04693, allocations: 8.098 MB / 299.4 MB, free: 6.953 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.89 kB / 361.7 MB, free: 8.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2119, allocations: 51.51 MB / 413.2 MB, free: 25.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad): time 0.0031/0.2151, allocations: 2.847 MB / 416.1 MB, free: 22.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.2163, allocations: 0.829 MB / 416.9 MB, free: 22.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.348e-05/0.2164, allocations: 4 kB / 416.9 MB, free: 22.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.2168, allocations: 115.5 kB / 417 MB, free: 22.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.2171, allocations: 131.3 kB / 417.1 MB, free: 21.9 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo:34:7-34:67:writable] Warning: In relation diesel.rampTime == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.2184, allocations: 0.8991 MB / 418 MB, free: 21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.2187, allocations: 298.6 kB / 418.3 MB, free: 20.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.2188, allocations: 103.5 kB / 418.4 MB, free: 20.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.919e-05/0.2189, allocations: 123.5 kB / 418.5 MB, free: 20.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.2191, allocations: 187.2 kB / 418.7 MB, free: 20.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.2192, allocations: 24 kB / 418.8 MB, free: 20.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003263/0.2195, allocations: 203.8 kB / 419 MB, free: 20.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.639e-05/0.2196, allocations: 59.7 kB / 419 MB, free: 20.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.2197, allocations: 139.3 kB / 419.1 MB, free: 19.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.22, allocations: 337.2 kB / 419.5 MB, free: 19.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.22, allocations: 0 / 419.5 MB, free: 19.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.22, allocations: 0 / 419.5 MB, free: 19.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.22, allocations: 0 / 419.5 MB, free: 19.55 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001818/0.2218, allocations: 0.7878 MB / 420.3 MB, free: 18.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.2219, allocations: 15.97 kB / 420.3 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.514e-05/0.222, allocations: 40.56 kB / 420.3 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.2222, allocations: 264.5 kB / 420.6 MB, free: 18.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.331e-05/0.2223, allocations: 80.52 kB / 420.7 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.2223, allocations: 40.25 kB / 420.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004721/0.2228, allocations: 341.4 kB / 421 MB, free: 17.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2228, allocations: 3.938 kB / 421 MB, free: 17.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.2228, allocations: 12 kB / 421 MB, free: 17.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2229, allocations: 8 kB / 421.1 MB, free: 17.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004145/0.2233, allocations: 330.1 kB / 421.4 MB, free: 17.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.2245, allocations: 1.315 MB / 422.7 MB, free: 16.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008549/0.2254, allocations: 0.5591 MB / 423.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.2256, allocations: 216.8 kB / 423.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.206e-05/0.2257, allocations: 11.98 kB / 423.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004184/0.2261, allocations: 267.9 kB / 423.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.934e-06/0.2261, allocations: 0 / 423.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003803/0.23, allocations: 1.058 MB / 424.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.23, allocations: 55.41 kB / 424.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.2303, allocations: 199.1 kB / 425 MB, free: 13.67 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.339e-05/0.2304, allocations: 41.64 kB / 425.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.584e-05/0.2305, allocations: 132.6 kB / 425.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.2306, allocations: 141.9 kB / 425.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.2308, allocations: 82.11 kB / 425.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.622e-05/0.2309, allocations: 334.8 kB / 425.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004228/0.2313, allocations: 176.8 kB / 425.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004784/0.2318, allocations: 227.3 kB / 426.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008641/0.2327, allocations: 407 kB / 426.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2327, allocations: 0 / 426.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00227/0.235, allocations: 0.7071 MB / 427.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.2351, allocations: 4 kB / 427.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.2351, allocations: 4 kB / 427.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001898/0.237, allocations: 303.5 kB / 427.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.2374, allocations: 67.91 kB / 427.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005373/0.2428, allocations: 2.728 MB / 430.4 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/0.2432, allocations: 31.75 kB / 430.4 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.552e-05/0.2432, allocations: 12 kB / 430.4 MB, free: 8.129 MB / 302.1 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,n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002187/0.2435, allocations: 153.7 kB / 430.5 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.716e-05/0.2436, allocations: 35.64 kB / 430.6 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.246, allocations: 0.7264 MB / 431.3 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.246, allocations: 4 kB / 431.3 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2461, allocations: 0 / 431.3 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.2461, allocations: 3.984 kB / 431.3 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002897/0.249, allocations: 1.26 MB / 432.6 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.249, allocations: 3.984 kB / 432.6 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.2493, allocations: 43.98 kB / 432.6 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001769/0.2511, allocations: 312.4 kB / 432.9 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.382e-05/0.2511, allocations: 8 kB / 432.9 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004867/0.256, allocations: 2.69 MB / 435.6 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.256, allocations: 0 / 435.6 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/0.2583, allocations: 0.7735 MB / 436.4 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.476e-05/0.2584, allocations: 112.7 kB / 436.5 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.27e-05/0.2585, allocations: 8 kB / 436.5 MB, free: 1.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.2588, allocations: 23.92 kB / 436.5 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.259, allocations: 32.52 kB / 436.6 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.691e-05/0.2591, allocations: 23.98 kB / 436.6 MB, free: 1.672 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001699/0.2593, allocations: 140.1 kB / 436.7 MB, free: 1.531 MB / 302.1 MB Notification: Performance of sort global known variables: time 4e-07/0.2593, allocations: 0 / 436.7 MB, free: 1.531 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008112/0.2601, allocations: 131.8 kB / 436.9 MB, free: 1.402 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: 2 ($whenCondition1,n.y) * 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002084/0.2603, allocations: 124.9 kB / 437 MB, free: 1.273 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.2622, allocations: 0.6987 MB / 437.7 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2622, allocations: 4 kB / 437.7 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.2634, allocations: 493.1 kB / 438.2 MB, free: 64 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005922/0.264, allocations: 27.98 kB / 438.2 MB, free: 36 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.2659, allocations: 0.744 MB / 438.9 MB, free: 15.26 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/0.2664, allocations: 0.7738 MB / 439.7 MB, free: 14.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.2666, allocations: 31.44 kB / 439.7 MB, free: 14.43 MB / 318.1 MB Notification: Performance of SimCode: time 9.02e-07/0.2666, allocations: 0 / 439.7 MB, free: 14.43 MB / 318.1 MB Notification: Performance of Templates: time 0.01288/0.2795, allocations: 5.592 MB / 445.3 MB, free: 8.836 MB / 318.1 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)