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.04392/0.04392, allocations: 8.361 MB / 24.67 MB, free: 116 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.0009898/0.0009899, allocations: 102.8 kB / 27.32 MB, free: 2.75 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.001112/0.001112, allocations: 182.5 kB / 30.09 MB, free: 6.535 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 255.6 MB, free: 4.316 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01305/0.01305, allocations: 3.133 MB / 310.7 MB, free: 1.957 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 91.86 kB / 428.3 MB, free: 17.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07885/0.08058, allocations: 52.04 MB / 480.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.004222/0.08483, allocations: 3.289 MB / 483.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002942/0.08779, allocations: 2.161 MB / 485.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.08797, allocations: 11.94 kB / 485.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.08833, allocations: 103.1 kB / 486 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003696/0.08872, allocations: 162.8 kB / 486.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007251/0.08946, allocations: 410.7 kB / 486.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005857/0.09005, allocations: 0.6543 MB / 487.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002653/0.09033, allocations: 185.8 kB / 487.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002885/0.09062, allocations: 279.1 kB / 487.6 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003523/0.09098, allocations: 266.9 kB / 487.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.86e-05/0.09107, allocations: 52 kB / 487.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002541/0.09133, allocations: 167.8 kB / 488.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.09147, allocations: 131.6 kB / 488.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.0917, allocations: 258.7 kB / 488.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007081/0.09241, allocations: 0.6888 MB / 489.2 MB, free: 4.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.09243, allocations: 0 / 489.2 MB, free: 4.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09244, allocations: 4 kB / 489.2 MB, free: 4.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.09245, allocations: 0 / 489.2 MB, free: 4.223 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.001365/0.09382, allocations: 0.8499 MB / 490 MB, free: 3.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.09386, allocations: 8.031 kB / 490 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.09403, allocations: 60.61 kB / 490.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/0.09453, allocations: 396.3 kB / 490.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.51e-05/0.0946, allocations: 55.27 kB / 490.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.117e-05/0.09468, allocations: 47.89 kB / 490.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008521/0.09554, allocations: 497.4 kB / 491.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.09557, allocations: 4 kB / 491.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.09562, allocations: 16 kB / 491.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.09564, allocations: 16 kB / 491.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008125/0.09646, allocations: 347.8 kB / 491.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/0.09863, allocations: 1.425 MB / 492.9 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.09972, allocations: 411.2 kB / 493.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003631/0.1001, allocations: 153.3 kB / 493.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.116e-05/0.1002, allocations: 4.281 kB / 493.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005183/0.1007, allocations: 246.5 kB / 493.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.064e-06/0.1007, allocations: 0 / 493.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.004375/0.1051, allocations: 1.822 MB / 495.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.1052, allocations: 162.2 kB / 495.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.1055, allocations: 332.4 kB / 496 MB, free: 13.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/0.1056, allocations: 37.7 kB / 496 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.1057, allocations: 224.7 kB / 496.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.1058, allocations: 146.8 kB / 496.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.106, allocations: 90.19 kB / 496.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1061, allocations: 350.8 kB / 496.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004077/0.1065, allocations: 171 kB / 497 MB, free: 12.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004721/0.107, allocations: 272.7 kB / 497.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007485/0.1077, allocations: 367.2 kB / 497.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1078, allocations: 7.938 kB / 497.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00137/0.1091, allocations: 0.5871 MB / 498.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1092, allocations: 8 kB / 498.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1092, allocations: 0 / 498.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004371/0.1096, allocations: 160.9 kB / 498.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.11, allocations: 75.89 kB / 498.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006559/0.1106, allocations: 0.7201 MB / 499.1 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004022/0.111, allocations: 63.95 kB / 499.2 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.1111, allocations: 16 kB / 499.2 MB, free: 9.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003778/0.1115, allocations: 257.1 kB / 499.5 MB, free: 9.406 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000332/0.1118, allocations: 232.8 kB / 499.7 MB, free: 9.137 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004922/0.1123, allocations: 299.7 kB / 500 MB, free: 8.816 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.186e-06/0.1123, allocations: 3.984 kB / 500 MB, free: 8.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.00108/0.1134, allocations: 0.5206 MB / 0.4888 GB, free: 8.281 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.759e-06/0.1134, allocations: 7.938 kB / 0.4888 GB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1135, allocations: 4 kB / 0.4888 GB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003873/0.1138, allocations: 164.9 kB / 0.4889 GB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.1141, allocations: 71.91 kB / 0.489 GB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005997/0.1147, allocations: 0.7007 MB / 0.4897 GB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.1151, allocations: 47.94 kB / 0.4897 GB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.1151, allocations: 20 kB / 0.4898 GB, free: 7.242 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.000151/0.1153, allocations: 216.7 kB / 0.49 GB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.277e-05/0.1154, allocations: 39.77 kB / 0.49 GB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.1155, allocations: 48.41 kB / 0.4901 GB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1155, allocations: 3.984 kB / 0.4901 GB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1155, allocations: 4 kB / 0.4901 GB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.1157, allocations: 148.8 kB / 0.4902 GB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-05/0.1158, allocations: 15.94 kB / 0.4902 GB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.1161, allocations: 59.92 kB / 0.4903 GB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.1163, allocations: 51.92 kB / 0.4903 GB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001541/0.1178, allocations: 0.5984 MB / 0.4909 GB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001351/0.1192, allocations: 0.7695 MB / 0.4917 GB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004012/0.1196, allocations: 171.9 kB / 0.4918 GB, free: 5.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002365/0.1199, allocations: 242.9 kB / 0.4921 GB, free: 4.836 MB / 366.1 MB Notification: Performance of Backend: time 3.91e-07/0.1199, allocations: 0 / 0.4921 GB, free: 4.836 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002723/0.1226, allocations: 1.028 MB / 0.4931 GB, free: 4.008 MB / 366.1 MB Notification: Performance of SimCode: time 0.001783/0.1244, allocations: 1.406 MB / 0.4944 GB, free: 2.562 MB / 366.1 MB Notification: Performance of Templates: time 0.01667/0.1411, allocations: 10.06 MB / 0.5043 GB, free: 8.543 MB / 382.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)