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.05741/0.05741, allocations: 8.041 MB / 24.35 MB, free: 496 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.0009889/0.000989, allocations: 106.8 kB / 26.93 MB, free: 3.219 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.001146/0.001146, allocations: 191.4 kB / 29.62 MB, free: 0.5352 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.364/1.364, allocations: 222.9 MB / 255.1 MB, free: 4.688 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01239/0.01239, allocations: 3.117 MB / 310.1 MB, free: 2.297 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 91.86 kB / 427.6 MB, free: 17.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08799/0.08976, allocations: 51.97 MB / 479.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.004699/0.09449, allocations: 3.281 MB / 482.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003317/0.09783, allocations: 2.258 MB / 485.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.09805, allocations: 11.94 kB / 485.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004543/0.09851, allocations: 127 kB / 485.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004141/0.09897, allocations: 174.8 kB / 485.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008273/0.0998, allocations: 406.6 kB / 485.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006059/0.1004, allocations: 0.6503 MB / 486.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.1007, allocations: 173.4 kB / 486.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003393/0.101, allocations: 275 kB / 486.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003531/0.1014, allocations: 262.9 kB / 487.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.496e-05/0.1015, allocations: 48 kB / 487.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.1018, allocations: 163.8 kB / 487.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.1019, allocations: 127.6 kB / 487.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000237/0.1022, allocations: 250.7 kB / 487.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007002/0.1029, allocations: 0.6659 MB / 488.4 MB, free: 4.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1029, allocations: 4 kB / 488.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1029, allocations: 0 / 488.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.1029, allocations: 0 / 488.4 MB, free: 4.645 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001448/0.1044, allocations: 0.8388 MB / 489.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1044, allocations: 8.031 kB / 489.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.1046, allocations: 56.28 kB / 489.3 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005663/0.1052, allocations: 400.7 kB / 489.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.385e-05/0.1052, allocations: 55.27 kB / 489.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.703e-05/0.1053, allocations: 39.94 kB / 489.8 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008661/0.1062, allocations: 461.5 kB / 490.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1062, allocations: 0 / 490.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/0.1063, allocations: 23.98 kB / 490.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.1063, allocations: 8 kB / 490.3 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007642/0.1071, allocations: 327.7 kB / 490.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/0.1092, allocations: 1.35 MB / 491.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.1103, allocations: 390.9 kB / 492.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/0.1107, allocations: 156.7 kB / 492.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.1107, allocations: 4 kB / 492.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004899/0.1112, allocations: 239.7 kB / 492.7 MB, free: 112 kB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.893e-06/0.1112, allocations: 3.938 kB / 492.7 MB, free: 108 kB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004374/0.1156, allocations: 1.777 MB / 494.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.66e-05/0.1157, allocations: 166.2 kB / 494.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000412/0.1161, allocations: 361.7 kB / 495 MB, free: 13.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.1162, allocations: 37.7 kB / 495 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.1163, allocations: 220.5 kB / 495.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.1164, allocations: 130.2 kB / 495.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.1166, allocations: 94.02 kB / 495.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1167, allocations: 350.8 kB / 495.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000397/0.1171, allocations: 166.5 kB / 496 MB, free: 12.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004896/0.1176, allocations: 275.4 kB / 496.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007427/0.1184, allocations: 355.6 kB / 496.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1184, allocations: 3.938 kB / 496.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00129/0.1197, allocations: 0.5563 MB / 497.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1197, allocations: 4 kB / 497.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1197, allocations: 4 kB / 497.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004445/0.1202, allocations: 164.6 kB / 497.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.1205, allocations: 75.89 kB / 497.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006931/0.1212, allocations: 0.7162 MB / 498.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004051/0.1216, allocations: 52 kB / 498.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/0.1217, allocations: 23.98 kB / 498.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003741/0.1221, allocations: 244.9 kB / 498.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003312/0.1224, allocations: 231.5 kB / 498.6 MB, free: 9.828 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004596/0.1229, allocations: 291.8 kB / 498.9 MB, free: 9.516 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.1229, allocations: 0 / 498.9 MB, free: 9.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001006/0.1239, allocations: 497.5 kB / 499.4 MB, free: 9.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1239, allocations: 8 kB / 499.4 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1239, allocations: 7.922 kB / 499.4 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003741/0.1243, allocations: 161 kB / 499.6 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.1246, allocations: 71.91 kB / 499.7 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000623/0.1252, allocations: 0.7123 MB / 0.4886 GB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003816/0.1256, allocations: 43.95 kB / 0.4887 GB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.1256, allocations: 19.98 kB / 0.4887 GB, free: 7.973 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 (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.0001727/0.1258, allocations: 208.1 kB / 0.4889 GB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.602e-05/0.1259, allocations: 39.53 kB / 0.4889 GB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.126, allocations: 60.31 kB / 0.489 GB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.126, allocations: 7.922 kB / 0.489 GB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.126, allocations: 0 / 0.489 GB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.1262, allocations: 152.5 kB / 0.4892 GB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.178e-05/0.1263, allocations: 16 kB / 0.4892 GB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003591/0.1267, allocations: 51.92 kB / 0.4892 GB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.1268, allocations: 47.92 kB / 0.4893 GB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001519/0.1283, allocations: 0.5912 MB / 0.4898 GB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001346/0.1297, allocations: 0.7538 MB / 0.4906 GB, free: 6 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003722/0.1301, allocations: 171.9 kB / 0.4907 GB, free: 5.832 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002654/0.1304, allocations: 259.2 kB / 0.491 GB, free: 5.582 MB / 366.1 MB Notification: Performance of Backend: time 3.1e-07/0.1304, allocations: 0 / 0.491 GB, free: 5.582 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002635/0.133, allocations: 0.9989 MB / 0.492 GB, free: 4.777 MB / 366.1 MB Notification: Performance of SimCode: time 0.001722/0.1347, allocations: 1.418 MB / 0.4933 GB, free: 3.324 MB / 366.1 MB Notification: Performance of Templates: time 0.01707/0.1518, allocations: 10.13 MB / 0.5032 GB, free: 9.246 MB / 382.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)