Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.EV.MBEV.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.MBEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.MBEV") translateModel(EHPTexamples.EV.MBEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.MBEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04109/0.04109, allocations: 8.014 MB / 24.16 MB, free: 400 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.0009167/0.0009168, allocations: 109.2 kB / 26.73 MB, free: 3.281 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.001026/0.001026, allocations: 193.3 kB / 29.42 MB, free: 0.6055 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.261/1.261, allocations: 222.9 MB / 254.8 MB, free: 4.812 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01236/0.01236, allocations: 3.112 MB / 309.9 MB, free: 2.422 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 87.84 kB / 374.2 MB, free: 2.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.186, allocations: 51.97 MB / 426.2 MB, free: 21.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEV): time 0.005742/0.1918, allocations: 6.571 MB / 432.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003947/0.1958, allocations: 3.205 MB / 436 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004851/0.1963, allocations: 27.88 kB / 436 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005598/0.1969, allocations: 273.8 kB / 436.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007334/0.1976, allocations: 408.9 kB / 436.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.199, allocations: 0.943 MB / 437.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009867/0.2, allocations: 1.759 MB / 439.4 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005882/0.2006, allocations: 0.6326 MB / 440 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004616/0.2011, allocations: 0.6697 MB / 440.7 MB, free: 6.926 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000556/0.2016, allocations: 0.7196 MB / 441.4 MB, free: 6.203 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.2018, allocations: 176 kB / 441.6 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003613/0.2022, allocations: 323.8 kB / 441.9 MB, free: 5.715 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.2024, allocations: 394.8 kB / 442.3 MB, free: 5.328 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003989/0.2028, allocations: 0.7426 MB / 443 MB, free: 4.582 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.204, allocations: 1.939 MB / 444.9 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.204, allocations: 4 kB / 445 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.204, allocations: 0 / 445 MB, free: 2.633 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.204, allocations: 0 / 445 MB, free: 2.633 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.002482/0.2065, allocations: 1.787 MB / 446.7 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2065, allocations: 8.031 kB / 446.7 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002638/0.2068, allocations: 163.2 kB / 446.9 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009729/0.2078, allocations: 0.8322 MB / 447.7 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.2079, allocations: 111.9 kB / 447.8 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.2081, allocations: 108 kB / 448 MB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/0.2101, allocations: 1.249 MB / 449.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.2102, allocations: 11.91 kB / 449.2 MB, free: 14.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.2103, allocations: 48 kB / 449.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.2103, allocations: 28 kB / 449.3 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.2121, allocations: 0.871 MB / 450.2 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005914/0.218, allocations: 3.982 MB / 454.1 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.2201, allocations: 1.063 MB / 455.2 MB, free: 7.977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008903/0.221, allocations: 484.2 kB / 455.7 MB, free: 7.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.182e-05/0.221, allocations: 12.64 kB / 455.7 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009791/0.222, allocations: 0.5344 MB / 456.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.675e-06/0.222, allocations: 0 / 456.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=92): time 0.007051/0.2291, allocations: 3.63 MB / 459.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001956/0.2293, allocations: 0.4896 MB / 460.3 MB, free: 2.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.2304, allocations: 0.8484 MB / 461.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-05/0.2305, allocations: 45.7 kB / 461.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/0.2309, allocations: 0.5191 MB / 461.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/0.2311, allocations: 315.5 kB / 462.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/0.2314, allocations: 186.5 kB / 462.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.2315, allocations: 345.9 kB / 462.6 MB, free: 244 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007303/0.2323, allocations: 356.7 kB / 462.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009501/0.2332, allocations: 0.6382 MB / 463.6 MB, free: 15.14 MB / 334.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass.v = $START.mass.v ($START.dragF.v = $START.mass.v) Notification: Performance of analyzeInitialSystem (initialization): time 0.003761/0.237, allocations: 1.88 MB / 465.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/0.237, allocations: 4 kB / 465.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002602/0.2396, allocations: 1.285 MB / 466.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.2397, allocations: 67.39 kB / 466.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.2397, allocations: 8 kB / 466.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005251/0.2402, allocations: 205.8 kB / 467 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007407/0.241, allocations: 203.6 kB / 467.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008476/0.2419, allocations: 0.7969 MB / 468 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008639/0.2427, allocations: 116 kB / 468.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.711e-05/0.2428, allocations: 32 kB / 468.2 MB, free: 10.36 MB / 334.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: mass.v = $START.mass.v. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008885/0.2437, allocations: 0.5176 MB / 468.7 MB, free: 9.844 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007561/0.2445, allocations: 0.572 MB / 469.2 MB, free: 9.16 MB / 334.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass.v = $START.mass.v ($START.dragF.v = $START.mass.v) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003207/0.2477, allocations: 1.712 MB / 471 MB, free: 7.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.561e-06/0.2477, allocations: 3.938 kB / 471 MB, free: 7.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002087/0.2498, allocations: 1.133 MB / 472.1 MB, free: 6.164 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.488e-05/0.2499, allocations: 59.41 kB / 472.2 MB, free: 6.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2499, allocations: 7.938 kB / 472.2 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004624/0.2504, allocations: 188.8 kB / 472.3 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006567/0.251, allocations: 187.7 kB / 472.5 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007638/0.2518, allocations: 0.7592 MB / 473.3 MB, free: 4.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009536/0.2528, allocations: 116 kB / 473.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.698e-05/0.2528, allocations: 36 kB / 473.4 MB, free: 4.781 MB / 334.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: mass.v = $START.mass.v. 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 (105): * Single equations (assignments): 102 * 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.0003838/0.2532, allocations: 327.4 kB / 473.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.2534, allocations: 106.8 kB / 473.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.2558, allocations: 1.133 MB / 475 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.2558, allocations: 11.91 kB / 475 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2559, allocations: 0 / 475 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003921/0.2563, allocations: 263.8 kB / 475.3 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.2564, allocations: 35.94 kB / 475.3 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007827/0.2572, allocations: 103.9 kB / 475.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.2574, allocations: 88.88 kB / 475.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002948/0.2604, allocations: 1.355 MB / 476.8 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002662/0.263, allocations: 1.612 MB / 478.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007428/0.2638, allocations: 423.8 kB / 478.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007431/0.2645, allocations: 0.5927 MB / 479.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of Backend: time 5.11e-07/0.2645, allocations: 0 / 479.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004618/0.2692, allocations: 2.178 MB / 481.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of SimCode: time 0.003778/0.273, allocations: 3.146 MB / 484.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of Templates: time 0.03325/0.3062, allocations: 22.22 MB / 0.4951 GB, free: 3.453 MB / 366.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.MBEV.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.MBEV.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.MBEV.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.MBEV.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.MBEV.sim & ./EHPTexamples_main_EHPTexamples.EV.MBEV -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.MBEV.pipe 2>&1)