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.05184/0.05184, allocations: 8.035 MB / 23.3 MB, free: 76 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.000738/0.0007382, allocations: 86.98 kB / 25.87 MB, free: 3.359 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.0008836/0.0008838, allocations: 182.2 kB / 28.56 MB, free: 0.7227 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.316/1.316, allocations: 223.3 MB / 254.4 MB, free: 3.855 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01237/0.01237, allocations: 3.117 MB / 310.4 MB, free: 0.5234 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004154/0.0004154, allocations: 19.41 kB / 375.5 MB, free: 53.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09386/0.0943, allocations: 52.97 MB / 428.4 MB, free: 19.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.002796/0.09714, allocations: 2.942 MB / 431.4 MB, free: 16.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002424/0.09959, allocations: 2.09 MB / 433.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.0998, allocations: 11.94 kB / 433.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.1001, allocations: 87.52 kB / 433.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.1005, allocations: 135.1 kB / 433.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006427/0.1011, allocations: 362.6 kB / 434 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004164/0.1015, allocations: 0.6074 MB / 434.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.1018, allocations: 152 kB / 434.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.102, allocations: 239 kB / 435 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.1022, allocations: 235 kB / 435.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.87e-05/0.1023, allocations: 24 kB / 435.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.1025, allocations: 127.9 kB / 435.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.958e-05/0.1026, allocations: 103.6 kB / 435.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.1028, allocations: 244.4 kB / 435.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004521/0.1032, allocations: 0.6501 MB / 436.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1032, allocations: 0 / 436.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1032, allocations: 0 / 436.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1032, allocations: 3.938 kB / 436.4 MB, free: 11.89 MB / 302.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.001155/0.1044, allocations: 0.7574 MB / 437.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1045, allocations: 12.03 kB / 437.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.1046, allocations: 60.27 kB / 437.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.105, allocations: 384.1 kB / 437.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.171e-05/0.1051, allocations: 59.27 kB / 437.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.684e-05/0.1052, allocations: 55.83 kB / 437.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007641/0.1059, allocations: 0.4936 MB / 438.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.106, allocations: 0 / 438.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.106, allocations: 20 kB / 438.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.106, allocations: 8 kB / 438.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007196/0.1067, allocations: 379.7 kB / 438.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.1087, allocations: 1.456 MB / 440.1 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009654/0.1096, allocations: 456.1 kB / 440.5 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.11, allocations: 170.2 kB / 440.7 MB, free: 7.398 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.11, allocations: 4.281 kB / 440.7 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004822/0.1105, allocations: 257.6 kB / 440.9 MB, free: 7.133 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.914e-06/0.1105, allocations: 0 / 440.9 MB, free: 7.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.003971/0.1145, allocations: 1.919 MB / 442.8 MB, free: 5.102 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.1146, allocations: 166.2 kB / 443 MB, free: 4.902 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.1149, allocations: 316.6 kB / 443.3 MB, free: 4.586 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.1149, allocations: 45.69 kB / 443.4 MB, free: 4.535 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.976e-05/0.115, allocations: 224.7 kB / 443.6 MB, free: 4.312 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.858e-05/0.1151, allocations: 142 kB / 443.7 MB, free: 4.172 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.1152, allocations: 45.7 kB / 443.8 MB, free: 4.121 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.701e-05/0.1152, allocations: 346.8 kB / 444.1 MB, free: 3.773 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/0.1156, allocations: 177 kB / 444.3 MB, free: 3.602 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.116, allocations: 284.5 kB / 444.6 MB, free: 3.281 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006598/0.1167, allocations: 391.6 kB / 444.9 MB, free: 2.871 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1167, allocations: 0 / 444.9 MB, free: 2.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001182/0.1179, allocations: 0.6104 MB / 445.5 MB, free: 2.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/0.1179, allocations: 148 kB / 445.7 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1179, allocations: 0 / 445.7 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003829/0.1183, allocations: 168.7 kB / 445.9 MB, free: 1.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.1186, allocations: 83.89 kB / 445.9 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004988/0.1191, allocations: 0.7156 MB / 446.7 MB, free: 1.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.1195, allocations: 76 kB / 446.7 MB, free: 1.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.1196, allocations: 27.98 kB / 446.8 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.011e-06/0.1196, allocations: 4 kB / 446.8 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008737/0.1205, allocations: 460.2 kB / 447.2 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1205, allocations: 7.938 kB / 447.2 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003177/0.1208, allocations: 168.8 kB / 447.4 MB, free: 360 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.121, allocations: 71.84 kB / 447.5 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000593/0.1216, allocations: 0.7007 MB / 448.2 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.122, allocations: 63.95 kB / 448.2 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.122, allocations: 16 kB / 448.2 MB, free: 15.48 MB / 318.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.0002721/0.1223, allocations: 271 kB / 448.5 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.63e-05/0.1224, allocations: 39.53 kB / 448.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.1225, allocations: 52.41 kB / 448.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1225, allocations: 8 kB / 448.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1225, allocations: 0 / 448.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.1225, allocations: 4.031 kB / 448.6 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.1247, allocations: 1.212 MB / 449.8 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1247, allocations: 4.094 kB / 449.8 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/0.125, allocations: 83.83 kB / 449.9 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003485/0.1254, allocations: 140.8 kB / 450 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/0.1254, allocations: 11.98 kB / 450 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005729/0.126, allocations: 0.6889 MB / 450.7 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.126, allocations: 0 / 450.7 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.1277, allocations: 0.8494 MB / 451.6 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.1279, allocations: 156.6 kB / 451.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.514e-05/0.128, allocations: 15.98 kB / 451.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/0.1284, allocations: 72 kB / 451.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.1285, allocations: 59.84 kB / 451.9 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.1286, allocations: 19.98 kB / 451.9 MB, free: 11.65 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002389/0.1288, allocations: 227.1 kB / 452.1 MB, free: 11.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1288, allocations: 0 / 452.1 MB, free: 11.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006348/0.1295, allocations: 188 kB / 452.3 MB, free: 11.25 MB / 318.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.001054/0.1305, allocations: 485.5 kB / 452.8 MB, free: 10.94 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.1321, allocations: 0.6795 MB / 453.5 MB, free: 10.26 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1321, allocations: 0 / 453.5 MB, free: 10.26 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006016/0.1327, allocations: 260.4 kB / 453.7 MB, free: 10.01 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/0.1334, allocations: 88.66 kB / 453.8 MB, free: 9.922 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.1356, allocations: 1.284 MB / 455.1 MB, free: 8.602 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.136, allocations: 0.8201 MB / 455.9 MB, free: 7.754 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002457/0.1362, allocations: 63.23 kB / 456 MB, free: 7.691 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.1363, allocations: 39.36 kB / 456 MB, free: 7.652 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1363, allocations: 4 kB / 456 MB, free: 7.648 MB / 318.1 MB Notification: Performance of Templates: time 0.01419/0.1505, allocations: 8.934 MB / 464.9 MB, free: 14.76 MB / 334.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)