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/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 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.00122/0.001221, allocations: 101.9 kB / 16.31 MB, free: 6.359 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.001199/0.001199, allocations: 189.8 kB / 17.24 MB, free: 5.875 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.362/1.362, allocations: 222.9 MB / 240.9 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05195/0.05195, allocations: 8.094 MB / 299.2 MB, free: 6.703 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.91 kB / 361.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2169, allocations: 51.51 MB / 413.3 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad): time 0.003294/0.2203, allocations: 2.804 MB / 416.1 MB, free: 22.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.2215, allocations: 0.8327 MB / 416.9 MB, free: 21.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.2216, allocations: 8 kB / 416.9 MB, free: 21.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.222, allocations: 131.2 kB / 417 MB, free: 21.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.2223, allocations: 147.1 kB / 417.2 MB, free: 21.64 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.001334/0.2236, allocations: 0.922 MB / 418.1 MB, free: 20.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.224, allocations: 306.5 kB / 418.4 MB, free: 20.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.2242, allocations: 118.9 kB / 418.5 MB, free: 20.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.2243, allocations: 131.5 kB / 418.6 MB, free: 20.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.2246, allocations: 191.3 kB / 418.8 MB, free: 19.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/0.2247, allocations: 24 kB / 418.8 MB, free: 19.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003381/0.225, allocations: 223.7 kB / 419.1 MB, free: 19.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.433e-05/0.2251, allocations: 63.7 kB / 419.1 MB, free: 19.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.2252, allocations: 147.2 kB / 419.3 MB, free: 19.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.2256, allocations: 460.6 kB / 419.7 MB, free: 19.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2256, allocations: 0 / 419.7 MB, free: 19.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2256, allocations: 4 kB / 419.7 MB, free: 19.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.2256, allocations: 0 / 419.7 MB, free: 19.08 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.001875/0.2275, allocations: 0.7878 MB / 420.5 MB, free: 18.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.2276, allocations: 8.031 kB / 420.5 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.574e-05/0.2277, allocations: 36.56 kB / 420.6 MB, free: 18.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.2279, allocations: 270.2 kB / 420.8 MB, free: 17.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.814e-05/0.228, allocations: 76.53 kB / 420.9 MB, free: 17.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.2281, allocations: 24.38 kB / 420.9 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/0.2285, allocations: 353.3 kB / 421.3 MB, free: 17.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2285, allocations: 3.938 kB / 421.3 MB, free: 17.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.2286, allocations: 16 kB / 421.3 MB, free: 17.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.2286, allocations: 4 kB / 421.3 MB, free: 17.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/0.229, allocations: 338 kB / 421.6 MB, free: 17.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.2302, allocations: 1.311 MB / 422.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008849/0.2311, allocations: 0.5552 MB / 423.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.2314, allocations: 220.6 kB / 423.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.432e-05/0.2314, allocations: 11.98 kB / 423.7 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004259/0.2319, allocations: 267.8 kB / 424 MB, free: 14.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.334e-06/0.2319, allocations: 0 / 424 MB, free: 14.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002677/0.2346, allocations: 1.069 MB / 425 MB, free: 13.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.2346, allocations: 55.41 kB / 425.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.2348, allocations: 190.6 kB / 425.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.2348, allocations: 33.7 kB / 425.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/0.2349, allocations: 140.6 kB / 425.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.706e-05/0.2349, allocations: 145.9 kB / 425.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.235, allocations: 74.12 kB / 425.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.049e-05/0.2351, allocations: 334.8 kB / 426 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.2353, allocations: 184.8 kB / 426.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.2356, allocations: 219.3 kB / 426.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000482/0.2361, allocations: 415 kB / 426.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2361, allocations: 0 / 426.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001394/0.2375, allocations: 0.7031 MB / 427.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2375, allocations: 12.05 kB / 427.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2375, allocations: 3.938 kB / 427.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.2387, allocations: 304.6 kB / 427.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.2389, allocations: 55.91 kB / 427.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003297/0.2423, allocations: 2.974 MB / 430.8 MB, free: 7.453 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.2425, allocations: 39.67 kB / 430.9 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.2425, allocations: 12 kB / 430.9 MB, free: 7.402 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.0001413/0.2427, allocations: 153.7 kB / 431 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.2427, allocations: 27.66 kB / 431.1 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.2442, allocations: 0.7264 MB / 431.8 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.2443, allocations: 7.984 kB / 431.8 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.2443, allocations: 0 / 431.8 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2443, allocations: 0 / 431.8 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.2461, allocations: 1.256 MB / 433.1 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.2461, allocations: 3.984 kB / 433.1 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.2463, allocations: 47.92 kB / 433.1 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001101/0.2474, allocations: 312.5 kB / 433.4 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.2474, allocations: 12 kB / 433.4 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003086/0.2505, allocations: 2.931 MB / 436.4 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2505, allocations: 0 / 436.4 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.2519, allocations: 0.7735 MB / 437.1 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.2519, allocations: 104.8 kB / 437.2 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.252, allocations: 8 kB / 437.2 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.2522, allocations: 15.98 kB / 437.3 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.2523, allocations: 44.39 kB / 437.3 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.2524, allocations: 12 kB / 437.3 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.2525, allocations: 144.9 kB / 437.4 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2525, allocations: 3.938 kB / 437.5 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004802/0.253, allocations: 135.8 kB / 437.6 MB, free: 448 kB / 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.0001692/0.2531, allocations: 115.2 kB / 437.7 MB, free: 324 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.2546, allocations: 0.7299 MB / 438.4 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2546, allocations: 0 / 438.4 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009139/0.2555, allocations: 497.3 kB / 438.9 MB, free: 15.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.2559, allocations: 54.38 kB / 439 MB, free: 15.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.2571, allocations: 0.5996 MB / 439.6 MB, free: 14.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.2574, allocations: 0.7735 MB / 440.3 MB, free: 13.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001492/0.2576, allocations: 38.94 kB / 440.4 MB, free: 13.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.2577, allocations: 31.42 kB / 440.4 MB, free: 13.54 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2577, allocations: 0 / 440.4 MB, free: 13.54 MB / 318.1 MB Notification: Performance of Templates: time 0.01128/0.2689, allocations: 7.068 MB / 447.5 MB, free: 6.484 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)