Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_EHPTexamples.EV.EVdata.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.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.EVdata") translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.EVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04706/0.04706, allocations: 8.032 MB / 23.3 MB, free: 80 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.0007363/0.0007364, allocations: 78.81 kB / 25.87 MB, free: 3.359 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.0008048/0.0008048, allocations: 186.3 kB / 28.56 MB, free: 0.7227 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.308/1.308, allocations: 223.3 MB / 254.4 MB, free: 3.855 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01317/0.01317, allocations: 3.117 MB / 310.4 MB, free: 0.5234 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.0004671, allocations: 13.22 kB / 375.5 MB, free: 53.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09143/0.09192, allocations: 52.97 MB / 428.4 MB, free: 19.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.002587/0.09454, allocations: 2.915 MB / 431.3 MB, free: 16.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.09689, allocations: 2.203 MB / 433.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.09706, allocations: 11.94 kB / 433.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.09745, allocations: 117.8 kB / 433.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.09776, allocations: 131.2 kB / 433.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006082/0.09837, allocations: 364.3 kB / 434.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004236/0.09881, allocations: 0.6074 MB / 434.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.09901, allocations: 137.5 kB / 434.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.09923, allocations: 227 kB / 435.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.09951, allocations: 234.8 kB / 435.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.93e-05/0.09957, allocations: 20 kB / 435.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.09978, allocations: 131.9 kB / 435.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.948e-05/0.09988, allocations: 99.52 kB / 435.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.1, allocations: 240.5 kB / 435.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004522/0.1005, allocations: 0.6228 MB / 436.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1005, allocations: 7.938 kB / 436.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1005, allocations: 0 / 436.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1005, allocations: 0 / 436.5 MB, free: 11.84 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001145/0.1017, allocations: 0.765 MB / 437.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1017, allocations: 8.031 kB / 437.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.1019, allocations: 56.28 kB / 437.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.1023, allocations: 388.7 kB / 437.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.827e-05/0.1023, allocations: 55.27 kB / 437.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.098e-05/0.1024, allocations: 47.88 kB / 437.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007337/0.1031, allocations: 481.4 kB / 438.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1032, allocations: 4 kB / 438.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.1032, allocations: 12 kB / 438.3 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1032, allocations: 11.94 kB / 438.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006959/0.1039, allocations: 355.8 kB / 438.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.1058, allocations: 1.386 MB / 440 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009602/0.1067, allocations: 431.3 kB / 440.4 MB, free: 7.672 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.1071, allocations: 160.8 kB / 440.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.1071, allocations: 4.531 kB / 440.6 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005085/0.1076, allocations: 259.7 kB / 440.8 MB, free: 7.242 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.753e-06/0.1076, allocations: 0 / 440.8 MB, free: 7.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003811/0.1115, allocations: 1.887 MB / 442.7 MB, free: 5.238 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.1115, allocations: 162.2 kB / 442.9 MB, free: 5.043 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.1119, allocations: 361.7 kB / 443.2 MB, free: 4.684 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.1119, allocations: 41.7 kB / 443.3 MB, free: 4.637 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.112, allocations: 224.5 kB / 443.5 MB, free: 4.414 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.752e-05/0.1121, allocations: 138.1 kB / 443.6 MB, free: 4.277 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.1122, allocations: 45.62 kB / 443.7 MB, free: 4.227 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.569e-05/0.1123, allocations: 346.8 kB / 444 MB, free: 3.879 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003477/0.1126, allocations: 172.8 kB / 444.2 MB, free: 3.711 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.113, allocations: 279.4 kB / 444.5 MB, free: 3.398 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006392/0.1137, allocations: 387.7 kB / 444.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1137, allocations: 0 / 444.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00112/0.1148, allocations: 0.5719 MB / 445.4 MB, free: 2.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/0.1149, allocations: 150.2 kB / 445.5 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1149, allocations: 0 / 445.5 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003858/0.1153, allocations: 168.7 kB / 445.7 MB, free: 2.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.1156, allocations: 79.89 kB / 445.8 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004925/0.1161, allocations: 0.7123 MB / 446.5 MB, free: 1.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.1165, allocations: 80 kB / 446.6 MB, free: 1.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.1165, allocations: 16.03 kB / 446.6 MB, free: 1.156 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.101e-06/0.1165, allocations: 8 kB / 446.6 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007976/0.1173, allocations: 444.2 kB / 447 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.1173, allocations: 0 / 447 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003247/0.1177, allocations: 168.5 kB / 447.2 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.1179, allocations: 63.91 kB / 447.3 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005248/0.1184, allocations: 0.7085 MB / 448 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.1188, allocations: 59.95 kB / 448 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.1188, allocations: 19.98 kB / 448.1 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 (41): * Single equations (assignments): 40 * 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.0002327/0.119, allocations: 250 kB / 448.3 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.1191, allocations: 43.44 kB / 448.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.1192, allocations: 60.17 kB / 448.4 MB, free: 15.31 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1193, allocations: 8 kB / 448.4 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.1193, allocations: 7.938 kB / 448.4 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.1193, allocations: 0 / 448.4 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.1214, allocations: 1.193 MB / 449.6 MB, free: 14.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1215, allocations: 0 / 449.6 MB, free: 14.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.1218, allocations: 79.98 kB / 449.7 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003522/0.1221, allocations: 144.7 kB / 449.8 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.1222, allocations: 15.98 kB / 449.8 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005773/0.1227, allocations: 0.6849 MB / 450.5 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1228, allocations: 0 / 450.5 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.1244, allocations: 0.8417 MB / 451.4 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.1246, allocations: 156.6 kB / 451.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.883e-05/0.1247, allocations: 19.94 kB / 451.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.1251, allocations: 75.98 kB / 451.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.1253, allocations: 55.91 kB / 451.7 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/0.1253, allocations: 19.98 kB / 451.7 MB, free: 11.87 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002744/0.1256, allocations: 255.2 kB / 451.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1256, allocations: 0 / 451.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006564/0.1263, allocations: 184 kB / 452.1 MB, free: 11.45 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 (30): * Single equations (assignments): 27 * 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.001069/0.1273, allocations: 478.2 kB / 452.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.1289, allocations: 0.6648 MB / 453.2 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1289, allocations: 0 / 453.2 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005794/0.1295, allocations: 236 kB / 453.5 MB, free: 10.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006756/0.1302, allocations: 99.97 kB / 453.6 MB, free: 10.15 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.1325, allocations: 1.289 MB / 454.9 MB, free: 8.836 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.1328, allocations: 0.8277 MB / 455.7 MB, free: 7.98 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.1331, allocations: 67.27 kB / 455.8 MB, free: 7.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.1332, allocations: 35.42 kB / 455.8 MB, free: 7.875 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1332, allocations: 4 kB / 455.8 MB, free: 7.871 MB / 318.1 MB Notification: Performance of Templates: time 0.01449/0.1477, allocations: 9.071 MB / 464.9 MB, free: 14.85 MB / 334.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.EVdata.makefile (rm -f EHPTexamples_EHPTexamples.EV.EVdata.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.EVdata.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.EVdata.pipe >> ../files/EHPTexamples_EHPTexamples.EV.EVdata.sim & ./EHPTexamples_EHPTexamples.EV.EVdata -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.EVdata.pipe 2>&1)