Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_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_latest_EHPTexamples.EV.EVdata") translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.EVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.0529/0.0529, allocations: 8.034 MB / 24.34 MB, free: 412 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.00101/0.00101, allocations: 110.9 kB / 26.93 MB, free: 3.117 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.001162/0.001162, allocations: 190.4 kB / 29.63 MB, free: 440 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.343/1.343, allocations: 222.9 MB / 255.1 MB, free: 4.676 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01308/0.01308, allocations: 3.117 MB / 310.1 MB, free: 2.289 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 91.86 kB / 427.6 MB, free: 17.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08035/0.08203, allocations: 51.97 MB / 479.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.004184/0.08625, allocations: 3.274 MB / 482.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002958/0.08923, allocations: 2.258 MB / 485.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.08939, allocations: 7.938 kB / 485.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004209/0.08982, allocations: 139 kB / 485.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003729/0.09021, allocations: 166.8 kB / 485.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007327/0.09096, allocations: 414.8 kB / 485.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005747/0.09154, allocations: 0.6464 MB / 486.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002597/0.09181, allocations: 169.4 kB / 486.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.09211, allocations: 275 kB / 486.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.09244, allocations: 266.8 kB / 487.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/0.09253, allocations: 48 kB / 487.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.0928, allocations: 163.9 kB / 487.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.09293, allocations: 123.6 kB / 487.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.09316, allocations: 262.6 kB / 487.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006402/0.09381, allocations: 0.662 MB / 488.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.09383, allocations: 0 / 488.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09383, allocations: 0 / 488.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.09384, allocations: 0 / 488.4 MB, free: 4.621 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.001354/0.0952, allocations: 0.8374 MB / 489.2 MB, free: 3.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.09524, allocations: 8.031 kB / 489.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.09542, allocations: 60.27 kB / 489.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005305/0.09596, allocations: 400.7 kB / 489.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-05/0.09604, allocations: 55.2 kB / 489.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.575e-05/0.09612, allocations: 39.94 kB / 489.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008387/0.09696, allocations: 473.4 kB / 490.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.09699, allocations: 0 / 490.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.09704, allocations: 12 kB / 490.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.09705, allocations: 8 kB / 490.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007727/0.09783, allocations: 335.8 kB / 490.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.09996, allocations: 1.35 MB / 491.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.101, allocations: 386.9 kB / 492.3 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003472/0.1014, allocations: 148.8 kB / 492.5 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.1014, allocations: 8 kB / 492.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004963/0.1019, allocations: 243.6 kB / 492.7 MB, free: 84 kB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.084e-06/0.1019, allocations: 0 / 492.7 MB, free: 84 kB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004419/0.1063, allocations: 1.769 MB / 494.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.872e-05/0.1065, allocations: 166.2 kB / 494.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/0.1069, allocations: 361.7 kB / 495 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.1069, allocations: 45.69 kB / 495 MB, free: 13.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.1071, allocations: 224.4 kB / 495.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.1072, allocations: 130.2 kB / 495.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.1073, allocations: 90.02 kB / 495.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1075, allocations: 346.8 kB / 495.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.1079, allocations: 170.5 kB / 496 MB, free: 12.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.1085, allocations: 271.4 kB / 496.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007409/0.1092, allocations: 363.6 kB / 496.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1093, allocations: 0 / 496.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001344/0.1106, allocations: 0.5485 MB / 497.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1106, allocations: 7.938 kB / 497.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1106, allocations: 8 kB / 497.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004306/0.1111, allocations: 164.4 kB / 497.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.1114, allocations: 75.89 kB / 497.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007097/0.1121, allocations: 0.7163 MB / 498.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004023/0.1125, allocations: 55.88 kB / 498.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.1126, allocations: 28.05 kB / 498.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004126/0.113, allocations: 244.9 kB / 498.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003289/0.1134, allocations: 223.5 kB / 498.6 MB, free: 9.805 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004973/0.1139, allocations: 291.8 kB / 498.9 MB, free: 9.492 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.086e-06/0.1139, allocations: 4 kB / 498.9 MB, free: 9.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001049/0.1149, allocations: 0.4897 MB / 499.4 MB, free: 8.988 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.115, allocations: 8 kB / 499.4 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.115, allocations: 224 / 499.4 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003835/0.1154, allocations: 160.8 kB / 499.6 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.1156, allocations: 67.91 kB / 499.7 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006378/0.1163, allocations: 0.7162 MB / 0.4886 GB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.1166, allocations: 44 kB / 0.4887 GB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.1167, allocations: 20 kB / 0.4887 GB, free: 7.949 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.0001662/0.1169, allocations: 212.1 kB / 0.4889 GB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.117, allocations: 39.53 kB / 0.4889 GB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.1171, allocations: 56.23 kB / 0.489 GB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1171, allocations: 3.938 kB / 0.489 GB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1171, allocations: 0 / 0.489 GB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.1173, allocations: 156.5 kB / 0.4892 GB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.574e-05/0.1174, allocations: 20 kB / 0.4892 GB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003744/0.1178, allocations: 51.94 kB / 0.4892 GB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.1179, allocations: 47.92 kB / 0.4893 GB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001574/0.1195, allocations: 0.5855 MB / 0.4898 GB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001393/0.1209, allocations: 0.7615 MB / 0.4906 GB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003918/0.1213, allocations: 168 kB / 0.4907 GB, free: 5.809 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002689/0.1216, allocations: 255.2 kB / 0.491 GB, free: 5.562 MB / 366.1 MB Notification: Performance of Backend: time 2.7e-07/0.1216, allocations: 0 / 0.491 GB, free: 5.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002637/0.1242, allocations: 1.008 MB / 0.492 GB, free: 4.75 MB / 366.1 MB Notification: Performance of SimCode: time 0.001784/0.126, allocations: 1.407 MB / 0.4933 GB, free: 3.305 MB / 366.1 MB Notification: Performance of Templates: time 0.01547/0.1415, allocations: 10.13 MB / 0.5032 GB, free: 9.219 MB / 382.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.EVdata.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.EVdata.sim & ./EHPTexamples_latest_EHPTexamples.EV.EVdata -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe 2>&1)