Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_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_latest_EHPTexamples.EV.FirstEVpow") translateModel(EHPTexamples.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.FirstEVpow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04755/0.04755, allocations: 8.034 MB / 23.67 MB, free: 264 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.001006/0.001006, allocations: 100.8 kB / 26.25 MB, free: 3.242 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.001179/0.001179, allocations: 195.5 kB / 28.94 MB, free: 0.5586 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.325/1.325, allocations: 222.9 MB / 254.4 MB, free: 4.684 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01332/0.01332, allocations: 3.123 MB / 309.4 MB, free: 2.293 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 92.23 kB / 426.9 MB, free: 17.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0785/0.08013, allocations: 51.97 MB / 478.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.004373/0.08453, allocations: 3.296 MB / 482.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002911/0.08747, allocations: 2.161 MB / 484.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.08765, allocations: 11.94 kB / 484.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.08803, allocations: 103.1 kB / 484.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003667/0.08843, allocations: 158.8 kB / 484.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007454/0.08919, allocations: 414.3 kB / 485 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005987/0.08979, allocations: 0.6543 MB / 485.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002673/0.09007, allocations: 185.8 kB / 485.8 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002881/0.09036, allocations: 279.1 kB / 486.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003601/0.09073, allocations: 266.9 kB / 486.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.207e-05/0.09083, allocations: 56 kB / 486.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.09109, allocations: 167.8 kB / 486.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.09123, allocations: 131.6 kB / 486.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.09145, allocations: 254.7 kB / 487 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007289/0.09218, allocations: 0.6888 MB / 487.7 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.0922, allocations: 3.984 kB / 487.7 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.09221, allocations: 4 kB / 487.7 MB, free: 4.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.09222, allocations: 0 / 487.7 MB, free: 4.68 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.001374/0.09361, allocations: 0.8499 MB / 488.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.09365, allocations: 8.031 kB / 488.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.09381, allocations: 60.59 kB / 488.6 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000527/0.09435, allocations: 392.4 kB / 489 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.319e-05/0.09442, allocations: 55.27 kB / 489 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.269e-05/0.0945, allocations: 47.89 kB / 489.1 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008733/0.09538, allocations: 497.4 kB / 489.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.09541, allocations: 4 kB / 489.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/0.09547, allocations: 19.98 kB / 489.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.09549, allocations: 15.94 kB / 489.6 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007875/0.09628, allocations: 347.8 kB / 489.9 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.09846, allocations: 1.425 MB / 491.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009785/0.09945, allocations: 407.3 kB / 491.8 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/0.0998, allocations: 153.3 kB / 491.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.09985, allocations: 8.266 kB / 491.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004866/0.1003, allocations: 242.5 kB / 492.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.254e-06/0.1004, allocations: 0 / 492.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.004428/0.1048, allocations: 1.826 MB / 494 MB, free: 14.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.509e-05/0.1049, allocations: 166.2 kB / 494.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.1053, allocations: 320.5 kB / 494.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/0.1053, allocations: 41.7 kB / 494.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.1055, allocations: 224.7 kB / 494.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.1056, allocations: 142.8 kB / 494.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.1058, allocations: 94.19 kB / 494.9 MB, free: 13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1059, allocations: 350.8 kB / 495.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.1063, allocations: 167 kB / 495.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004841/0.1068, allocations: 280.4 kB / 495.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007486/0.1076, allocations: 379.1 kB / 496.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1076, allocations: 0 / 496.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001368/0.1089, allocations: 0.5872 MB / 496.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.109, allocations: 4 kB / 496.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.109, allocations: 4 kB / 496.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000463/0.1094, allocations: 160.9 kB / 496.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.1098, allocations: 83.89 kB / 496.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006654/0.1105, allocations: 0.7124 MB / 497.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003773/0.1108, allocations: 51.94 kB / 497.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.223e-05/0.1109, allocations: 23.98 kB / 497.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003806/0.1113, allocations: 249.2 kB / 498 MB, free: 9.871 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003385/0.1116, allocations: 240.8 kB / 498.2 MB, free: 9.594 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004996/0.1121, allocations: 295.7 kB / 498.5 MB, free: 9.277 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.1122, allocations: 0 / 498.5 MB, free: 9.277 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001097/0.1133, allocations: 0.5206 MB / 499 MB, free: 8.746 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.1133, allocations: 7.938 kB / 499 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1133, allocations: 4 kB / 499 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003835/0.1137, allocations: 164.9 kB / 499.2 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.1139, allocations: 71.91 kB / 499.2 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006301/0.1146, allocations: 0.7046 MB / 499.9 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.1149, allocations: 43.95 kB / 500 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.115, allocations: 16 kB / 0.4883 GB, free: 7.711 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.0001939/0.1152, allocations: 228.6 kB / 0.4885 GB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/0.1153, allocations: 35.77 kB / 0.4885 GB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.1154, allocations: 52.41 kB / 0.4886 GB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1154, allocations: 4 kB / 0.4886 GB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1154, allocations: 0 / 0.4886 GB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.1154, allocations: 3.984 kB / 0.4886 GB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/0.1176, allocations: 1.2 MB / 0.4898 GB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1176, allocations: 0 / 0.4898 GB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.1179, allocations: 76.02 kB / 0.4898 GB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003683/0.1183, allocations: 148.8 kB / 0.49 GB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.1183, allocations: 11.98 kB / 0.49 GB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005972/0.1189, allocations: 0.6811 MB / 0.4907 GB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1189, allocations: 0 / 0.4907 GB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.1207, allocations: 0.8117 MB / 0.4915 GB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.1208, allocations: 156.8 kB / 0.4916 GB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.902e-05/0.1209, allocations: 16.06 kB / 0.4916 GB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.1213, allocations: 55.94 kB / 0.4917 GB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.1215, allocations: 55.94 kB / 0.4917 GB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.1215, allocations: 19.98 kB / 0.4917 GB, free: 4.016 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002357/0.1217, allocations: 235 kB / 0.492 GB, free: 3.789 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.392e-06/0.1217, allocations: 4 kB / 0.492 GB, free: 3.785 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006417/0.1224, allocations: 187.8 kB / 0.4921 GB, free: 3.602 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.001038/0.1234, allocations: 485 kB / 0.4926 GB, free: 3.297 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.125, allocations: 0.6611 MB / 0.4933 GB, free: 2.637 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.125, allocations: 4.125 kB / 0.4933 GB, free: 2.633 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005886/0.1256, allocations: 239.7 kB / 0.4935 GB, free: 2.398 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006044/0.1262, allocations: 97.73 kB / 0.4936 GB, free: 2.305 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.1284, allocations: 1.008 MB / 0.4946 GB, free: 1.258 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.1287, allocations: 0.8201 MB / 0.4954 GB, free: 420 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002163/0.129, allocations: 59.23 kB / 0.4954 GB, free: 360 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.1291, allocations: 39.42 kB / 0.4955 GB, free: 320 kB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1291, allocations: 0 / 0.4955 GB, free: 320 kB / 366.1 MB Notification: Performance of Templates: time 0.01453/0.1436, allocations: 9.552 MB / 0.5048 GB, free: 6.812 MB / 382.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.sim & ./EHPTexamples_latest_EHPTexamples.EV.FirstEVpow -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.pipe 2>&1)