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.07752/0.07752, allocations: 8.028 MB / 23.66 MB, free: 220 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.001411/0.001411, allocations: 108.6 kB / 26.25 MB, free: 3.191 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.001283/0.001284, allocations: 195.2 kB / 28.95 MB, free: 0.5039 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.372/1.372, allocations: 222.9 MB / 254.4 MB, free: 4.676 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01275/0.01275, allocations: 3.124 MB / 309.4 MB, free: 2.273 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 99.84 kB / 426.9 MB, free: 17.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1094, allocations: 51.97 MB / 478.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.004769/0.1142, allocations: 3.27 MB / 482.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003746/0.118, allocations: 2.254 MB / 484.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002404/0.1182, allocations: 15.88 kB / 484.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004906/0.1187, allocations: 135 kB / 484.6 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004382/0.1193, allocations: 166.8 kB / 484.7 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008481/0.1201, allocations: 410.7 kB / 485.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006251/0.1207, allocations: 0.6503 MB / 485.8 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002636/0.121, allocations: 157.4 kB / 485.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.1213, allocations: 283 kB / 486.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003743/0.1217, allocations: 262.8 kB / 486.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.285e-05/0.1218, allocations: 52 kB / 486.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.1222, allocations: 163.9 kB / 486.7 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.1223, allocations: 127.5 kB / 486.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.1225, allocations: 262.6 kB / 487 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008395/0.1234, allocations: 0.6694 MB / 487.7 MB, free: 4.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1234, allocations: 3.938 kB / 487.7 MB, free: 4.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1234, allocations: 0 / 487.7 MB, free: 4.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1234, allocations: 0 / 487.7 MB, free: 4.715 MB / 350.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.001483/0.1249, allocations: 0.842 MB / 488.6 MB, free: 3.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.125, allocations: 12.02 kB / 488.6 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.1252, allocations: 64.56 kB / 488.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005813/0.1258, allocations: 400.9 kB / 489 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.542e-05/0.1258, allocations: 51.27 kB / 489.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.952e-05/0.1259, allocations: 43.92 kB / 489.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008322/0.1268, allocations: 465.5 kB / 489.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.1268, allocations: 7.953 kB / 489.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.63e-05/0.1268, allocations: 16 kB / 489.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.1269, allocations: 8 kB / 489.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007733/0.1276, allocations: 331.8 kB / 489.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.1298, allocations: 1.351 MB / 491.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009842/0.1308, allocations: 397.4 kB / 491.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003491/0.1312, allocations: 148.8 kB / 491.8 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.1312, allocations: 8.531 kB / 491.8 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004712/0.1317, allocations: 235.1 kB / 492.1 MB, free: 164 kB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.783e-06/0.1317, allocations: 0 / 492.1 MB, free: 164 kB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004265/0.136, allocations: 1.781 MB / 493.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.897e-05/0.1361, allocations: 166.1 kB / 494 MB, free: 14.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004169/0.1365, allocations: 373.6 kB / 494.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.1366, allocations: 33.7 kB / 494.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.1367, allocations: 220.9 kB / 494.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.1369, allocations: 138.8 kB / 494.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.137, allocations: 90.06 kB / 494.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1372, allocations: 350.8 kB / 495.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.1375, allocations: 162.5 kB / 495.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/0.138, allocations: 278.7 kB / 495.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006866/0.1387, allocations: 359.6 kB / 496 MB, free: 12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1387, allocations: 0 / 496 MB, free: 12 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001287/0.14, allocations: 0.5563 MB / 496.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.14, allocations: 4 kB / 496.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.14, allocations: 4.062 kB / 496.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004559/0.1405, allocations: 173 kB / 496.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.1408, allocations: 83.81 kB / 496.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006682/0.1415, allocations: 0.6968 MB / 497.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/0.1419, allocations: 64.02 kB / 497.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.241e-05/0.1419, allocations: 16 kB / 497.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003806/0.1423, allocations: 248.9 kB / 497.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003423/0.1427, allocations: 231.4 kB / 498 MB, free: 9.863 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004908/0.1432, allocations: 295.8 kB / 498.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.555e-06/0.1432, allocations: 0 / 498.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001087/0.1443, allocations: 493.7 kB / 498.8 MB, free: 9.055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.1443, allocations: 8.219 kB / 498.8 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1444, allocations: 4 kB / 498.8 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004066/0.1448, allocations: 176.8 kB / 499 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.145, allocations: 59.91 kB / 499 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006448/0.1457, allocations: 0.7085 MB / 499.7 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003545/0.146, allocations: 52.05 kB / 499.8 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.1461, allocations: 12 kB / 499.8 MB, free: 8.012 MB / 366.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.0001819/0.1463, allocations: 220.1 kB / 0.4883 GB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.846e-05/0.1463, allocations: 43.72 kB / 0.4883 GB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.1465, allocations: 56.19 kB / 0.4884 GB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.1465, allocations: 4 kB / 0.4884 GB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1465, allocations: 0 / 0.4884 GB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1465, allocations: 7.984 kB / 0.4884 GB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.1487, allocations: 1.173 MB / 0.4895 GB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1487, allocations: 0 / 0.4895 GB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.149, allocations: 63.91 kB / 0.4896 GB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003583/0.1494, allocations: 144.8 kB / 0.4897 GB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.1494, allocations: 20.05 kB / 0.4898 GB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006676/0.1501, allocations: 0.6811 MB / 0.4904 GB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1501, allocations: 4.031 kB / 0.4904 GB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.1518, allocations: 0.8004 MB / 0.4912 GB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.152, allocations: 156.7 kB / 0.4914 GB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-05/0.1521, allocations: 16 kB / 0.4914 GB, free: 4.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/0.1524, allocations: 51.92 kB / 0.4914 GB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.1526, allocations: 59.92 kB / 0.4915 GB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.1526, allocations: 15.98 kB / 0.4915 GB, free: 4.359 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002753/0.1529, allocations: 271.1 kB / 0.4918 GB, free: 4.098 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1529, allocations: 0 / 0.4918 GB, free: 4.098 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006489/0.1536, allocations: 175.9 kB / 0.4919 GB, free: 3.926 MB / 366.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.00119/0.1547, allocations: 478.3 kB / 0.4924 GB, free: 3.625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.1563, allocations: 0.636 MB / 0.493 GB, free: 2.988 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1564, allocations: 0 / 0.493 GB, free: 2.988 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005866/0.1569, allocations: 235.7 kB / 0.4932 GB, free: 2.758 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006483/0.1576, allocations: 108.2 kB / 0.4933 GB, free: 2.656 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.1599, allocations: 1.025 MB / 0.4943 GB, free: 1.594 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.1603, allocations: 0.8161 MB / 0.4951 GB, free: 0.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002204/0.1606, allocations: 63.27 kB / 0.4952 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.1607, allocations: 43.42 kB / 0.4952 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.1607, allocations: 3.938 kB / 0.4952 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of Templates: time 0.01661/0.1773, allocations: 9.672 MB / 0.5047 GB, free: 7.027 MB / 382.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)