Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.EV.EVdata.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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/package.mo) Running command: translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.EVdata") translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.EVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.04561/0.04561, allocations: 8.023 MB / 24.33 MB, free: 420 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.001291/0.001291, allocations: 104.1 kB / 26.92 MB, free: 3.129 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.001581/0.001581, allocations: 201.4 kB / 29.62 MB, free: 456 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.9 MB / 255.1 MB, free: 4.711 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.0136/0.0136, allocations: 3.12 MB / 310.1 MB, free: 2.332 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002668/0.002668, allocations: 91.86 kB / 427.6 MB, free: 17.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09732/0.09999, allocations: 51.96 MB / 479.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.004964/0.105, allocations: 3.289 MB / 482.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003956/0.1089, allocations: 2.266 MB / 485.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003001/0.1092, allocations: 11.94 kB / 485.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005447/0.1098, allocations: 135 kB / 485.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006267/0.1104, allocations: 170.8 kB / 485.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009303/0.1113, allocations: 418.1 kB / 485.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007091/0.112, allocations: 0.6464 MB / 486.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002673/0.1123, allocations: 117.4 kB / 486.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003858/0.1127, allocations: 279 kB / 486.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004146/0.1131, allocations: 258.8 kB / 487.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.263e-05/0.1132, allocations: 56 kB / 487.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00034/0.1135, allocations: 163.9 kB / 487.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.1137, allocations: 127.6 kB / 487.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000261/0.1139, allocations: 258.6 kB / 487.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009594/0.1149, allocations: 0.6732 MB / 488.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1149, allocations: 0 / 488.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1149, allocations: 0 / 488.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1149, allocations: 0 / 488.4 MB, free: 4.684 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.001694/0.1166, allocations: 0.8445 MB / 489.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1166, allocations: 12.03 kB / 489.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.1168, allocations: 68.48 kB / 489.3 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006654/0.1175, allocations: 401 kB / 489.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.205e-05/0.1176, allocations: 55.27 kB / 489.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.359e-05/0.1177, allocations: 35.94 kB / 489.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008795/0.1186, allocations: 469.4 kB / 490.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.1186, allocations: 7.953 kB / 490.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.629e-05/0.1186, allocations: 12 kB / 490.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.1186, allocations: 12 kB / 490.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007939/0.1194, allocations: 335.7 kB / 490.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/0.1218, allocations: 1.339 MB / 491.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.1229, allocations: 386.9 kB / 492.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003858/0.1233, allocations: 136.8 kB / 492.4 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.706e-05/0.1234, allocations: 11.98 kB / 492.5 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005389/0.1239, allocations: 239.7 kB / 492.7 MB, free: 148 kB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.854e-06/0.1239, allocations: 3.938 kB / 492.7 MB, free: 144 kB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004587/0.1285, allocations: 1.773 MB / 494.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.1286, allocations: 162.2 kB / 494.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000489/0.1291, allocations: 365.6 kB / 495 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.428e-05/0.1292, allocations: 41.69 kB / 495 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.1293, allocations: 217.2 kB / 495.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.1295, allocations: 146.8 kB / 495.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.1296, allocations: 86.06 kB / 495.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.1298, allocations: 346.8 kB / 495.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004016/0.1302, allocations: 166.5 kB / 496 MB, free: 12.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005124/0.1307, allocations: 271.4 kB / 496.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007751/0.1315, allocations: 363.6 kB / 496.6 MB, free: 12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1315, allocations: 0 / 496.6 MB, free: 12 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001374/0.1329, allocations: 0.5524 MB / 497.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.1329, allocations: 4 kB / 497.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.1329, allocations: 4 kB / 497.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004849/0.1334, allocations: 160.9 kB / 497.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.1337, allocations: 83.89 kB / 497.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008138/0.1345, allocations: 0.7046 MB / 498.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.135, allocations: 63.86 kB / 498.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.15e-05/0.135, allocations: 16 kB / 498.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004264/0.1354, allocations: 253 kB / 498.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004017/0.1358, allocations: 223.5 kB / 498.6 MB, free: 9.867 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005251/0.1364, allocations: 291.8 kB / 498.9 MB, free: 9.555 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.028e-06/0.1364, allocations: 4 kB / 498.9 MB, free: 9.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001087/0.1375, allocations: 493.7 kB / 499.4 MB, free: 9.059 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1375, allocations: 4 kB / 499.4 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1375, allocations: 4 kB / 499.4 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004193/0.1379, allocations: 172.9 kB / 499.6 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.1381, allocations: 63.91 kB / 499.6 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007484/0.1389, allocations: 0.7045 MB / 0.4886 GB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003808/0.1393, allocations: 51.97 kB / 0.4887 GB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.1393, allocations: 16.06 kB / 0.4887 GB, free: 8.02 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.0002596/0.1395, allocations: 212.1 kB / 0.4889 GB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.735e-05/0.1396, allocations: 43.72 kB / 0.4889 GB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.1398, allocations: 64.17 kB / 0.489 GB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1398, allocations: 4 kB / 0.489 GB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1398, allocations: 0 / 0.489 GB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1398, allocations: 0 / 0.489 GB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.1422, allocations: 1.177 MB / 0.4901 GB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1422, allocations: 0 / 0.4901 GB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.1425, allocations: 63.95 kB / 0.4902 GB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004005/0.1429, allocations: 152.7 kB / 0.4903 GB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/0.1429, allocations: 11.98 kB / 0.4904 GB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000745/0.1437, allocations: 0.6812 MB / 0.491 GB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1437, allocations: 0 / 0.491 GB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.1455, allocations: 0.7926 MB / 0.4918 GB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.1457, allocations: 172.8 kB / 0.492 GB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.441e-05/0.1458, allocations: 8 kB / 0.492 GB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004015/0.1462, allocations: 55.94 kB / 0.492 GB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.1464, allocations: 51.91 kB / 0.4921 GB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.1464, allocations: 19.98 kB / 0.4921 GB, free: 4.375 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003181/0.1467, allocations: 259.2 kB / 0.4923 GB, free: 4.125 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1467, allocations: 0 / 0.4923 GB, free: 4.125 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007127/0.1474, allocations: 179.9 kB / 0.4925 GB, free: 3.949 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.001663/0.1491, allocations: 482.5 kB / 0.493 GB, free: 3.645 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.1508, allocations: 0.6051 MB / 0.4936 GB, free: 3.039 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1508, allocations: 4.062 kB / 0.4936 GB, free: 3.035 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006193/0.1514, allocations: 219.7 kB / 0.4938 GB, free: 2.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/0.1521, allocations: 108.6 kB / 0.4939 GB, free: 2.719 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.1545, allocations: 1.018 MB / 0.4949 GB, free: 1.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.155, allocations: 0.8161 MB / 0.4957 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002823/0.1553, allocations: 67.25 kB / 0.4957 GB, free: 0.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.1554, allocations: 43.42 kB / 0.4958 GB, free: 0.707 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1554, allocations: 0 / 0.4958 GB, free: 0.707 MB / 366.1 MB Notification: Performance of Templates: time 0.01734/0.1728, allocations: 9.726 MB / 0.5053 GB, free: 7.043 MB / 382.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.EVdata.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.EVdata.sim & ./EHPTexamples_latest_EHPTexamples.EV.EVdata -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe 2>&1)