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.04723/0.04723, allocations: 8.029 MB / 23.66 MB, free: 248 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.000974/0.0009744, allocations: 108.5 kB / 26.25 MB, free: 3.215 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.00113/0.001131, allocations: 187.4 kB / 28.94 MB, free: 0.5352 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.243/1.243, allocations: 222.9 MB / 254.4 MB, free: 4.672 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01207/0.01207, allocations: 3.127 MB / 309.4 MB, free: 2.293 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 95.84 kB / 426.9 MB, free: 17.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08575/0.08732, allocations: 51.97 MB / 478.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.004088/0.09145, allocations: 3.281 MB / 482.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.09425, allocations: 2.262 MB / 484.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.09441, allocations: 11.88 kB / 484.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004159/0.09484, allocations: 135 kB / 484.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000358/0.09521, allocations: 170.8 kB / 484.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007125/0.09593, allocations: 410.7 kB / 485.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005224/0.09646, allocations: 0.6425 MB / 485.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.09671, allocations: 165.4 kB / 485.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.09698, allocations: 275.1 kB / 486.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.0973, allocations: 266.8 kB / 486.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.552e-05/0.09737, allocations: 52 kB / 486.5 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.0976, allocations: 155.9 kB / 486.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.09773, allocations: 131.5 kB / 486.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.09796, allocations: 258.7 kB / 487 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006017/0.09856, allocations: 0.6542 MB / 487.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.09858, allocations: 4 kB / 487.7 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.09859, allocations: 0 / 487.7 MB, free: 4.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.0986, allocations: 7.938 kB / 487.7 MB, free: 4.523 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.001287/0.0999, allocations: 0.8271 MB / 488.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.09994, allocations: 16.03 kB / 488.5 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.1001, allocations: 52.28 kB / 488.6 MB, free: 3.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.1006, allocations: 408.6 kB / 489 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.324e-05/0.1007, allocations: 55.27 kB / 489.1 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.741e-05/0.1007, allocations: 35.94 kB / 489.1 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007868/0.1015, allocations: 465.5 kB / 489.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.1016, allocations: 7.922 kB / 489.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.378e-05/0.1016, allocations: 16 kB / 489.6 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.1016, allocations: 8 kB / 489.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007158/0.1023, allocations: 331.8 kB / 489.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.1043, allocations: 1.35 MB / 491.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009642/0.1053, allocations: 397.5 kB / 491.6 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.1056, allocations: 148.8 kB / 491.8 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/0.1057, allocations: 8 kB / 491.8 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000469/0.1061, allocations: 236 kB / 492 MB, free: 15.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.1061, allocations: 0 / 492 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.00399/0.1101, allocations: 1.772 MB / 493.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.1102, allocations: 162.2 kB / 494 MB, free: 13.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/0.1106, allocations: 369.7 kB / 494.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.1106, allocations: 33.7 kB / 494.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.1108, allocations: 228.4 kB / 494.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.709e-05/0.1109, allocations: 134.2 kB / 494.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.111, allocations: 86.02 kB / 494.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1111, allocations: 346.8 kB / 495.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.1115, allocations: 170.5 kB / 495.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/0.112, allocations: 275.4 kB / 495.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006706/0.1126, allocations: 359.6 kB / 495.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1126, allocations: 0 / 495.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001182/0.1138, allocations: 0.5483 MB / 496.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1139, allocations: 8 kB / 496.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1139, allocations: 0 / 496.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004061/0.1143, allocations: 172.8 kB / 496.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.1146, allocations: 79.89 kB / 496.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005953/0.1152, allocations: 0.7084 MB / 497.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.1156, allocations: 64.06 kB / 497.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.1156, allocations: 19.98 kB / 497.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003404/0.116, allocations: 244.9 kB / 497.7 MB, free: 9.973 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003003/0.1163, allocations: 235.4 kB / 498 MB, free: 9.703 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004312/0.1167, allocations: 291.7 kB / 498.3 MB, free: 9.391 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.472e-06/0.1167, allocations: 0 / 498.3 MB, free: 9.391 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009388/0.1177, allocations: 493.5 kB / 498.7 MB, free: 8.898 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.1177, allocations: 12.22 kB / 498.7 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.1177, allocations: 0 / 498.7 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000347/0.1181, allocations: 160.8 kB / 498.9 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.1183, allocations: 67.84 kB / 499 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005808/0.1189, allocations: 0.7085 MB / 499.7 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/0.1192, allocations: 48.02 kB / 499.7 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.1193, allocations: 19.98 kB / 499.7 MB, free: 7.859 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.0001556/0.1194, allocations: 216.2 kB / 500 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.807e-05/0.1195, allocations: 39.53 kB / 500 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.1196, allocations: 56.19 kB / 0.4883 GB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1196, allocations: 4 kB / 0.4883 GB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.1196, allocations: 3.984 kB / 0.4883 GB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1196, allocations: 4 kB / 0.4883 GB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.1215, allocations: 1.169 MB / 0.4895 GB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1216, allocations: 4 kB / 0.4895 GB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.1218, allocations: 63.89 kB / 0.4895 GB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003296/0.1222, allocations: 148.8 kB / 0.4897 GB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.1222, allocations: 19.98 kB / 0.4897 GB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005465/0.1228, allocations: 0.6771 MB / 0.4904 GB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1228, allocations: 0 / 0.4904 GB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.1243, allocations: 0.7924 MB / 0.4911 GB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.1245, allocations: 164.5 kB / 0.4913 GB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.642e-05/0.1246, allocations: 19.94 kB / 0.4913 GB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.125, allocations: 47.94 kB / 0.4914 GB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.1251, allocations: 63.97 kB / 0.4914 GB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/0.1251, allocations: 15.98 kB / 0.4914 GB, free: 4.215 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002465/0.1254, allocations: 263.1 kB / 0.4917 GB, free: 3.961 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1254, allocations: 0 / 0.4917 GB, free: 3.961 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005787/0.126, allocations: 180 kB / 0.4919 GB, free: 3.785 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.000994/0.127, allocations: 484.3 kB / 0.4923 GB, free: 3.477 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.1284, allocations: 0.636 MB / 0.4929 GB, free: 2.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1284, allocations: 0 / 0.4929 GB, free: 2.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005629/0.129, allocations: 235.7 kB / 0.4932 GB, free: 2.609 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005848/0.1296, allocations: 100.8 kB / 0.4933 GB, free: 2.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.1315, allocations: 1.011 MB / 0.4943 GB, free: 1.469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.1319, allocations: 0.82 MB / 0.4951 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002126/0.1321, allocations: 63.27 kB / 0.4951 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.8e-05/0.1322, allocations: 35.44 kB / 0.4952 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1322, allocations: 0 / 0.4952 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of Templates: time 0.01402/0.1462, allocations: 9.687 MB / 0.5046 GB, free: 6.895 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)