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.0009582/0.0009584, allocations: 92.42 kB / 16.71 MB, free: 6.637 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.0008003/0.0008003, allocations: 180.1 kB / 17.62 MB, free: 6.16 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.303/1.303, allocations: 223.3 MB / 241.7 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.03968/0.03968, allocations: 8.096 MB / 300.9 MB, free: 6.68 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002907, allocations: 8 kB / 364.2 MB, free: 7.371 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1968, allocations: 52.51 MB / 416.7 MB, free: 24.85 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad): time 0.002124/0.199, allocations: 2.487 MB / 419.1 MB, free: 22.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.2001, allocations: 0.8134 MB / 420 MB, free: 21.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.263e-05/0.2002, allocations: 4 kB / 420 MB, free: 21.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.2005, allocations: 115.6 kB / 420.1 MB, free: 21.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.2008, allocations: 131.3 kB / 420.2 MB, free: 21.29 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.001209/0.202, allocations: 0.8766 MB / 421.1 MB, free: 20.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002979/0.2023, allocations: 294.5 kB / 421.4 MB, free: 20.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.2025, allocations: 95.5 kB / 421.5 MB, free: 20.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.395e-05/0.2025, allocations: 115.5 kB / 421.6 MB, free: 19.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.2027, allocations: 175.2 kB / 421.7 MB, free: 19.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.2028, allocations: 20 kB / 421.8 MB, free: 19.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003031/0.2031, allocations: 199.8 kB / 422 MB, free: 19.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.2031, allocations: 51.7 kB / 422 MB, free: 19.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.175e-05/0.2032, allocations: 157 kB / 422.2 MB, free: 19.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.2035, allocations: 325.1 kB / 422.5 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2035, allocations: 0 / 422.5 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2036, allocations: 0 / 422.5 MB, free: 19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2036, allocations: 0 / 422.5 MB, free: 19 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.001867/0.2054, allocations: 0.7448 MB / 423.2 MB, free: 18.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2055, allocations: 15.97 kB / 423.2 MB, free: 18.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.911e-05/0.2056, allocations: 36.56 kB / 423.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.2058, allocations: 260.6 kB / 423.5 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.77e-05/0.2059, allocations: 84.47 kB / 423.6 MB, free: 17.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/0.2059, allocations: 28.36 kB / 423.6 MB, free: 17.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004617/0.2064, allocations: 349.3 kB / 424 MB, free: 17.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.2064, allocations: 3.938 kB / 424 MB, free: 17.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.2065, allocations: 12 kB / 424 MB, free: 17.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.2065, allocations: 4 kB / 424 MB, free: 17.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004112/0.2069, allocations: 342.1 kB / 424.3 MB, free: 17.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.2081, allocations: 1.307 MB / 425.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008845/0.209, allocations: 0.563 MB / 426.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.2093, allocations: 216.8 kB / 426.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.837e-05/0.2094, allocations: 11.98 kB / 426.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003736/0.2097, allocations: 267.9 kB / 426.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.304e-06/0.2097, allocations: 0 / 426.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002687/0.2124, allocations: 1.07 MB / 427.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.2125, allocations: 55.41 kB / 427.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.2127, allocations: 195.1 kB / 428 MB, free: 13.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.2127, allocations: 33.7 kB / 428 MB, free: 13.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.2128, allocations: 140.6 kB / 428.2 MB, free: 12.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.167e-05/0.2129, allocations: 137.9 kB / 428.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.2129, allocations: 41.7 kB / 428.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.948e-05/0.213, allocations: 334.8 kB / 428.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.2132, allocations: 184.8 kB / 428.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.2135, allocations: 223.3 kB / 429.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004985/0.214, allocations: 403 kB / 429.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.214, allocations: 0 / 429.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001397/0.2154, allocations: 0.7187 MB / 430.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.2155, allocations: 8 kB / 430.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2155, allocations: 0 / 430.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.2167, allocations: 311.9 kB / 430.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.2169, allocations: 59.84 kB / 430.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003255/0.2202, allocations: 2.732 MB / 433.3 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.2204, allocations: 35.59 kB / 433.3 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.2205, allocations: 20 kB / 433.3 MB, free: 7.625 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.0001351/0.2206, allocations: 151.4 kB / 433.5 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.2207, allocations: 31.7 kB / 433.5 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.2221, allocations: 0.7265 MB / 434.3 MB, free: 6.699 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.2222, allocations: 4 kB / 434.3 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.2222, allocations: 4 kB / 434.3 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.2222, allocations: 3.984 kB / 434.3 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.2239, allocations: 1.252 MB / 435.5 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2239, allocations: 0 / 435.5 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.2241, allocations: 51.92 kB / 435.6 MB, free: 5.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001098/0.2252, allocations: 304.5 kB / 435.9 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.2252, allocations: 11.98 kB / 435.9 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002945/0.2282, allocations: 2.706 MB / 438.6 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2282, allocations: 0 / 438.6 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.2296, allocations: 0.7696 MB / 439.4 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.2297, allocations: 112.8 kB / 439.5 MB, free: 1.258 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.2297, allocations: 12 kB / 439.5 MB, free: 1.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.23, allocations: 31.92 kB / 439.5 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-05/0.2301, allocations: 32.39 kB / 439.5 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.2301, allocations: 15.98 kB / 439.6 MB, free: 1.168 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.2302, allocations: 144.1 kB / 439.7 MB, free: 1.023 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2302, allocations: 0 / 439.7 MB, free: 1.023 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004722/0.2307, allocations: 127.8 kB / 439.8 MB, free: 0.8984 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.0001762/0.2309, allocations: 115.2 kB / 439.9 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.2321, allocations: 0.7104 MB / 440.6 MB, free: 52 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2321, allocations: 0 / 440.6 MB, free: 52 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009289/0.233, allocations: 493.1 kB / 441.1 MB, free: 15.56 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.2334, allocations: 30.5 kB / 441.2 MB, free: 15.53 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.2346, allocations: 0.7701 MB / 441.9 MB, free: 14.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.235, allocations: 0.7776 MB / 442.7 MB, free: 13.93 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.088e-05/0.2351, allocations: 39.38 kB / 442.7 MB, free: 13.89 MB / 318.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2351, allocations: 0 / 442.7 MB, free: 13.89 MB / 318.1 MB Notification: Performance of Templates: time 0.007615/0.2427, allocations: 5.559 MB / 448.3 MB, free: 8.332 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)