Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.EV.EVdata.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/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/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/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/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) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.EVdata") translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.EVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04679/0.04679, allocations: 8.032 MB / 23.53 MB, free: 4.801 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009385/0.0009385, allocations: 107.6 kB / 26.11 MB, free: 3.074 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 194.3 kB / 28.79 MB, free: 408 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 254.2 MB, free: 4.793 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01214/0.01214, allocations: 3.124 MB / 309.3 MB, free: 2.371 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 95.84 kB / 373.7 MB, free: 1.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2147, allocations: 51.98 MB / 425.6 MB, free: 21.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.003819/0.2186, allocations: 3.258 MB / 428.9 MB, free: 18.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002771/0.2214, allocations: 2.262 MB / 431.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002265/0.2216, allocations: 4 kB / 431.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000467/0.2221, allocations: 145.5 kB / 431.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003855/0.2225, allocations: 162.8 kB / 431.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007888/0.2233, allocations: 412 kB / 431.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004284/0.2238, allocations: 0.6464 MB / 432.5 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.224, allocations: 157.5 kB / 432.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.2242, allocations: 267.1 kB / 432.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.2245, allocations: 262.8 kB / 433.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.719e-05/0.2246, allocations: 52 kB / 433.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.2248, allocations: 155.9 kB / 433.4 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.2249, allocations: 127.6 kB / 433.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.2251, allocations: 250.7 kB / 433.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005072/0.2256, allocations: 0.6619 MB / 434.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2256, allocations: 4 kB / 434.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.2256, allocations: 0 / 434.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.2256, allocations: 4 kB / 434.4 MB, free: 12.59 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001176/0.2268, allocations: 0.8271 MB / 435.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.2268, allocations: 12.03 kB / 435.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.227, allocations: 56.28 kB / 435.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.2274, allocations: 400.6 kB / 435.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.306e-05/0.2275, allocations: 55.27 kB / 435.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.677e-05/0.2275, allocations: 31.94 kB / 435.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006665/0.2282, allocations: 473.4 kB / 436.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.2282, allocations: 0 / 436.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.2283, allocations: 16 kB / 436.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.2283, allocations: 8 kB / 436.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000627/0.2289, allocations: 331.8 kB / 436.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.2307, allocations: 1.354 MB / 438 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008776/0.2315, allocations: 390.2 kB / 438.3 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/0.2318, allocations: 148.8 kB / 438.5 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/0.2319, allocations: 12.77 kB / 438.5 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004703/0.2324, allocations: 235.1 kB / 438.7 MB, free: 8.059 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.034e-06/0.2324, allocations: 4 kB / 438.7 MB, free: 8.055 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003618/0.236, allocations: 1.776 MB / 440.5 MB, free: 6.164 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.2361, allocations: 166.2 kB / 440.7 MB, free: 5.965 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.2364, allocations: 365.6 kB / 441 MB, free: 5.602 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.2364, allocations: 41.69 kB / 441.1 MB, free: 5.555 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.2366, allocations: 216.5 kB / 441.3 MB, free: 5.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.2366, allocations: 138.1 kB / 441.4 MB, free: 5.203 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.2368, allocations: 86.02 kB / 441.5 MB, free: 5.113 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.2368, allocations: 354.8 kB / 441.8 MB, free: 4.758 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/0.2372, allocations: 162.5 kB / 442 MB, free: 4.594 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/0.2375, allocations: 275.4 kB / 442.3 MB, free: 4.289 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005819/0.2381, allocations: 359.7 kB / 442.6 MB, free: 3.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2381, allocations: 0 / 442.6 MB, free: 3.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001077/0.2392, allocations: 0.5486 MB / 443.2 MB, free: 3.352 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.2393, allocations: 12 kB / 443.2 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.2393, allocations: 0 / 443.2 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004472/0.2397, allocations: 168.7 kB / 443.4 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.24, allocations: 83.95 kB / 443.4 MB, free: 3.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005741/0.2406, allocations: 0.7085 MB / 444.1 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.241, allocations: 59.92 kB / 444.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/0.241, allocations: 16 kB / 444.2 MB, free: 2.281 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003299/0.2414, allocations: 248.9 kB / 444.5 MB, free: 2.035 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002714/0.2416, allocations: 227.5 kB / 444.7 MB, free: 1.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003683/0.242, allocations: 291.8 kB / 445 MB, free: 1.457 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.452e-06/0.242, allocations: 0 / 445 MB, free: 1.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008357/0.2429, allocations: 497.5 kB / 445.5 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.2429, allocations: 9.094 kB / 445.5 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.2429, allocations: 4 kB / 445.5 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003008/0.2432, allocations: 160.2 kB / 445.6 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.2434, allocations: 63.91 kB / 445.7 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005104/0.2439, allocations: 0.7163 MB / 446.4 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.2443, allocations: 51.83 kB / 446.4 MB, free: 15.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.2443, allocations: 20 kB / 446.5 MB, free: 15.92 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 14 (driver.dummy,$PRE.driver.driveCyc.nextTimeEvent,$whenCondition1,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,dragF.mode,$PRE.dragF.mode,dragF.locked,dragF.startBackward,$PRE.dragF.startBackward,dragF.startForward,$PRE.dragF.startForward,dragF.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001988/0.2445, allocations: 204.3 kB / 446.7 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.227e-05/0.2446, allocations: 47.42 kB / 446.7 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.2447, allocations: 56.19 kB / 446.8 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.2447, allocations: 4 kB / 446.8 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.098e-06/0.2448, allocations: 0 / 446.8 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.2448, allocations: 0 / 446.8 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/0.2469, allocations: 1.177 MB / 448 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2469, allocations: 3.938 kB / 448 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.2472, allocations: 67.89 kB / 448 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003377/0.2475, allocations: 140.8 kB / 448.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/0.2476, allocations: 19.98 kB / 448.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006297/0.2482, allocations: 0.6849 MB / 448.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.2482, allocations: 4.031 kB / 448.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.2499, allocations: 0.8026 MB / 449.7 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.2501, allocations: 156.5 kB / 449.8 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.291e-05/0.2501, allocations: 12 kB / 449.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.2505, allocations: 55.94 kB / 449.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.2507, allocations: 55.97 kB / 449.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.763e-05/0.2507, allocations: 19.98 kB / 450 MB, free: 12.26 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003075/0.2511, allocations: 255.2 kB / 450.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2511, allocations: 4 kB / 450.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006952/0.2518, allocations: 180 kB / 450.4 MB, free: 11.84 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (dragF.s,dragF.v) * Number of discrete variables: 7 ($whenCondition1,dragF.startForward,dragF.startBackward,dragF.locked,dragF.mode,driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled) * Number of discrete states: 5 (driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled,dragF.mode,dragF.startForward,dragF.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001176/0.253, allocations: 492 kB / 450.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.2546, allocations: 0.6441 MB / 451.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.2546, allocations: 0 / 451.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005682/0.2552, allocations: 231.5 kB / 451.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006261/0.2558, allocations: 101.4 kB / 451.8 MB, free: 10.56 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.258, allocations: 1.02 MB / 452.9 MB, free: 9.508 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.2584, allocations: 0.8277 MB / 453.7 MB, free: 8.652 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002396/0.2586, allocations: 63.25 kB / 453.8 MB, free: 8.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.2587, allocations: 39.42 kB / 453.8 MB, free: 8.551 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2587, allocations: 0 / 453.8 MB, free: 8.551 MB / 318.1 MB Notification: Performance of Templates: time 0.01605/0.2748, allocations: 9.601 MB / 463.4 MB, free: 15 MB / 334.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.EVdata.makefile (rm -f EHPTexamples_EHPTexamples.EV.EVdata.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.EVdata.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.EVdata.pipe >> ../files/EHPTexamples_EHPTexamples.EV.EVdata.sim & ./EHPTexamples_EHPTexamples.EV.EVdata -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.EVdata.pipe 2>&1)