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.001536/0.001536, allocations: 108.9 kB / 16.68 MB, free: 6.277 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.001221/0.001221, allocations: 196.1 kB / 17.61 MB, free: 5.734 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.347/1.347, allocations: 222.9 MB / 241.3 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04655/0.04655, allocations: 8.092 MB / 299.5 MB, free: 6.91 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 59.91 kB / 361.9 MB, free: 8.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2094, allocations: 51.52 MB / 413.4 MB, free: 25.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad): time 0.003409/0.2129, allocations: 2.842 MB / 416.2 MB, free: 22.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.2143, allocations: 0.825 MB / 417.1 MB, free: 22.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.2144, allocations: 4 kB / 417.1 MB, free: 22.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.2148, allocations: 115.5 kB / 417.2 MB, free: 22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.2152, allocations: 127.3 kB / 417.3 MB, free: 21.87 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.001275/0.2165, allocations: 0.8757 MB / 418.2 MB, free: 20.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003498/0.2169, allocations: 298.6 kB / 418.5 MB, free: 20.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.2171, allocations: 130.9 kB / 418.6 MB, free: 20.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.2172, allocations: 123.5 kB / 418.7 MB, free: 20.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.2174, allocations: 195.2 kB / 418.9 MB, free: 20.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.652e-05/0.2175, allocations: 24 kB / 418.9 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003696/0.2178, allocations: 211.8 kB / 419.1 MB, free: 20.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.675e-05/0.2179, allocations: 67.75 kB / 419.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.825e-05/0.218, allocations: 147.3 kB / 419.4 MB, free: 19.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003644/0.2184, allocations: 349.2 kB / 419.7 MB, free: 19.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2184, allocations: 4 kB / 419.7 MB, free: 19.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2184, allocations: 0 / 419.7 MB, free: 19.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.2184, allocations: 4 kB / 419.7 MB, free: 19.47 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.001896/0.2203, allocations: 0.7787 MB / 420.5 MB, free: 18.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.2204, allocations: 11.89 kB / 420.5 MB, free: 18.63 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.247e-05/0.2205, allocations: 36.56 kB / 420.5 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.2207, allocations: 272.5 kB / 420.8 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/0.2208, allocations: 80.47 kB / 420.9 MB, free: 18.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.2208, allocations: 32.38 kB / 420.9 MB, free: 18.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/0.2213, allocations: 349.4 kB / 421.3 MB, free: 17.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.2214, allocations: 3.938 kB / 421.3 MB, free: 17.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.2214, allocations: 8 kB / 421.3 MB, free: 17.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.2214, allocations: 8 kB / 421.3 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.2218, allocations: 334 kB / 421.6 MB, free: 17.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.2231, allocations: 1.303 MB / 422.9 MB, free: 16.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008647/0.224, allocations: 0.5708 MB / 423.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.2242, allocations: 212.7 kB / 423.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.694e-05/0.2243, allocations: 12 kB / 423.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00042/0.2247, allocations: 263.9 kB / 423.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.754e-06/0.2247, allocations: 0 / 423.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002565/0.2273, allocations: 1.062 MB / 425 MB, free: 13.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.2273, allocations: 59.41 kB / 425.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.2275, allocations: 191.1 kB / 425.3 MB, free: 13.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.2275, allocations: 37.7 kB / 425.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.2276, allocations: 140.6 kB / 425.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.991e-05/0.2277, allocations: 149.9 kB / 425.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.2278, allocations: 74.12 kB / 425.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.109e-05/0.2278, allocations: 338.8 kB / 426 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.2281, allocations: 176.8 kB / 426.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.2283, allocations: 215.3 kB / 426.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004695/0.2288, allocations: 419 kB / 426.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.2288, allocations: 4 kB / 426.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001299/0.2301, allocations: 0.707 MB / 427.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2301, allocations: 7.984 kB / 427.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2302, allocations: 0 / 427.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.2313, allocations: 311.4 kB / 427.8 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.2315, allocations: 63.91 kB / 427.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003433/0.235, allocations: 2.956 MB / 430.8 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.2352, allocations: 35.67 kB / 430.8 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.2353, allocations: 12 kB / 430.9 MB, free: 7.805 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.000147/0.2354, allocations: 151.3 kB / 431 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.2355, allocations: 31.66 kB / 431 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.2369, allocations: 0.7225 MB / 431.8 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.2369, allocations: 7.984 kB / 431.8 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.2369, allocations: 0 / 431.8 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.2369, allocations: 0 / 431.8 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.2387, allocations: 1.26 MB / 433 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.2387, allocations: 7.984 kB / 433 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.2389, allocations: 51.92 kB / 433.1 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/0.24, allocations: 304.5 kB / 433.4 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.24, allocations: 12 kB / 433.4 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00305/0.2431, allocations: 2.925 MB / 436.3 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2431, allocations: 0 / 436.3 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.2444, allocations: 0.7735 MB / 437.1 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/0.2445, allocations: 104.8 kB / 437.2 MB, free: 1.207 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.2446, allocations: 15.94 kB / 437.2 MB, free: 1.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.2448, allocations: 15.98 kB / 437.2 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.2449, allocations: 44.45 kB / 437.3 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.2449, allocations: 16 kB / 437.3 MB, free: 1.113 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.245, allocations: 144 kB / 437.4 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.245, allocations: 4 kB / 437.4 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004728/0.2455, allocations: 131.8 kB / 437.6 MB, free: 0.8359 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.0001852/0.2457, allocations: 119.2 kB / 437.7 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.247, allocations: 0.7338 MB / 438.4 MB, free: 15.96 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.247, allocations: 0 / 438.4 MB, free: 15.96 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008955/0.2479, allocations: 0.4893 MB / 438.9 MB, free: 15.46 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.2484, allocations: 31.98 kB / 438.9 MB, free: 15.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.2496, allocations: 0.7481 MB / 439.7 MB, free: 14.65 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.25, allocations: 0.7657 MB / 440.4 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.294e-05/0.2501, allocations: 43.42 kB / 440.5 MB, free: 13.82 MB / 318.1 MB Notification: Performance of SimCode: time 7.32e-07/0.2501, allocations: 0 / 440.5 MB, free: 13.82 MB / 318.1 MB Notification: Performance of Templates: time 0.008338/0.2584, allocations: 5.589 MB / 446.1 MB, free: 8.23 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)