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.06288/0.06288, allocations: 8.028 MB / 23.66 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.001127/0.001127, allocations: 107.8 kB / 26.25 MB, free: 3.234 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.001567/0.001567, allocations: 191.4 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.214/1.214, allocations: 222.9 MB / 254.4 MB, free: 4.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01216/0.01216, allocations: 3.127 MB / 309.4 MB, free: 2.316 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 99.83 kB / 426.9 MB, free: 17.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07449/0.07602, allocations: 51.98 MB / 478.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.004343/0.08038, allocations: 3.293 MB / 482.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003029/0.08343, allocations: 2.157 MB / 484.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002867/0.08374, allocations: 8 kB / 484.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.08418, allocations: 111.1 kB / 484.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004632/0.08465, allocations: 154.9 kB / 484.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008631/0.08553, allocations: 422.6 kB / 485 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006903/0.08622, allocations: 0.6504 MB / 485.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002706/0.0865, allocations: 173.9 kB / 485.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000354/0.08686, allocations: 283 kB / 486.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.08726, allocations: 270.8 kB / 486.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.197e-05/0.08736, allocations: 52 kB / 486.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.08766, allocations: 163.9 kB / 486.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.08781, allocations: 139.5 kB / 486.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.08805, allocations: 254.8 kB / 487 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007588/0.08882, allocations: 0.6849 MB / 487.6 MB, free: 4.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.08883, allocations: 4 kB / 487.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.08883, allocations: 0 / 487.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.08885, allocations: 0 / 487.6 MB, free: 4.715 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.001437/0.09029, allocations: 0.8537 MB / 488.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.09034, allocations: 12.03 kB / 488.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.09053, allocations: 56.61 kB / 488.6 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/0.09105, allocations: 384.4 kB / 488.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.562e-05/0.09112, allocations: 63.25 kB / 489 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-05/0.0912, allocations: 51.83 kB / 489.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008434/0.09205, allocations: 493.5 kB / 489.5 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.09208, allocations: 0 / 489.5 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.834e-05/0.09213, allocations: 16 kB / 489.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.09214, allocations: 12 kB / 489.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007423/0.09289, allocations: 351.7 kB / 489.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/0.09497, allocations: 1.433 MB / 491.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000953/0.09594, allocations: 405.7 kB / 491.7 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.09628, allocations: 161.3 kB / 491.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.028e-05/0.09633, allocations: 4.281 kB / 491.9 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000459/0.0968, allocations: 234.5 kB / 492.1 MB, free: 16 kB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.786e-06/0.09681, allocations: 0 / 492.1 MB, free: 16 kB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.00399/0.1008, allocations: 1.826 MB / 494 MB, free: 14.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.1009, allocations: 158.2 kB / 494.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/0.1012, allocations: 336.5 kB / 494.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.1013, allocations: 37.7 kB / 494.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.1014, allocations: 220.7 kB / 494.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.1015, allocations: 154.8 kB / 494.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.1017, allocations: 90.19 kB / 494.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1018, allocations: 346.8 kB / 495.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.1022, allocations: 179 kB / 495.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004395/0.1026, allocations: 272.7 kB / 495.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006804/0.1033, allocations: 367.2 kB / 496.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.1033, allocations: 3.938 kB / 496.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001233/0.1046, allocations: 0.5832 MB / 496.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1046, allocations: 4.219 kB / 496.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1046, allocations: 8 kB / 496.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004068/0.105, allocations: 156.8 kB / 496.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.1053, allocations: 87.89 kB / 496.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006156/0.1059, allocations: 0.7123 MB / 497.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.1063, allocations: 59.98 kB / 497.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.1064, allocations: 16 kB / 497.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003518/0.1067, allocations: 257.1 kB / 497.9 MB, free: 9.902 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003167/0.107, allocations: 240.7 kB / 498.2 MB, free: 9.625 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004494/0.1075, allocations: 295.7 kB / 498.5 MB, free: 9.309 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.976e-06/0.1075, allocations: 4 kB / 498.5 MB, free: 9.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009906/0.1085, allocations: 0.5129 MB / 499 MB, free: 8.781 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.1085, allocations: 11.94 kB / 499 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/0.1085, allocations: 0 / 499 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003517/0.1089, allocations: 164.9 kB / 499.2 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.1091, allocations: 71.84 kB / 499.2 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000581/0.1097, allocations: 0.7007 MB / 499.9 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.1101, allocations: 51.97 kB / 500 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.1101, allocations: 16 kB / 500 MB, free: 7.742 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.0001421/0.1103, allocations: 212.6 kB / 0.4885 GB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.1103, allocations: 43.7 kB / 0.4885 GB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.1104, allocations: 60.41 kB / 0.4886 GB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1105, allocations: 4 kB / 0.4886 GB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1105, allocations: 3.984 kB / 0.4886 GB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1105, allocations: 0 / 0.4886 GB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.1124, allocations: 1.193 MB / 0.4898 GB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.1124, allocations: 7.984 kB / 0.4898 GB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/0.1127, allocations: 72 kB / 0.4898 GB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003394/0.113, allocations: 140.8 kB / 0.49 GB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/0.1131, allocations: 15.98 kB / 0.49 GB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005627/0.1137, allocations: 0.6851 MB / 0.4906 GB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1137, allocations: 0 / 0.4906 GB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.1152, allocations: 0.8118 MB / 0.4914 GB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.1154, allocations: 156.8 kB / 0.4916 GB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/0.1155, allocations: 23.92 kB / 0.4916 GB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/0.1158, allocations: 52 kB / 0.4917 GB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.116, allocations: 55.86 kB / 0.4917 GB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/0.116, allocations: 19.98 kB / 0.4917 GB, free: 4.047 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002194/0.1162, allocations: 235 kB / 0.492 GB, free: 3.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1162, allocations: 0 / 0.492 GB, free: 3.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005675/0.1168, allocations: 183.9 kB / 0.4921 GB, free: 3.641 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.0009643/0.1178, allocations: 487.8 kB / 0.4926 GB, free: 3.336 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.1192, allocations: 0.6606 MB / 0.4932 GB, free: 2.676 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1192, allocations: 0 / 0.4932 GB, free: 2.676 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005477/0.1198, allocations: 240.6 kB / 0.4935 GB, free: 2.441 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005374/0.1203, allocations: 95.73 kB / 0.4936 GB, free: 2.348 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.1222, allocations: 1.007 MB / 0.4945 GB, free: 1.301 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.1225, allocations: 0.8201 MB / 0.4953 GB, free: 464 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001925/0.1227, allocations: 59.23 kB / 0.4954 GB, free: 404 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.8e-05/0.1228, allocations: 47.36 kB / 0.4955 GB, free: 356 kB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1229, allocations: 0 / 0.4955 GB, free: 356 kB / 366.1 MB Notification: Performance of Templates: time 0.01312/0.136, allocations: 9.56 MB / 0.5048 GB, free: 6.84 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)