Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.EV.MBEVdataLF.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.MBEVdataLF,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.MBEVdataLF") translateModel(EHPTexamples.EV.MBEVdataLF,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.MBEVdataLF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.06485/0.06485, allocations: 8.015 MB / 24.16 MB, free: 412 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009385/0.0009386, allocations: 103.4 kB / 26.72 MB, free: 3.293 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.001071/0.001071, allocations: 184 kB / 29.41 MB, free: 0.625 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 254.8 MB, free: 4.863 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01245/0.01245, allocations: 3.129 MB / 309.9 MB, free: 2.426 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 91.84 kB / 374.2 MB, free: 2.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1978, allocations: 51.97 MB / 426.2 MB, free: 21.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEVdataLF): time 0.006286/0.2041, allocations: 6.837 MB / 433 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004655/0.2088, allocations: 3.47 MB / 436.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007299/0.2095, allocations: 27.88 kB / 436.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007293/0.2103, allocations: 337.4 kB / 436.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008754/0.2112, allocations: 452.7 kB / 437.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.2128, allocations: 0.9853 MB / 438.3 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.214, allocations: 1.911 MB / 440.2 MB, free: 7.438 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006765/0.2147, allocations: 0.6525 MB / 440.8 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005391/0.2152, allocations: 0.7202 MB / 441.6 MB, free: 6.035 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006283/0.2158, allocations: 0.7701 MB / 442.3 MB, free: 5.262 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.216, allocations: 184 kB / 442.5 MB, free: 5.082 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00051/0.2165, allocations: 347.8 kB / 442.9 MB, free: 4.742 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002437/0.2168, allocations: 402.6 kB / 443.2 MB, free: 4.348 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004499/0.2172, allocations: 0.7891 MB / 444 MB, free: 3.555 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.2186, allocations: 2.025 MB / 446.1 MB, free: 1.523 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2186, allocations: 0 / 446.1 MB, free: 1.523 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2186, allocations: 0 / 446.1 MB, free: 1.523 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.2186, allocations: 0 / 446.1 MB, free: 1.523 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.002796/0.2214, allocations: 1.889 MB / 448 MB, free: 15.56 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.2215, allocations: 8.031 kB / 448 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003563/0.2219, allocations: 163.1 kB / 448.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.223, allocations: 0.8486 MB / 449 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.2231, allocations: 124 kB / 449.1 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.2233, allocations: 115.9 kB / 449.2 MB, free: 14.26 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.2254, allocations: 1.273 MB / 450.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/0.2254, allocations: 4 kB / 450.5 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.2255, allocations: 55.94 kB / 450.5 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.2256, allocations: 28 kB / 450.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.2274, allocations: 0.9104 MB / 451.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006136/0.2335, allocations: 4.123 MB / 455.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/0.2357, allocations: 1.122 MB / 456.7 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009496/0.2367, allocations: 0.4895 MB / 457.2 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.82e-05/0.2367, allocations: 20.92 kB / 457.2 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.2378, allocations: 0.5492 MB / 457.8 MB, free: 5.383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.905e-06/0.2378, allocations: 0 / 457.8 MB, free: 5.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=95): time 0.007473/0.2453, allocations: 3.747 MB / 461.5 MB, free: 1.465 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002113/0.2455, allocations: 483.6 kB / 462 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.2466, allocations: 0.8764 MB / 462.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.414e-05/0.2467, allocations: 53.7 kB / 462.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004089/0.2471, allocations: 0.5387 MB / 463.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/0.2473, allocations: 331.3 kB / 463.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003175/0.2477, allocations: 190.5 kB / 464 MB, free: 14.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2478, allocations: 345.9 kB / 464.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007763/0.2486, allocations: 372.7 kB / 464.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009717/0.2496, allocations: 0.6402 MB / 465.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.2512, allocations: 0.9925 MB / 466.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.2512, allocations: 4 kB / 466.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002648/0.2538, allocations: 1.328 MB / 467.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.599e-05/0.2539, allocations: 59.41 kB / 467.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.2539, allocations: 4 kB / 467.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005471/0.2545, allocations: 209.7 kB / 467.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007857/0.2553, allocations: 211.7 kB / 468.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008553/0.2561, allocations: 0.7966 MB / 468.9 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000887/0.257, allocations: 115.8 kB / 469 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.823e-05/0.2571, allocations: 40 kB / 469.1 MB, free: 9.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008908/0.258, allocations: 0.5254 MB / 469.6 MB, free: 8.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007627/0.2588, allocations: 0.5789 MB / 470.2 MB, free: 8.297 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001238/0.26, allocations: 0.8757 MB / 471 MB, free: 7.336 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.953e-06/0.2601, allocations: 8 kB / 471 MB, free: 7.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002103/0.2622, allocations: 1.16 MB / 472.2 MB, free: 6.145 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/0.2622, allocations: 63.34 kB / 472.3 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.2623, allocations: 4 kB / 472.3 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004582/0.2627, allocations: 188.8 kB / 472.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007016/0.2634, allocations: 191.7 kB / 472.6 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007192/0.2642, allocations: 0.7591 MB / 473.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009491/0.2651, allocations: 112.2 kB / 473.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.596e-05/0.2652, allocations: 40 kB / 473.6 MB, free: 4.758 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 16 (driver.dummy,$PRE.driver.driveCyc.nextTimeEvent,$whenCondition1,dragF.free,dragF.mode,$PRE.dragF.mode,dragF.locked,dragF.startBackward,$PRE.dragF.startBackward,dragF.startForward,$PRE.dragF.startForward,eleDrive.limTau.state,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,eleDrive.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 2 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003251/0.2655, allocations: 322.4 kB / 473.9 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.2657, allocations: 114.8 kB / 474 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.2681, allocations: 1.145 MB / 475.1 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.2682, allocations: 3.984 kB / 475.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2682, allocations: 0 / 475.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004216/0.2686, allocations: 275.7 kB / 475.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.2688, allocations: 24 kB / 475.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00084/0.2696, allocations: 111.9 kB / 475.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.2698, allocations: 92.8 kB / 475.6 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003153/0.273, allocations: 1.397 MB / 477 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002838/0.2758, allocations: 1.663 MB / 478.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000761/0.2766, allocations: 431.8 kB / 479.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008676/0.2775, allocations: 0.6162 MB / 479.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Backend: time 6.82e-07/0.2775, allocations: 0 / 479.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005096/0.2826, allocations: 2.248 MB / 482 MB, free: 12.54 MB / 350.1 MB Notification: Performance of SimCode: time 0.004684/0.2873, allocations: 3.233 MB / 485.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of Templates: time 0.03665/0.324, allocations: 23.06 MB / 0.4964 GB, free: 2.32 MB / 366.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.MBEVdataLF.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.MBEVdataLF.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.MBEVdataLF.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.MBEVdataLF.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.MBEVdataLF.sim & ./EHPTexamples_main_EHPTexamples.EV.MBEVdataLF -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.MBEVdataLF.pipe 2>&1)