Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_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_EHPTexamples.EV.MBEVdata") translateModel(EHPTexamples.EV.MBEVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.MBEVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.06634/0.06634, allocations: 8.032 MB / 23 MB, free: 0.5664 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.0008643/0.0008646, allocations: 91.14 kB / 25.56 MB, free: 3.793 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.001002/0.001002, allocations: 186.1 kB / 28.22 MB, free: 1.133 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.431/1.431, allocations: 223.3 MB / 254 MB, free: 4.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01266/0.01266, allocations: 3.116 MB / 310 MB, free: 0.6836 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004415/0.0004416, allocations: 11.22 kB / 374.8 MB, free: 53.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09905/0.09951, allocations: 52.98 MB / 427.8 MB, free: 20.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEVdata): time 0.005015/0.1046, allocations: 5.804 MB / 433.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00431/0.1089, allocations: 3.158 MB / 436.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008657/0.1098, allocations: 23.94 kB / 436.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006314/0.1105, allocations: 242.5 kB / 437 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007963/0.1113, allocations: 337.8 kB / 437.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.1127, allocations: 0.6992 MB / 438 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001272/0.114, allocations: 1.555 MB / 439.6 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005798/0.1146, allocations: 482 kB / 440.1 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005133/0.1151, allocations: 0.5291 MB / 440.6 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005665/0.1157, allocations: 0.5715 MB / 441.2 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.1158, allocations: 68 kB / 441.2 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000389/0.1162, allocations: 195.8 kB / 441.4 MB, free: 6.664 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.1165, allocations: 270.9 kB / 441.7 MB, free: 6.398 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.1167, allocations: 269 kB / 441.9 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009979/0.1177, allocations: 1.484 MB / 443.4 MB, free: 4.641 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1177, allocations: 0 / 443.4 MB, free: 4.641 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1177, allocations: 0 / 443.4 MB, free: 4.641 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.993e-05/0.1177, allocations: 4 kB / 443.4 MB, free: 4.637 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.002432/0.1202, allocations: 1.596 MB / 445 MB, free: 2.973 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.1202, allocations: 12.03 kB / 445 MB, free: 2.961 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002532/0.1205, allocations: 158.1 kB / 445.2 MB, free: 2.805 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000929/0.1214, allocations: 0.8051 MB / 446 MB, free: 1.957 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.1215, allocations: 111.9 kB / 446.1 MB, free: 1.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.1216, allocations: 115.9 kB / 446.2 MB, free: 1.727 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.1234, allocations: 1.26 MB / 447.5 MB, free: 396 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.1235, allocations: 0 / 447.5 MB, free: 396 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.1236, allocations: 52 kB / 447.5 MB, free: 344 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.1236, allocations: 24 kB / 447.5 MB, free: 320 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.1253, allocations: 0.9063 MB / 448.5 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00603/0.1314, allocations: 4.064 MB / 452.5 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.1334, allocations: 1.129 MB / 453.6 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009228/0.1344, allocations: 0.4884 MB / 454.1 MB, free: 9.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.947e-05/0.1345, allocations: 8.656 kB / 454.1 MB, free: 9.508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.1355, allocations: 0.5501 MB / 454.7 MB, free: 8.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.384e-06/0.1355, allocations: 0 / 454.7 MB, free: 8.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=92): time 0.007822/0.1433, allocations: 3.817 MB / 458.5 MB, free: 4.949 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002471/0.1436, allocations: 0.4974 MB / 459 MB, free: 4.336 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.1449, allocations: 0.8643 MB / 459.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-05/0.145, allocations: 53.7 kB / 459.9 MB, free: 3.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004564/0.1455, allocations: 0.5231 MB / 460.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/0.1458, allocations: 331.3 kB / 460.8 MB, free: 2.543 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.1458, allocations: 20 kB / 460.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.146, allocations: 345.9 kB / 461.1 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007469/0.1467, allocations: 361.8 kB / 461.5 MB, free: 1.824 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.1477, allocations: 0.6383 MB / 462.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008645/0.1486, allocations: 466.2 kB / 462.6 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.1486, allocations: 4 kB / 462.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002657/0.1513, allocations: 1.344 MB / 463.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001793/0.1515, allocations: 281.7 kB / 464.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.1515, allocations: 4.062 kB / 464.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006021/0.1521, allocations: 228.7 kB / 464.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007414/0.1529, allocations: 219.7 kB / 464.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008383/0.1537, allocations: 0.8059 MB / 465.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009176/0.1546, allocations: 140 kB / 465.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-05/0.1547, allocations: 43.98 kB / 465.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.246e-06/0.1548, allocations: 6.5 kB / 465.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00181/0.1566, allocations: 1.015 MB / 466.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.1566, allocations: 4 kB / 466.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004308/0.157, allocations: 188.8 kB / 466.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000641/0.1577, allocations: 187.7 kB / 467 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007142/0.1584, allocations: 0.7592 MB / 467.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008676/0.1593, allocations: 111.9 kB / 467.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.526e-05/0.1594, allocations: 39.98 kB / 467.9 MB, free: 11.08 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.0006874/0.1601, allocations: 461.9 kB / 468.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.1603, allocations: 102.9 kB / 468.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/0.1627, allocations: 1.188 MB / 469.7 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.1627, allocations: 8 kB / 469.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.1627, allocations: 3.953 kB / 469.7 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.1627, allocations: 11.91 kB / 469.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004529/0.1673, allocations: 2.644 MB / 472.3 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.1673, allocations: 4 kB / 472.3 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000734/0.168, allocations: 179.9 kB / 472.5 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005295/0.1686, allocations: 192.7 kB / 472.7 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.192e-05/0.1687, allocations: 32.03 kB / 472.7 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000791/0.1695, allocations: 0.7747 MB / 473.5 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1695, allocations: 0 / 473.5 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003205/0.1727, allocations: 1.734 MB / 475.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005976/0.1733, allocations: 283.7 kB / 475.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/0.1736, allocations: 24 kB / 475.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008393/0.1744, allocations: 123.9 kB / 475.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.1746, allocations: 100.8 kB / 475.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.368e-05/0.1747, allocations: 31.98 kB / 475.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009109/0.1756, allocations: 0.6161 MB / 476.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1756, allocations: 0 / 476.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001415/0.1771, allocations: 471.9 kB / 476.9 MB, free: 1.91 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.001683/0.1788, allocations: 0.7403 MB / 477.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003206/0.182, allocations: 1.677 MB / 479.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.182, allocations: 4 kB / 479.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.1831, allocations: 0.6105 MB / 479.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.1844, allocations: 215.9 kB / 480.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00559/0.19, allocations: 3.365 MB / 483.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007161/0.1907, allocations: 1.097 MB / 484.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007169/0.1914, allocations: 147.4 kB / 484.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.1917, allocations: 83.41 kB / 484.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1917, allocations: 0 / 484.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of Templates: time 0.03023/0.222, allocations: 17.89 MB / 0.4909 GB, free: 8.375 MB / 366.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.MBEVdata.makefile (rm -f EHPTexamples_EHPTexamples.EV.MBEVdata.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.MBEVdata.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.MBEVdata.pipe >> ../files/EHPTexamples_EHPTexamples.EV.MBEVdata.sim & ./EHPTexamples_EHPTexamples.EV.MBEVdata -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.MBEVdata.pipe 2>&1)