Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.EV.MBEVdata.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.MBEVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.MBEVdata") translateModel(EHPTexamples.EV.MBEVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.MBEVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.07478/0.07478, allocations: 8.025 MB / 23 MB, free: 0.5625 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.0009737/0.0009737, allocations: 95.14 kB / 25.56 MB, free: 3.707 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.001225/0.001225, allocations: 187.1 kB / 28.23 MB, free: 1.043 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.457/1.457, allocations: 223.3 MB / 254 MB, free: 5.738 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01209/0.01209, allocations: 3.106 MB / 310 MB, free: 0.8906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004871/0.0004873, allocations: 23.98 kB / 374.8 MB, free: 60 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2607, allocations: 52.97 MB / 427.8 MB, free: 20.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEVdata): time 0.006/0.2668, allocations: 5.805 MB / 433.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004982/0.2718, allocations: 3.156 MB / 436.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007758/0.2726, allocations: 27.88 kB / 436.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006337/0.2733, allocations: 246.5 kB / 437 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007261/0.274, allocations: 333.7 kB / 437.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.2754, allocations: 0.6965 MB / 438 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.2766, allocations: 1.559 MB / 439.6 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005516/0.2772, allocations: 486 kB / 440.1 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004624/0.2776, allocations: 0.5252 MB / 440.6 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000537/0.2782, allocations: 0.5754 MB / 441.2 MB, free: 7.102 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.2783, allocations: 68 kB / 441.2 MB, free: 7.035 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003591/0.2787, allocations: 187.9 kB / 441.4 MB, free: 6.852 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.2789, allocations: 270.9 kB / 441.7 MB, free: 6.586 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.2791, allocations: 273 kB / 441.9 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009275/0.28, allocations: 1.473 MB / 443.4 MB, free: 4.836 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.28, allocations: 0 / 443.4 MB, free: 4.836 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.28, allocations: 4 kB / 443.4 MB, free: 4.832 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.2801, allocations: 0 / 443.4 MB, free: 4.832 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002291/0.2824, allocations: 1.612 MB / 445 MB, free: 3.152 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.2824, allocations: 8.031 kB / 445 MB, free: 3.145 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002541/0.2827, allocations: 158.1 kB / 445.2 MB, free: 2.988 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009093/0.2836, allocations: 0.7974 MB / 446 MB, free: 2.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.619e-05/0.2837, allocations: 115.8 kB / 446.1 MB, free: 2.027 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.2838, allocations: 115.9 kB / 446.2 MB, free: 1.914 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.2855, allocations: 1.253 MB / 447.5 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.2856, allocations: 0 / 447.5 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.33e-05/0.2857, allocations: 55.94 kB / 447.5 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.2857, allocations: 28 kB / 447.5 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/0.2875, allocations: 0.9062 MB / 448.5 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006915/0.2944, allocations: 4.06 MB / 452.5 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/0.2967, allocations: 1.129 MB / 453.6 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000957/0.2976, allocations: 0.4961 MB / 454.1 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.144e-05/0.2977, allocations: 12.64 kB / 454.2 MB, free: 9.684 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001113/0.2989, allocations: 0.5462 MB / 454.7 MB, free: 9.113 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.314e-06/0.2989, allocations: 0 / 454.7 MB, free: 9.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=92): time 0.007646/0.3065, allocations: 3.81 MB / 458.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002358/0.3068, allocations: 0.4974 MB / 459 MB, free: 4.523 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.3079, allocations: 0.8682 MB / 459.9 MB, free: 3.645 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.024e-05/0.308, allocations: 53.64 kB / 459.9 MB, free: 3.586 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006059/0.3086, allocations: 0.527 MB / 460.5 MB, free: 3.051 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003135/0.309, allocations: 331.4 kB / 460.8 MB, free: 2.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.309, allocations: 20 kB / 460.8 MB, free: 2.703 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.3092, allocations: 341.9 kB / 461.1 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000718/0.3099, allocations: 361.8 kB / 461.5 MB, free: 2.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.3109, allocations: 0.6422 MB / 462.1 MB, free: 1.258 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008023/0.3117, allocations: 462.3 kB / 462.6 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.3117, allocations: 4 kB / 462.6 MB, free: 0.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002674/0.3144, allocations: 1.344 MB / 463.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002481/0.3147, allocations: 281.6 kB / 464.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.3147, allocations: 4 kB / 464.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000627/0.3153, allocations: 224.7 kB / 464.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007815/0.3161, allocations: 219.7 kB / 464.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.3172, allocations: 0.8122 MB / 465.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.3182, allocations: 136 kB / 465.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.3184, allocations: 43.98 kB / 465.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.3184, allocations: 4 kB / 465.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001945/0.3203, allocations: 1.015 MB / 466.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.3204, allocations: 4 kB / 466.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004455/0.3208, allocations: 184.8 kB / 466.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006434/0.3215, allocations: 187.7 kB / 467 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007791/0.3223, allocations: 0.7631 MB / 467.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009409/0.3232, allocations: 112 kB / 467.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.614e-05/0.3233, allocations: 47.97 kB / 467.9 MB, free: 11.26 MB / 334.1 MB Warning: Assuming fixed start value for the following 1 variables: mass.s:VARIABLE(start = 0.0 unit = "m" fixed = true ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real 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 (105): * Single equations (assignments): 102 * 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.0008491/0.3242, allocations: 471.6 kB / 468.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.3244, allocations: 102.9 kB / 468.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002581/0.327, allocations: 1.195 MB / 469.7 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.327, allocations: 8 kB / 469.7 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.327, allocations: 3.953 kB / 469.7 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.327, allocations: 11.97 kB / 469.7 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005254/0.3323, allocations: 2.628 MB / 472.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.3323, allocations: 4 kB / 472.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007354/0.3331, allocations: 179.9 kB / 472.5 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005559/0.3337, allocations: 192.7 kB / 472.7 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.883e-05/0.3338, allocations: 35.91 kB / 472.7 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009153/0.3347, allocations: 0.7732 MB / 473.5 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3347, allocations: 0 / 473.5 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/0.3381, allocations: 1.738 MB / 475.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006873/0.3388, allocations: 279.7 kB / 475.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003429/0.3392, allocations: 28 kB / 475.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.3402, allocations: 127.8 kB / 475.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002615/0.3405, allocations: 100.8 kB / 475.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.001e-05/0.3406, allocations: 31.98 kB / 475.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001121/0.3417, allocations: 0.6084 MB / 476.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3418, allocations: 0 / 476.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001738/0.3435, allocations: 468.1 kB / 476.9 MB, free: 2.098 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 (76): * Single equations (assignments): 71 * 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.001833/0.3453, allocations: 0.7475 MB / 477.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003418/0.3488, allocations: 1.67 MB / 479.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.3488, allocations: 4 kB / 479.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.35, allocations: 0.6139 MB / 479.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.3513, allocations: 218.3 kB / 480.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005845/0.3572, allocations: 3.361 MB / 483.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008582/0.3581, allocations: 1.105 MB / 484.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008355/0.3589, allocations: 155.3 kB / 484.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/0.3592, allocations: 79.41 kB / 484.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of SimCode: time 1.483e-06/0.3592, allocations: 0 / 484.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Templates: time 0.03245/0.3917, allocations: 17.89 MB / 0.4909 GB, free: 8.551 MB / 366.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.MBEVdata.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.MBEVdata.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.MBEVdata.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.MBEVdata.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.MBEVdata.sim & ./EHPTexamples_latest_EHPTexamples.EV.MBEVdata -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.MBEVdata.pipe 2>&1)