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.07746/0.07746, allocations: 8.031 MB / 24.33 MB, free: 364 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.00167/0.00167, allocations: 104.6 kB / 26.92 MB, free: 3.086 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.002249/0.002249, allocations: 191.3 kB / 29.61 MB, free: 412 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.354/1.354, allocations: 222.9 MB / 255.1 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.01382/0.01382, allocations: 3.128 MB / 310.1 MB, free: 2.273 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 99.83 kB / 427.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09183/0.09352, allocations: 51.96 MB / 479.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.004693/0.09825, allocations: 3.301 MB / 482.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00335/0.1016, allocations: 2.153 MB / 485 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002783/0.1019, allocations: 11.94 kB / 485 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004255/0.1024, allocations: 99.16 kB / 485.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004615/0.1029, allocations: 158.8 kB / 485.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000912/0.1038, allocations: 426.6 kB / 485.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006716/0.1045, allocations: 0.6543 MB / 486.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003004/0.1048, allocations: 173.9 kB / 486.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003436/0.1052, allocations: 283.1 kB / 486.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003591/0.1055, allocations: 270.8 kB / 487 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.95e-05/0.1056, allocations: 52 kB / 487.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002835/0.1059, allocations: 175.8 kB / 487.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.1061, allocations: 127.6 kB / 487.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.1063, allocations: 254.7 kB / 487.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007241/0.107, allocations: 0.6931 MB / 488.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.107, allocations: 0 / 488.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.107, allocations: 0 / 488.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1071, allocations: 0 / 488.3 MB, free: 4.672 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.001505/0.1086, allocations: 0.8428 MB / 489.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.1086, allocations: 8.031 kB / 489.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/0.1089, allocations: 56.38 kB / 489.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007395/0.1096, allocations: 384.1 kB / 489.6 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.27e-05/0.1097, allocations: 59.27 kB / 489.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.809e-05/0.1098, allocations: 43.92 kB / 489.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009413/0.1108, allocations: 0.4897 MB / 490.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.1108, allocations: 7.906 kB / 490.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.758e-05/0.1108, allocations: 16 kB / 490.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.1109, allocations: 8 kB / 490.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007918/0.1117, allocations: 355.7 kB / 490.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002298/0.114, allocations: 1.409 MB / 492 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.115, allocations: 411.2 kB / 492.4 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.1153, allocations: 161.3 kB / 492.6 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-05/0.1154, allocations: 4.281 kB / 492.6 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005124/0.1159, allocations: 238.6 kB / 492.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.494e-06/0.1159, allocations: 0 / 492.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0043/0.1202, allocations: 1.821 MB / 494.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.349e-05/0.1203, allocations: 166.2 kB / 494.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.1207, allocations: 324.5 kB / 495.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.1208, allocations: 37.7 kB / 495.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.1209, allocations: 220.4 kB / 495.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.1211, allocations: 138.1 kB / 495.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.1212, allocations: 90.16 kB / 495.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1214, allocations: 346.8 kB / 495.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.1217, allocations: 175 kB / 496.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004576/0.1222, allocations: 272.6 kB / 496.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007095/0.1229, allocations: 387.1 kB / 496.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1229, allocations: 0 / 496.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001337/0.1243, allocations: 0.5677 MB / 497.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1243, allocations: 16.02 kB / 497.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1243, allocations: 3.938 kB / 497.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000469/0.1248, allocations: 164.6 kB / 497.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.1251, allocations: 79.89 kB / 497.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006957/0.1258, allocations: 0.7123 MB / 498.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/0.1263, allocations: 56 kB / 498.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/0.1263, allocations: 23.98 kB / 498.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003912/0.1267, allocations: 253.1 kB / 498.6 MB, free: 9.902 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003324/0.127, allocations: 236.7 kB / 498.8 MB, free: 9.629 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004783/0.1275, allocations: 299.7 kB / 499.1 MB, free: 9.309 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.1275, allocations: 0 / 499.1 MB, free: 9.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001099/0.1287, allocations: 0.5165 MB / 499.6 MB, free: 8.781 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.1287, allocations: 7.938 kB / 499.6 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1287, allocations: 4 kB / 499.6 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003764/0.1291, allocations: 160.9 kB / 499.8 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.1293, allocations: 67.91 kB / 499.9 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006245/0.13, allocations: 0.7085 MB / 0.4888 GB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/0.1303, allocations: 43.95 kB / 0.4889 GB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.1304, allocations: 19.98 kB / 0.4889 GB, free: 7.746 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.0001865/0.1306, allocations: 216.7 kB / 0.4891 GB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.602e-05/0.1306, allocations: 43.59 kB / 0.4891 GB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.1308, allocations: 56.41 kB / 0.4892 GB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.1308, allocations: 4 kB / 0.4892 GB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1308, allocations: 0 / 0.4892 GB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.1308, allocations: 3.984 kB / 0.4892 GB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.1329, allocations: 1.2 MB / 0.4904 GB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.133, allocations: 3.984 kB / 0.4904 GB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/0.1333, allocations: 75.98 kB / 0.4905 GB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003719/0.1336, allocations: 144.8 kB / 0.4906 GB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.1337, allocations: 11.98 kB / 0.4906 GB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006024/0.1343, allocations: 0.6772 MB / 0.4913 GB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1343, allocations: 0 / 0.4913 GB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.136, allocations: 0.8154 MB / 0.4921 GB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.1362, allocations: 152.6 kB / 0.4922 GB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.365e-05/0.1362, allocations: 12 kB / 0.4922 GB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/0.1366, allocations: 63.98 kB / 0.4923 GB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.1368, allocations: 51.86 kB / 0.4923 GB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.1368, allocations: 19.98 kB / 0.4924 GB, free: 4.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002607/0.1371, allocations: 231 kB / 0.4926 GB, free: 3.832 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1371, allocations: 7.938 kB / 0.4926 GB, free: 3.824 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006777/0.1378, allocations: 180 kB / 0.4928 GB, free: 3.648 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.001064/0.1388, allocations: 488.6 kB / 0.4932 GB, free: 3.344 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001598/0.1404, allocations: 0.6604 MB / 0.4939 GB, free: 2.684 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.1405, allocations: 0 / 0.4939 GB, free: 2.684 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005702/0.141, allocations: 240.8 kB / 0.4941 GB, free: 2.449 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006071/0.1417, allocations: 88.02 kB / 0.4942 GB, free: 2.367 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.1438, allocations: 1.034 MB / 0.4952 GB, free: 1.289 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.1442, allocations: 0.8201 MB / 0.496 GB, free: 452 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.1443, allocations: 39.42 kB / 0.496 GB, free: 412 kB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1443, allocations: 4 kB / 0.496 GB, free: 408 kB / 366.1 MB Notification: Performance of Templates: time 0.01155/0.1559, allocations: 7.967 MB / 0.5038 GB, free: 8.441 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)