Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_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_EHPTexamples.EV.MBEVdataLF") translateModel(EHPTexamples.EV.MBEVdataLF,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.MBEVdataLF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05487/0.05487, allocations: 8.035 MB / 23.01 MB, free: 0.5312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007354/0.0007354, allocations: 94.16 kB / 25.57 MB, free: 3.684 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.0008041/0.0008041, allocations: 191.1 kB / 28.23 MB, free: 1.023 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.427/1.427, allocations: 223.3 MB / 254 MB, free: 5.711 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01194/0.01195, allocations: 3.112 MB / 310 MB, free: 0.9062 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004274/0.0004274, allocations: 15.98 kB / 374.8 MB, free: 84 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2611, allocations: 52.97 MB / 427.8 MB, free: 20.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEVdataLF): time 0.005531/0.2667, allocations: 5.949 MB / 433.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005884/0.2726, allocations: 3.289 MB / 437 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.2738, allocations: 23.94 kB / 437 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006915/0.2745, allocations: 274.4 kB / 437.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.2756, allocations: 349.6 kB / 437.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.2774, allocations: 0.7274 MB / 438.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00145/0.2788, allocations: 1.664 MB / 440 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006174/0.2795, allocations: 494.4 kB / 440.5 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00058/0.28, allocations: 0.5563 MB / 441.1 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005278/0.2806, allocations: 0.6182 MB / 441.7 MB, free: 6.586 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.2807, allocations: 72 kB / 441.8 MB, free: 6.516 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004338/0.2811, allocations: 215.8 kB / 442 MB, free: 6.305 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.2813, allocations: 258.9 kB / 442.2 MB, free: 6.051 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.2815, allocations: 277 kB / 442.5 MB, free: 5.773 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009376/0.2825, allocations: 1.531 MB / 444 MB, free: 4.238 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2825, allocations: 0 / 444 MB, free: 4.238 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2825, allocations: 0 / 444 MB, free: 4.238 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.2825, allocations: 0 / 444 MB, free: 4.238 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.002252/0.2848, allocations: 1.651 MB / 445.7 MB, free: 2.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.2848, allocations: 8.031 kB / 445.7 MB, free: 2.512 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002576/0.2851, allocations: 166.1 kB / 445.8 MB, free: 2.348 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008852/0.286, allocations: 0.8129 MB / 446.7 MB, free: 1.492 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.529e-05/0.2861, allocations: 111.9 kB / 446.8 MB, free: 1.375 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.2862, allocations: 123.9 kB / 446.9 MB, free: 1.254 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.2881, allocations: 1.28 MB / 448.2 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.2881, allocations: 7.938 kB / 448.2 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.2882, allocations: 51.95 kB / 448.2 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.2883, allocations: 28 kB / 448.3 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.2901, allocations: 0.9454 MB / 449.2 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006218/0.2963, allocations: 4.209 MB / 453.4 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/0.2986, allocations: 1.181 MB / 454.6 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009997/0.2996, allocations: 0.504 MB / 455.1 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.736e-05/0.2997, allocations: 16.98 kB / 455.1 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001076/0.3008, allocations: 0.5687 MB / 455.7 MB, free: 8.156 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 1.994e-06/0.3008, allocations: 0 / 455.7 MB, free: 8.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=95): time 0.007569/0.3084, allocations: 3.927 MB / 459.6 MB, free: 4.059 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002511/0.3087, allocations: 483.7 kB / 460.1 MB, free: 3.477 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.3098, allocations: 0.8647 MB / 460.9 MB, free: 2.602 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.983e-05/0.3099, allocations: 49.7 kB / 461 MB, free: 2.547 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/0.3103, allocations: 0.5504 MB / 461.5 MB, free: 1.988 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/0.3106, allocations: 331.2 kB / 461.9 MB, free: 1.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.3106, allocations: 24 kB / 461.9 MB, free: 1.637 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3108, allocations: 341.9 kB / 462.2 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007681/0.3115, allocations: 381.8 kB / 462.6 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009719/0.3125, allocations: 0.6492 MB / 463.2 MB, free: 172 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008242/0.3134, allocations: 482.3 kB / 463.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3134, allocations: 4 kB / 463.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002432/0.3158, allocations: 1.301 MB / 465 MB, free: 14.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/0.316, allocations: 293.6 kB / 465.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.316, allocations: 4 kB / 465.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005318/0.3165, allocations: 228.6 kB / 465.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000742/0.3173, allocations: 211.7 kB / 465.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007945/0.3181, allocations: 0.806 MB / 466.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000882/0.319, allocations: 147.9 kB / 466.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.442e-05/0.3191, allocations: 43.98 kB / 466.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.051e-06/0.3191, allocations: 4 kB / 466.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001805/0.3209, allocations: 1.035 MB / 467.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3209, allocations: 7.984 kB / 467.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003987/0.3213, allocations: 191.3 kB / 468 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.322, allocations: 191.7 kB / 468.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006546/0.3226, allocations: 0.7629 MB / 468.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007722/0.3234, allocations: 116 kB / 469 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.837e-05/0.3235, allocations: 40 kB / 469.1 MB, free: 10.15 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,$whenCondition1,$PRE.driver.driveCyc.nextTimeEvent,dragF.free,driver.driveCyc.nextTimeEvent,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEventScaled,eleDrive.limTau.state,$PRE.dragF.startForward,dragF.startForward,$PRE.dragF.startBackward,dragF.startBackward,dragF.locked,$PRE.dragF.mode,dragF.mode,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006393/0.3241, allocations: 446 kB / 469.5 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.3243, allocations: 106.8 kB / 469.6 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.3267, allocations: 1.204 MB / 470.8 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.3267, allocations: 11.95 kB / 470.8 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3267, allocations: 0 / 470.8 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.3267, allocations: 11.98 kB / 470.8 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004473/0.3312, allocations: 2.688 MB / 473.5 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.3312, allocations: 128 / 473.5 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007431/0.332, allocations: 183.8 kB / 473.7 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004765/0.3325, allocations: 196.7 kB / 473.9 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.096e-05/0.3325, allocations: 27.97 kB / 473.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007249/0.3333, allocations: 0.7694 MB / 474.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.3333, allocations: 8.016 kB / 474.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003051/0.3363, allocations: 1.781 MB / 476.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004198/0.3368, allocations: 291.7 kB / 476.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.337, allocations: 32 kB / 476.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007739/0.3377, allocations: 119.9 kB / 476.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.3379, allocations: 92.83 kB / 477 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.147e-05/0.338, allocations: 43.97 kB / 477 MB, free: 1.945 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007614/0.3388, allocations: 0.6122 MB / 477.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3388, allocations: 0 / 477.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00128/0.3401, allocations: 472 kB / 478.1 MB, free: 0.8789 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (enBatDel,enDTdel,enP1del,enBattLoss,enBraking,eleDrive.constPDC.integrator1.y,batt1.cBattery.v,batt1.C1.v,batt1.cDummy.v,mass.s,mass.v) * Number of discrete variables: 8 ($whenCondition1,driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled,eleDrive.limTau.state,dragF.startForward,dragF.startBackward,dragF.locked,dragF.mode) * Number of discrete states: 6 (driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled,eleDrive.limTau.state,dragF.mode,dragF.startForward,dragF.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.001593/0.3417, allocations: 0.7544 MB / 478.9 MB, free: 440 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002941/0.3446, allocations: 1.701 MB / 480.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3446, allocations: 4 kB / 480.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.3457, allocations: 0.6261 MB / 481.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.3467, allocations: 231.8 kB / 481.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004858/0.3516, allocations: 3.431 MB / 484.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006285/0.3522, allocations: 1.101 MB / 486 MB, free: 9.195 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006404/0.3528, allocations: 163.5 kB / 486.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.3531, allocations: 83.41 kB / 486.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3531, allocations: 0 / 486.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of Templates: time 0.02842/0.3815, allocations: 18.07 MB / 0.4925 GB, free: 7.012 MB / 366.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.MBEVdataLF.makefile (rm -f EHPTexamples_EHPTexamples.EV.MBEVdataLF.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.MBEVdataLF.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.MBEVdataLF.pipe >> ../files/EHPTexamples_EHPTexamples.EV.MBEVdataLF.sim & ./EHPTexamples_EHPTexamples.EV.MBEVdataLF -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.MBEVdataLF.pipe 2>&1)