Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.EV.EVdata.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.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.EVdata") translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.EVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05142/0.05142, allocations: 8.338 MB / 23.61 MB, free: 4.707 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.0007443/0.0007443, allocations: 96.7 kB / 26.25 MB, free: 3.043 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.000913/0.0009131, allocations: 198.3 kB / 29.01 MB, free: 304 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.347/1.347, allocations: 223.3 MB / 254.9 MB, free: 3.492 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01251/0.01251, allocations: 3.122 MB / 311 MB, free: 140 kB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004423, allocations: 14.8 kB / 376.1 MB, free: 52.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09142/0.09188, allocations: 53.06 MB / 429.1 MB, free: 18.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.003103/0.09501, allocations: 2.915 MB / 432.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002947/0.09799, allocations: 2.199 MB / 434.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004181/0.09844, allocations: 11.94 kB / 434.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005327/0.09899, allocations: 113.3 kB / 434.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004609/0.09947, allocations: 135.1 kB / 434.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000831/0.1003, allocations: 362.5 kB / 434.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005912/0.1009, allocations: 0.6112 MB / 435.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/0.1012, allocations: 137.5 kB / 435.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003155/0.1015, allocations: 227 kB / 435.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003305/0.1018, allocations: 238.8 kB / 436.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.004e-05/0.1019, allocations: 20 kB / 436.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002611/0.1022, allocations: 131.9 kB / 436.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.732e-05/0.1023, allocations: 95.58 kB / 436.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.1025, allocations: 244.4 kB / 436.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005191/0.103, allocations: 0.6192 MB / 437.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.103, allocations: 0 / 437.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.103, allocations: 0 / 437.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.1031, allocations: 0 / 437.2 MB, free: 10.79 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001325/0.1044, allocations: 0.7688 MB / 437.9 MB, free: 9.965 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1044, allocations: 8.031 kB / 437.9 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.1046, allocations: 56.28 kB / 438 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004867/0.1051, allocations: 388.7 kB / 438.4 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.594e-05/0.1052, allocations: 59.2 kB / 438.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/0.1053, allocations: 39.94 kB / 438.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008095/0.1061, allocations: 473.5 kB / 438.9 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.1061, allocations: 7.984 kB / 438.9 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.773e-05/0.1062, allocations: 16 kB / 439 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.1062, allocations: 8 kB / 439 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007547/0.107, allocations: 359.7 kB / 439.3 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.109, allocations: 1.389 MB / 440.7 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.1101, allocations: 427.4 kB / 441.1 MB, free: 6.613 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/0.1104, allocations: 164.7 kB / 441.3 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.219e-05/0.1105, allocations: 4.531 kB / 441.3 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005077/0.111, allocations: 255.7 kB / 441.5 MB, free: 6.184 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.063e-06/0.111, allocations: 0 / 441.5 MB, free: 6.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.00419/0.1152, allocations: 1.895 MB / 443.4 MB, free: 4.172 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.1153, allocations: 166.2 kB / 443.6 MB, free: 3.973 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.1156, allocations: 365.7 kB / 444 MB, free: 3.609 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/0.1157, allocations: 33.7 kB / 444 MB, free: 3.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.1158, allocations: 228.5 kB / 444.2 MB, free: 3.344 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.477e-05/0.1159, allocations: 138.1 kB / 444.3 MB, free: 3.207 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.116, allocations: 37.7 kB / 444.4 MB, free: 3.164 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.51e-05/0.116, allocations: 354.8 kB / 444.7 MB, free: 2.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.1164, allocations: 168.8 kB / 444.9 MB, free: 2.645 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/0.1168, allocations: 275.4 kB / 445.2 MB, free: 2.336 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006858/0.1175, allocations: 387.7 kB / 445.5 MB, free: 1.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1176, allocations: 4 kB / 445.5 MB, free: 1.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001246/0.1188, allocations: 0.5718 MB / 446.1 MB, free: 1.344 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.905e-05/0.1189, allocations: 148.4 kB / 446.3 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1189, allocations: 0 / 446.3 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004231/0.1193, allocations: 169.2 kB / 446.4 MB, free: 1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.1196, allocations: 83.83 kB / 446.5 MB, free: 0.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005543/0.1202, allocations: 0.7197 MB / 447.2 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/0.1206, allocations: 80.03 kB / 447.3 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.1207, allocations: 19.98 kB / 447.3 MB, free: 80 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.1207, allocations: 4 kB / 447.3 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001002/0.1217, allocations: 440.4 kB / 447.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1217, allocations: 0 / 447.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004398/0.1222, allocations: 156.8 kB / 447.9 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.1224, allocations: 67.84 kB / 448 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006799/0.1231, allocations: 0.7124 MB / 448.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.1235, allocations: 59.95 kB / 448.7 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/0.1236, allocations: 19.98 kB / 448.8 MB, free: 14.6 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 (41): * Single equations (assignments): 40 * 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.0002851/0.1238, allocations: 249.9 kB / 449 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.597e-05/0.1239, allocations: 47.44 kB / 449.1 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.1241, allocations: 56.23 kB / 449.1 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1241, allocations: 4 kB / 449.1 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.1241, allocations: 7.938 kB / 449.1 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1241, allocations: 4.062 kB / 449.1 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/0.1265, allocations: 1.193 MB / 450.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1265, allocations: 4.094 kB / 450.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000318/0.1268, allocations: 75.89 kB / 450.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003931/0.1272, allocations: 148.7 kB / 450.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.1273, allocations: 11.98 kB / 450.6 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006804/0.128, allocations: 0.6811 MB / 451.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.128, allocations: 3.938 kB / 451.2 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.1299, allocations: 0.834 MB / 452.1 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/0.1301, allocations: 164.4 kB / 452.2 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.869e-05/0.1302, allocations: 19.94 kB / 452.3 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004488/0.1307, allocations: 75.98 kB / 452.3 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.1308, allocations: 55.84 kB / 452.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/0.1309, allocations: 19.98 kB / 452.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003145/0.1312, allocations: 255.2 kB / 452.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1312, allocations: 4 kB / 452.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007281/0.132, allocations: 180 kB / 452.8 MB, free: 10.38 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 (30): * Single equations (assignments): 27 * 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.00116/0.1331, allocations: 483.3 kB / 453.3 MB, free: 10.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.1349, allocations: 0.6606 MB / 454 MB, free: 9.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1349, allocations: 0 / 454 MB, free: 9.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006365/0.1355, allocations: 240.2 kB / 454.2 MB, free: 9.176 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007179/0.1363, allocations: 93.44 kB / 454.3 MB, free: 9.082 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.1388, allocations: 1.281 MB / 455.6 MB, free: 7.773 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.1392, allocations: 0.8199 MB / 456.4 MB, free: 6.926 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002778/0.1395, allocations: 75.25 kB / 456.5 MB, free: 6.848 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.1396, allocations: 35.42 kB / 456.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1396, allocations: 0 / 456.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of Templates: time 0.01614/0.1558, allocations: 9.069 MB / 465.6 MB, free: 13.79 MB / 334.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.EVdata.makefile (rm -f EHPTexamples_EHPTexamples.EV.EVdata.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.EVdata.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.EVdata.pipe >> ../files/EHPTexamples_EHPTexamples.EV.EVdata.sim & ./EHPTexamples_EHPTexamples.EV.EVdata -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.EVdata.pipe 2>&1)