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.04188/0.04188, allocations: 8.036 MB / 23.92 MB, free: 476 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.0009514/0.0009514, allocations: 107.3 kB / 26.48 MB, free: 3.457 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.001136/0.001136, allocations: 198.6 kB / 29.17 MB, free: 0.793 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.35/1.35, allocations: 222.9 MB / 254.6 MB, free: 4.984 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01347/0.01347, allocations: 3.128 MB / 309.6 MB, free: 2.559 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001764, allocations: 99.84 kB / 373.8 MB, free: 2.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2021, allocations: 51.97 MB / 425.7 MB, free: 21.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEVdataLF): time 0.006773/0.2089, allocations: 6.816 MB / 432.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005172/0.2141, allocations: 3.411 MB / 436 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.2154, allocations: 27.88 kB / 436 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.2166, allocations: 278.3 kB / 436.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.218, allocations: 381.7 kB / 436.6 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.22, allocations: 0.8942 MB / 437.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001747/0.2217, allocations: 1.907 MB / 439.4 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007194/0.2225, allocations: 0.6525 MB / 440.1 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006973/0.2232, allocations: 0.7356 MB / 440.8 MB, free: 6.477 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006714/0.2238, allocations: 0.774 MB / 441.6 MB, free: 5.699 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.224, allocations: 195.9 kB / 441.8 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005202/0.2246, allocations: 351.8 kB / 442.1 MB, free: 5.164 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.2248, allocations: 390.8 kB / 442.5 MB, free: 4.781 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004656/0.2253, allocations: 0.793 MB / 443.3 MB, free: 3.984 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.2266, allocations: 1.598 MB / 444.9 MB, free: 2.383 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2266, allocations: 0 / 444.9 MB, free: 2.383 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2266, allocations: 0 / 444.9 MB, free: 2.383 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.02e-05/0.2266, allocations: 0 / 444.9 MB, free: 2.383 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.002937/0.2295, allocations: 1.881 MB / 446.8 MB, free: 444 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.2296, allocations: 8.031 kB / 446.8 MB, free: 436 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003595/0.23, allocations: 167 kB / 447 MB, free: 268 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.2311, allocations: 0.8486 MB / 447.8 MB, free: 15.37 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.2312, allocations: 120 kB / 447.9 MB, free: 15.24 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.2314, allocations: 115.9 kB / 448 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/0.2337, allocations: 1.272 MB / 449.3 MB, free: 13.78 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.113e-05/0.2338, allocations: 4 kB / 449.3 MB, free: 13.78 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.2339, allocations: 55.94 kB / 449.4 MB, free: 13.72 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.2339, allocations: 28 kB / 449.4 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.2359, allocations: 0.9065 MB / 450.3 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007356/0.2432, allocations: 4.139 MB / 454.4 MB, free: 8.496 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002326/0.2456, allocations: 1.11 MB / 455.6 MB, free: 7.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.2467, allocations: 496.1 kB / 456 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-05/0.2468, allocations: 20.97 kB / 456.1 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/0.248, allocations: 0.5531 MB / 456.6 MB, free: 6.258 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 3.216e-06/0.248, allocations: 0 / 456.6 MB, free: 6.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=95): time 0.008463/0.2565, allocations: 3.739 MB / 460.4 MB, free: 2.348 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002705/0.2568, allocations: 491.6 kB / 460.8 MB, free: 1.758 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.2582, allocations: 0.8763 MB / 461.7 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.2583, allocations: 49.7 kB / 461.8 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/0.2587, allocations: 0.5427 MB / 462.3 MB, free: 272 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.259, allocations: 331.3 kB / 462.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/0.2593, allocations: 194.5 kB / 462.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2595, allocations: 345.9 kB / 463.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007758/0.2602, allocations: 372.7 kB / 463.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009768/0.2612, allocations: 0.6375 MB / 464.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.2629, allocations: 0.9886 MB / 465.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2629, allocations: 4 kB / 465.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00289/0.2658, allocations: 1.324 MB / 466.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.314e-05/0.2659, allocations: 59.41 kB / 466.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.2659, allocations: 11.94 kB / 466.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005934/0.2665, allocations: 204.7 kB / 466.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008089/0.2673, allocations: 215.6 kB / 467 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009181/0.2682, allocations: 0.7904 MB / 467.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.2693, allocations: 111.9 kB / 467.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.453e-05/0.2694, allocations: 43.98 kB / 467.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009624/0.2704, allocations: 0.5254 MB / 468.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000783/0.2712, allocations: 0.575 MB / 469 MB, free: 9.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001219/0.2724, allocations: 0.8875 MB / 469.9 MB, free: 8.203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.25e-06/0.2724, allocations: 4 kB / 469.9 MB, free: 8.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002282/0.2747, allocations: 1.156 MB / 471 MB, free: 7.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.064e-05/0.2748, allocations: 67.39 kB / 471.1 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.2748, allocations: 4 kB / 471.1 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004895/0.2753, allocations: 190.9 kB / 471.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007015/0.276, allocations: 191.7 kB / 471.5 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000756/0.2768, allocations: 0.7631 MB / 472.3 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.2779, allocations: 108.2 kB / 472.4 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.257e-05/0.278, allocations: 43.98 kB / 472.4 MB, free: 5.625 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.0004205/0.2784, allocations: 318 kB / 472.7 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/0.2786, allocations: 114.7 kB / 472.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/0.2812, allocations: 1.149 MB / 474 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.2813, allocations: 12 kB / 474 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.2813, allocations: 0 / 474 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.2813, allocations: 3.984 kB / 474 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005088/0.2864, allocations: 2.621 MB / 476.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.2864, allocations: 4 kB / 476.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008282/0.2873, allocations: 167.8 kB / 476.8 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005724/0.2879, allocations: 200.8 kB / 477 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.703e-05/0.288, allocations: 23.98 kB / 477 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008875/0.2889, allocations: 0.7591 MB / 477.8 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2889, allocations: 0 / 477.8 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003617/0.2925, allocations: 1.707 MB / 479.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005808/0.2931, allocations: 271.7 kB / 479.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002988/0.2934, allocations: 31.94 kB / 479.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.2945, allocations: 95.91 kB / 479.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/0.2947, allocations: 88.86 kB / 479.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.756e-05/0.2948, allocations: 35.98 kB / 480 MB, free: 13.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001075/0.2959, allocations: 0.6201 MB / 480.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2959, allocations: 4 kB / 480.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001744/0.2977, allocations: 472 kB / 481.1 MB, free: 12.75 MB / 350.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 (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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001966/0.2997, allocations: 0.7411 MB / 481.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004088/0.3038, allocations: 1.727 MB / 483.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.3038, allocations: 4 kB / 483.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.3051, allocations: 0.5991 MB / 484.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.307, allocations: 260.6 kB / 484.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005908/0.3129, allocations: 3.35 MB / 487.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007261/0.3137, allocations: 1.117 MB / 488.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003618/0.3141, allocations: 87.42 kB / 488.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3141, allocations: 0 / 488.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of Templates: time 0.0306/0.3447, allocations: 21.43 MB / 0.4984 GB, free: 15.64 MB / 382.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)