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.04885/0.04885, allocations: 8.035 MB / 23.67 MB, free: 0.5898 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.0008996/0.0008996, allocations: 97.56 kB / 26.26 MB, free: 3.391 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.001058/0.001058, allocations: 191.2 kB / 28.95 MB, free: 0.7109 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.218/1.218, 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.01193/0.01193, allocations: 3.115 MB / 309.4 MB, free: 2.301 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 91.86 kB / 426.9 MB, free: 17.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07403/0.07552, allocations: 51.97 MB / 478.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.004025/0.07957, allocations: 3.27 MB / 482.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002984/0.08257, allocations: 2.266 MB / 484.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/0.08279, allocations: 11.94 kB / 484.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004935/0.08329, allocations: 127 kB / 484.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004128/0.08372, allocations: 166.8 kB / 484.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007801/0.08451, allocations: 409.5 kB / 485.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005708/0.08509, allocations: 0.6503 MB / 485.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.08534, allocations: 169.4 kB / 485.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002569/0.0856, allocations: 263.1 kB / 486.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003238/0.08593, allocations: 262.8 kB / 486.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.416e-05/0.08601, allocations: 52 kB / 486.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002533/0.08627, allocations: 167.9 kB / 486.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.0864, allocations: 123.5 kB / 486.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.0866, allocations: 254.6 kB / 487 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006487/0.08726, allocations: 0.6732 MB / 487.7 MB, free: 4.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.08727, allocations: 0 / 487.7 MB, free: 4.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.08728, allocations: 0 / 487.7 MB, free: 4.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.08729, allocations: 0 / 487.7 MB, free: 4.652 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.001256/0.08855, allocations: 0.8498 MB / 488.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.722e-05/0.08859, allocations: 16.03 kB / 488.6 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.08875, allocations: 60.56 kB / 488.6 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/0.08923, allocations: 393 kB / 489 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.711e-05/0.0893, allocations: 55.27 kB / 489.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.975e-05/0.08937, allocations: 43.92 kB / 489.1 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007749/0.09015, allocations: 469.4 kB / 489.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.09018, allocations: 7.953 kB / 489.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/0.09022, allocations: 8 kB / 489.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.09024, allocations: 12 kB / 489.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007179/0.09096, allocations: 339.8 kB / 489.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.09289, allocations: 1.343 MB / 491.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009443/0.09385, allocations: 397.2 kB / 491.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.09418, allocations: 152.8 kB / 491.8 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.712e-05/0.09423, allocations: 7.938 kB / 491.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004475/0.09468, allocations: 243.6 kB / 492 MB, free: 84 kB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.09469, allocations: 0 / 492 MB, free: 84 kB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003934/0.09863, allocations: 1.777 MB / 493.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.09871, allocations: 166.1 kB / 494 MB, free: 13.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003609/0.09908, allocations: 369.6 kB / 494.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.09913, allocations: 37.7 kB / 494.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.09927, allocations: 216.9 kB / 494.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.09938, allocations: 146.8 kB / 494.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.09952, allocations: 86.08 kB / 494.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.09965, allocations: 350.8 kB / 495.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/0.1, allocations: 166.5 kB / 495.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.1004, allocations: 271.4 kB / 495.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/0.1011, allocations: 351.6 kB / 495.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.1011, allocations: 7.938 kB / 495.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001176/0.1023, allocations: 0.5524 MB / 496.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1023, allocations: 4 kB / 496.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1024, allocations: 4.219 kB / 496.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00042/0.1028, allocations: 168.8 kB / 496.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.1031, allocations: 83.81 kB / 496.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006088/0.1037, allocations: 0.7046 MB / 497.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.104, allocations: 60 kB / 497.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.1041, allocations: 12 kB / 497.5 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003454/0.1044, allocations: 252.9 kB / 497.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003078/0.1048, allocations: 231.4 kB / 498 MB, free: 9.793 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004332/0.1052, allocations: 295.8 kB / 498.3 MB, free: 9.477 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/0.1052, allocations: 4 kB / 498.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009247/0.1061, allocations: 490 kB / 498.8 MB, free: 8.984 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/0.1062, allocations: 11.97 kB / 498.8 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1062, allocations: 7.984 kB / 498.8 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003633/0.1065, allocations: 168.7 kB / 498.9 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.1067, allocations: 63.91 kB / 499 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000575/0.1073, allocations: 0.708 MB / 499.7 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.1077, allocations: 48.02 kB / 499.8 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.1077, allocations: 16 kB / 499.8 MB, free: 7.941 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.0001358/0.1079, allocations: 220.1 kB / 500 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.368e-05/0.1079, allocations: 43.72 kB / 0.4883 GB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.108, allocations: 52.19 kB / 0.4884 GB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1081, allocations: 4 kB / 0.4884 GB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1081, allocations: 0 / 0.4884 GB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1081, allocations: 11.98 kB / 0.4884 GB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.11, allocations: 1.169 MB / 0.4895 GB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.11, allocations: 3.938 kB / 0.4895 GB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.1103, allocations: 71.89 kB / 0.4896 GB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003317/0.1106, allocations: 148.7 kB / 0.4897 GB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.111e-05/0.1106, allocations: 15.98 kB / 0.4898 GB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005508/0.1112, allocations: 0.6772 MB / 0.4904 GB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.1112, allocations: 4.031 kB / 0.4904 GB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.1127, allocations: 0.7964 MB / 0.4912 GB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.1129, allocations: 160.7 kB / 0.4914 GB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.038e-05/0.113, allocations: 12 kB / 0.4914 GB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.1134, allocations: 55.92 kB / 0.4914 GB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.1135, allocations: 51.98 kB / 0.4915 GB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.1135, allocations: 27.98 kB / 0.4915 GB, free: 4.281 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002556/0.1138, allocations: 259.2 kB / 0.4917 GB, free: 4.031 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1138, allocations: 4 kB / 0.4917 GB, free: 4.027 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005627/0.1144, allocations: 179.9 kB / 0.4919 GB, free: 3.852 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.0009813/0.1153, allocations: 476.7 kB / 0.4924 GB, free: 3.551 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.1167, allocations: 0.632 MB / 0.493 GB, free: 2.918 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.1168, allocations: 4 kB / 0.493 GB, free: 2.914 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005383/0.1173, allocations: 232.5 kB / 0.4932 GB, free: 2.688 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005763/0.1179, allocations: 103.8 kB / 0.4933 GB, free: 2.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.1198, allocations: 1.029 MB / 0.4943 GB, free: 1.523 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.1201, allocations: 0.8239 MB / 0.4951 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002001/0.1203, allocations: 63.27 kB / 0.4952 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.622e-05/0.1204, allocations: 43.36 kB / 0.4952 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1205, allocations: 0 / 0.4952 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of Templates: time 0.01331/0.1338, allocations: 9.676 MB / 0.5047 GB, free: 6.949 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)