Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.EV.FirstEVpow.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.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.FirstEVpow") translateModel(EHPTexamples.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.FirstEVpow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05013/0.05013, allocations: 8.031 MB / 23.66 MB, free: 4.688 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009401/0.0009402, allocations: 115.5 kB / 26.26 MB, free: 3 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.001283, allocations: 191.2 kB / 28.94 MB, free: 328 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.296/1.296, allocations: 222.9 MB / 254.4 MB, free: 4.688 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01277/0.01277, allocations: 3.124 MB / 309.4 MB, free: 2.316 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 95.84 kB / 426.9 MB, free: 17.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09414/0.09589, allocations: 51.97 MB / 478.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.004327/0.1003, allocations: 3.3 MB / 482.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003199/0.1035, allocations: 2.153 MB / 484.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003358/0.1038, allocations: 15.94 kB / 484.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004093/0.1043, allocations: 103.1 kB / 484.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005175/0.1048, allocations: 154.8 kB / 484.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009074/0.1057, allocations: 423 kB / 485 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007184/0.1065, allocations: 0.6543 MB / 485.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.1067, allocations: 177.9 kB / 485.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004014/0.1072, allocations: 279.1 kB / 486.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004352/0.1076, allocations: 270.8 kB / 486.4 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.1077, allocations: 52 kB / 486.4 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003081/0.108, allocations: 167.9 kB / 486.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.1082, allocations: 131.6 kB / 486.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002529/0.1084, allocations: 258.7 kB / 487 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008019/0.1093, allocations: 0.6931 MB / 487.7 MB, free: 4.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1093, allocations: 0 / 487.7 MB, free: 4.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1093, allocations: 0 / 487.7 MB, free: 4.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.019e-05/0.1093, allocations: 0 / 487.7 MB, free: 4.719 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001559/0.1109, allocations: 0.8428 MB / 488.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1109, allocations: 8.031 kB / 488.5 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.1111, allocations: 52.38 kB / 488.6 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006106/0.1117, allocations: 396.1 kB / 488.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.839e-05/0.1118, allocations: 59.27 kB / 489 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.8e-05/0.1119, allocations: 43.94 kB / 489 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009042/0.1128, allocations: 497.4 kB / 489.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.1129, allocations: 7.906 kB / 489.5 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.914e-05/0.1129, allocations: 20 kB / 489.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.1129, allocations: 8 kB / 489.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008042/0.1137, allocations: 355.7 kB / 489.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.116, allocations: 1.409 MB / 491.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.117, allocations: 407.2 kB / 491.7 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.1174, allocations: 153.3 kB / 491.9 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.028e-05/0.1174, allocations: 8.578 kB / 491.9 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004926/0.1179, allocations: 246.5 kB / 492.1 MB, free: 36 kB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.834e-06/0.1179, allocations: 0 / 492.1 MB, free: 36 kB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.00439/0.1223, allocations: 1.813 MB / 493.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.003e-05/0.1224, allocations: 162.2 kB / 494.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003711/0.1228, allocations: 324.5 kB / 494.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.388e-05/0.1229, allocations: 37.7 kB / 494.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.123, allocations: 224.4 kB / 494.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.1232, allocations: 138.1 kB / 494.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.1233, allocations: 94.14 kB / 494.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1234, allocations: 346.8 kB / 495.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/0.1238, allocations: 167 kB / 495.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/0.1243, allocations: 280.6 kB / 495.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000737/0.125, allocations: 379.1 kB / 496 MB, free: 11.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.125, allocations: 0 / 496 MB, free: 11.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001312/0.1264, allocations: 0.5714 MB / 496.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.1264, allocations: 8 kB / 496.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.1264, allocations: 0 / 496.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004425/0.1269, allocations: 160.9 kB / 496.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.1272, allocations: 91.81 kB / 496.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000666/0.1278, allocations: 0.7079 MB / 497.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.1283, allocations: 55.92 kB / 497.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.1283, allocations: 28 kB / 497.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003762/0.1287, allocations: 253.1 kB / 497.9 MB, free: 9.953 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003266/0.129, allocations: 236.7 kB / 498.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004709/0.1295, allocations: 303.8 kB / 498.4 MB, free: 9.355 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.1295, allocations: 4 kB / 498.4 MB, free: 9.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001032/0.1306, allocations: 0.5087 MB / 498.9 MB, free: 8.832 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1306, allocations: 12.16 kB / 499 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1306, allocations: 4 kB / 499 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003735/0.131, allocations: 164.8 kB / 499.1 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.1312, allocations: 63.91 kB / 499.2 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006453/0.1319, allocations: 0.7046 MB / 499.9 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000378/0.1322, allocations: 52 kB / 499.9 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.1323, allocations: 20 kB / 500 MB, free: 7.789 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 (43): * Single equations (assignments): 42 * 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.000212/0.1325, allocations: 212.5 kB / 0.4884 GB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.252e-05/0.1326, allocations: 39.53 kB / 0.4885 GB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.1327, allocations: 60.38 kB / 0.4885 GB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.1328, allocations: 4 kB / 0.4885 GB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1328, allocations: 0 / 0.4885 GB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1328, allocations: 4 kB / 0.4885 GB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/0.135, allocations: 1.208 MB / 0.4897 GB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.135, allocations: 0 / 0.4897 GB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.1353, allocations: 75.88 kB / 0.4898 GB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000354/0.1357, allocations: 148.8 kB / 0.4899 GB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.1357, allocations: 15.98 kB / 0.49 GB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000607/0.1363, allocations: 0.6733 MB / 0.4906 GB, free: 5.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.1363, allocations: 3.938 kB / 0.4906 GB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.138, allocations: 0.8116 MB / 0.4914 GB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.1383, allocations: 156.6 kB / 0.4916 GB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.903e-05/0.1384, allocations: 12 kB / 0.4916 GB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003941/0.1388, allocations: 52 kB / 0.4916 GB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.1389, allocations: 71.84 kB / 0.4917 GB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.139, allocations: 19.98 kB / 0.4917 GB, free: 4.082 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002937/0.1393, allocations: 227.1 kB / 0.4919 GB, free: 3.863 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1393, allocations: 0 / 0.4919 GB, free: 3.863 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007662/0.1401, allocations: 188 kB / 0.4921 GB, free: 3.68 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 (32): * Single equations (assignments): 29 * 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.001207/0.1413, allocations: 487.8 kB / 0.4926 GB, free: 3.375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.1431, allocations: 0.6568 MB / 0.4932 GB, free: 2.719 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.1431, allocations: 0 / 0.4932 GB, free: 2.719 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006431/0.1438, allocations: 231.8 kB / 0.4934 GB, free: 2.492 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007312/0.1445, allocations: 92.5 kB / 0.4935 GB, free: 2.402 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.1471, allocations: 0.9969 MB / 0.4945 GB, free: 1.367 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.1475, allocations: 0.8162 MB / 0.4953 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002456/0.1478, allocations: 67.22 kB / 0.4954 GB, free: 468 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.1479, allocations: 39.42 kB / 0.4954 GB, free: 428 kB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1479, allocations: 0 / 0.4954 GB, free: 428 kB / 366.1 MB Notification: Performance of Templates: time 0.01521/0.1631, allocations: 9.568 MB / 0.5047 GB, free: 6.906 MB / 382.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.FirstEVpow.makefile (rm -f EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe >> ../files/EHPTexamples_EHPTexamples.EV.FirstEVpow.sim & ./EHPTexamples_EHPTexamples.EV.FirstEVpow -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe 2>&1)