Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.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.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.FirstEVpow") translateModel(EHPTexamples.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.FirstEVpow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.06175/0.06175, allocations: 8.036 MB / 23.31 MB, free: 0.5156 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.0007945/0.0007945, allocations: 87.56 kB / 25.88 MB, free: 3.602 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.001046/0.001046, allocations: 195 kB / 28.57 MB, free: 0.918 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.359/1.359, allocations: 223.3 MB / 254.4 MB, free: 3.875 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01252/0.01252, allocations: 3.123 MB / 310.4 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.0004618, allocations: 10.72 kB / 375.4 MB, free: 53.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09738/0.09787, allocations: 52.98 MB / 428.4 MB, free: 19.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.002904/0.1008, allocations: 2.945 MB / 431.4 MB, free: 16.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002573/0.1034, allocations: 2.086 MB / 433.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003067/0.1037, allocations: 15.94 kB / 433.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.1041, allocations: 83.47 kB / 433.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004287/0.1045, allocations: 131.2 kB / 433.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007492/0.1053, allocations: 359.4 kB / 434 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005543/0.1059, allocations: 0.6113 MB / 434.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.1061, allocations: 167.9 kB / 434.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.1064, allocations: 223 kB / 435 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.1067, allocations: 238.8 kB / 435.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.281e-05/0.1068, allocations: 24 kB / 435.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.1071, allocations: 131.9 kB / 435.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1072, allocations: 87.66 kB / 435.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.1074, allocations: 260.3 kB / 435.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005603/0.108, allocations: 0.6345 MB / 436.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.108, allocations: 4 kB / 436.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.108, allocations: 3.938 kB / 436.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.108, allocations: 0 / 436.4 MB, free: 11.88 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00131/0.1093, allocations: 0.7651 MB / 437.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1094, allocations: 12.03 kB / 437.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.1096, allocations: 56.22 kB / 437.2 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.11, allocations: 384.1 kB / 437.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.038e-05/0.1101, allocations: 55.27 kB / 437.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.55e-05/0.1102, allocations: 47.84 kB / 437.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007864/0.111, allocations: 0.5014 MB / 438.2 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.111, allocations: 8 kB / 438.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.111, allocations: 16 kB / 438.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.1111, allocations: 8 kB / 438.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007111/0.1118, allocations: 379.8 kB / 438.6 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/0.1137, allocations: 1.448 MB / 440.1 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009436/0.1147, allocations: 456.1 kB / 440.5 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/0.115, allocations: 170.2 kB / 440.7 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/0.1151, allocations: 12.52 kB / 440.7 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004617/0.1155, allocations: 257.6 kB / 440.9 MB, free: 7.121 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.1156, allocations: 4 kB / 440.9 MB, free: 7.117 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.00388/0.1194, allocations: 1.915 MB / 442.8 MB, free: 5.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.1195, allocations: 166.2 kB / 443 MB, free: 4.891 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.1198, allocations: 328.5 kB / 443.3 MB, free: 4.562 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.1199, allocations: 33.7 kB / 443.4 MB, free: 4.523 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/0.12, allocations: 220.4 kB / 443.6 MB, free: 4.305 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.084e-05/0.1201, allocations: 138.1 kB / 443.7 MB, free: 4.168 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/0.1201, allocations: 41.7 kB / 443.8 MB, free: 4.121 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.013e-05/0.1202, allocations: 346.8 kB / 444.1 MB, free: 3.773 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.1206, allocations: 177 kB / 444.3 MB, free: 3.602 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004044/0.121, allocations: 292.5 kB / 444.6 MB, free: 3.273 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000678/0.1217, allocations: 391.6 kB / 444.9 MB, free: 2.863 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1217, allocations: 0 / 444.9 MB, free: 2.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001243/0.1229, allocations: 0.6026 MB / 445.5 MB, free: 2.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.115e-05/0.123, allocations: 160 kB / 445.7 MB, free: 2.062 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.123, allocations: 0 / 445.7 MB, free: 2.062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004142/0.1235, allocations: 160.8 kB / 445.9 MB, free: 1.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.1238, allocations: 83.89 kB / 445.9 MB, free: 1.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005486/0.1243, allocations: 0.7162 MB / 446.6 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.1248, allocations: 79.98 kB / 446.7 MB, free: 1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/0.1248, allocations: 20 kB / 446.7 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.1248, allocations: 4 kB / 446.8 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008907/0.1257, allocations: 464 kB / 447.2 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1258, allocations: 4 kB / 447.2 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003247/0.1261, allocations: 168.8 kB / 447.4 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.1263, allocations: 67.91 kB / 447.4 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006241/0.1269, allocations: 0.7079 MB / 448.1 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/0.1273, allocations: 60.14 kB / 448.2 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.1274, allocations: 23.98 kB / 448.2 MB, free: 15.47 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 14 (driver.dummy,$PRE.driver.driveCyc.nextTimeEvent,$whenCondition1,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,dragF.mode,$PRE.dragF.mode,dragF.locked,dragF.startBackward,$PRE.dragF.startBackward,dragF.startForward,$PRE.dragF.startForward,dragF.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002793/0.1276, allocations: 264.8 kB / 448.5 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.205e-05/0.1277, allocations: 39.53 kB / 448.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.1279, allocations: 52.41 kB / 448.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.1279, allocations: 4 kB / 448.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.1279, allocations: 0 / 448.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.1279, allocations: 7.984 kB / 448.6 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.1306, allocations: 1.212 MB / 449.8 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1306, allocations: 4.047 kB / 449.8 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.1309, allocations: 83.81 kB / 449.9 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003715/0.1313, allocations: 144.8 kB / 450 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.1313, allocations: 11.98 kB / 450 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006256/0.132, allocations: 0.6888 MB / 450.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.132, allocations: 4.031 kB / 450.7 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.1338, allocations: 0.8494 MB / 451.6 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.134, allocations: 160.6 kB / 451.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.777e-05/0.1341, allocations: 12 kB / 451.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000424/0.1345, allocations: 72 kB / 451.8 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.1347, allocations: 59.84 kB / 451.9 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.1347, allocations: 19.98 kB / 451.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002627/0.135, allocations: 231 kB / 452.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.135, allocations: 0 / 452.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006901/0.1357, allocations: 187.9 kB / 452.3 MB, free: 11.23 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (dragF.s,dragF.v) * Number of discrete variables: 7 ($whenCondition1,dragF.startForward,dragF.startBackward,dragF.locked,dragF.mode,driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled) * Number of discrete states: 5 (driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled,dragF.mode,dragF.startForward,dragF.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001153/0.1369, allocations: 481.6 kB / 452.8 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.1385, allocations: 0.6872 MB / 453.5 MB, free: 10.24 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1386, allocations: 3.938 kB / 453.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006097/0.1392, allocations: 248.5 kB / 453.7 MB, free: 9.992 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000647/0.1398, allocations: 87.38 kB / 453.8 MB, free: 9.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.1423, allocations: 1.284 MB / 455.1 MB, free: 8.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.1429, allocations: 0.824 MB / 455.9 MB, free: 7.738 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002463/0.1432, allocations: 67.23 kB / 456 MB, free: 7.672 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.1433, allocations: 35.42 kB / 456 MB, free: 7.637 MB / 318.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1433, allocations: 0 / 456 MB, free: 7.637 MB / 318.1 MB Notification: Performance of Templates: time 0.01517/0.1585, allocations: 8.942 MB / 464.9 MB, free: 14.74 MB / 334.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.sim & ./EHPTexamples_latest_EHPTexamples.EV.FirstEVpow -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.pipe 2>&1)