Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_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_main_EHPTexamples.EV.FirstEVpow") translateModel(EHPTexamples.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEVpow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04387/0.04387, allocations: 8.033 MB / 23.3 MB, free: 72 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.0007489/0.0007489, allocations: 86.92 kB / 25.87 MB, free: 3.352 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.0007953/0.0007954, allocations: 184 kB / 28.56 MB, free: 0.7188 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.211/1.211, allocations: 223.3 MB / 254.4 MB, free: 5.602 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.0118/0.01181, allocations: 3.12 MB / 310.4 MB, free: 0.7695 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004344/0.0004344, allocations: 12.03 kB / 375.5 MB, free: 54.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08616/0.08661, allocations: 52.97 MB / 428.4 MB, free: 20.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.002553/0.0892, allocations: 2.933 MB / 431.4 MB, free: 17.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.0914, allocations: 2.106 MB / 433.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.09159, allocations: 11.94 kB / 433.5 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.0919, allocations: 75.53 kB / 433.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.09219, allocations: 123.2 kB / 433.7 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005973/0.0928, allocations: 371.4 kB / 434 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003901/0.0932, allocations: 0.6113 MB / 434.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.09341, allocations: 156 kB / 434.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.09361, allocations: 235 kB / 435 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.09386, allocations: 234.9 kB / 435.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.502e-05/0.09391, allocations: 28 kB / 435.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.09411, allocations: 135.8 kB / 435.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.171e-05/0.0942, allocations: 95.66 kB / 435.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.09435, allocations: 252.3 kB / 435.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.09477, allocations: 0.6345 MB / 436.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.09479, allocations: 0 / 436.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.09479, allocations: 0 / 436.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.09481, allocations: 0 / 436.4 MB, free: 12.09 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.001083/0.09589, allocations: 0.7651 MB / 437.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.09593, allocations: 8.031 kB / 437.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.09607, allocations: 60.22 kB / 437.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.09645, allocations: 376.2 kB / 437.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.737e-05/0.09651, allocations: 55.27 kB / 437.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.205e-05/0.09658, allocations: 51.84 kB / 437.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007288/0.09732, allocations: 0.5014 MB / 438.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.09735, allocations: 3.984 kB / 438.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/0.09739, allocations: 16 kB / 438.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.09741, allocations: 12 kB / 438.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006788/0.09809, allocations: 379.7 kB / 438.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.0999, allocations: 1.456 MB / 440.1 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009208/0.1008, allocations: 458.1 kB / 440.5 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.1012, allocations: 170.2 kB / 440.7 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.1012, allocations: 8.219 kB / 440.7 MB, free: 7.594 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004725/0.1017, allocations: 257.7 kB / 440.9 MB, free: 7.332 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.973e-06/0.1017, allocations: 0 / 440.9 MB, free: 7.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.003658/0.1054, allocations: 1.927 MB / 442.9 MB, free: 5.293 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.1054, allocations: 162.2 kB / 443 MB, free: 5.098 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.1057, allocations: 328.5 kB / 443.3 MB, free: 4.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.1057, allocations: 37.7 kB / 443.4 MB, free: 4.727 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.638e-05/0.1058, allocations: 216.4 kB / 443.6 MB, free: 4.512 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.498e-05/0.1059, allocations: 142.1 kB / 443.7 MB, free: 4.371 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/0.106, allocations: 37.7 kB / 443.8 MB, free: 4.328 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.028e-05/0.106, allocations: 346.8 kB / 444.1 MB, free: 3.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/0.1064, allocations: 181 kB / 444.3 MB, free: 3.805 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003831/0.1067, allocations: 292.4 kB / 444.6 MB, free: 3.477 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006178/0.1074, allocations: 391.6 kB / 444.9 MB, free: 3.066 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1074, allocations: 4 kB / 444.9 MB, free: 3.062 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001111/0.1085, allocations: 0.6065 MB / 445.6 MB, free: 2.445 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.741e-05/0.1086, allocations: 148 kB / 445.7 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1086, allocations: 4 kB / 445.7 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003641/0.1089, allocations: 156.7 kB / 445.9 MB, free: 2.109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.1092, allocations: 87.89 kB / 445.9 MB, free: 2.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004697/0.1097, allocations: 0.7159 MB / 446.7 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.1101, allocations: 80.02 kB / 446.7 MB, free: 1.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/0.1101, allocations: 16 kB / 446.7 MB, free: 1.191 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.531e-06/0.1102, allocations: 7.938 kB / 446.8 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008403/0.111, allocations: 468.1 kB / 447.2 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.111, allocations: 0 / 447.2 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003076/0.1113, allocations: 160.8 kB / 447.4 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.1115, allocations: 67.91 kB / 447.4 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005066/0.112, allocations: 0.7163 MB / 448.2 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/0.1124, allocations: 51.98 kB / 448.2 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.1124, allocations: 28.05 kB / 448.2 MB, free: 15.67 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.0002614/0.1127, allocations: 263.1 kB / 448.5 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.1128, allocations: 35.53 kB / 448.5 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.1129, allocations: 52.41 kB / 448.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1129, allocations: 4 kB / 448.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.1129, allocations: 0 / 448.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.1129, allocations: 7.922 kB / 448.6 MB, free: 15.31 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.115, allocations: 1.219 MB / 449.8 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.1151, allocations: 3.984 kB / 449.8 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.1154, allocations: 75.84 kB / 449.9 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003606/0.1157, allocations: 148.8 kB / 450 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.1158, allocations: 23.98 kB / 450.1 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006151/0.1164, allocations: 0.6772 MB / 450.7 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1164, allocations: 0 / 450.7 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.1181, allocations: 0.8495 MB / 451.6 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.1183, allocations: 156.6 kB / 451.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.232e-05/0.1184, allocations: 16 kB / 451.7 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/0.1188, allocations: 76 kB / 451.8 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.1189, allocations: 59.78 kB / 451.9 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.119, allocations: 15.98 kB / 451.9 MB, free: 11.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002428/0.1192, allocations: 243 kB / 452.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1192, allocations: 0 / 452.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006614/0.1199, allocations: 179.9 kB / 452.3 MB, free: 11.44 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.001/0.1209, allocations: 489.7 kB / 452.8 MB, free: 11.13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.1225, allocations: 0.6756 MB / 453.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1225, allocations: 0.5625 kB / 453.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005737/0.1231, allocations: 255.8 kB / 453.7 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006441/0.1238, allocations: 91.42 kB / 453.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.1259, allocations: 1.281 MB / 455.1 MB, free: 8.805 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.1263, allocations: 0.8201 MB / 455.9 MB, free: 7.957 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002509/0.1265, allocations: 67.23 kB / 456 MB, free: 7.891 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.1266, allocations: 39.42 kB / 456 MB, free: 7.852 MB / 318.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1267, allocations: 3.938 kB / 456 MB, free: 7.848 MB / 318.1 MB Notification: Performance of Templates: time 0.01414/0.1408, allocations: 8.936 MB / 464.9 MB, free: 14.95 MB / 334.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.FirstEVpow.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.FirstEVpow.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.FirstEVpow.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.FirstEVpow.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.FirstEVpow.sim & ./EHPTexamples_main_EHPTexamples.EV.FirstEVpow -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.FirstEVpow.pipe 2>&1)