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.0576/0.0576, allocations: 8.034 MB / 24.34 MB, free: 404 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.001015/0.001015, allocations: 112.1 kB / 26.93 MB, free: 3.125 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.001201/0.001201, allocations: 191.3 kB / 29.63 MB, free: 452 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.331/1.331, allocations: 222.9 MB / 255.1 MB, free: 4.684 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01309/0.01309, allocations: 3.125 MB / 310.1 MB, free: 2.324 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 95.86 kB / 427.6 MB, free: 17.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08097/0.0827, allocations: 51.97 MB / 479.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.004278/0.087, allocations: 3.297 MB / 482.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003146/0.09017, allocations: 2.161 MB / 485 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.0904, allocations: 11.94 kB / 485 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003931/0.0908, allocations: 95.14 kB / 485.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004014/0.09124, allocations: 166.8 kB / 485.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008246/0.09208, allocations: 414.6 kB / 485.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005934/0.09268, allocations: 0.6621 MB / 486.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002912/0.09298, allocations: 177.9 kB / 486.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/0.09329, allocations: 275.1 kB / 486.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003433/0.09364, allocations: 266.9 kB / 487.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.944e-05/0.09373, allocations: 55.94 kB / 487.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.09401, allocations: 167.9 kB / 487.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.09415, allocations: 127.6 kB / 487.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002263/0.09438, allocations: 258.7 kB / 487.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006968/0.09509, allocations: 0.6892 MB / 488.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.09511, allocations: 8 kB / 488.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.09511, allocations: 0 / 488.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.09513, allocations: 0 / 488.3 MB, free: 4.727 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.001444/0.09658, allocations: 0.8389 MB / 489.2 MB, free: 3.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.09662, allocations: 12.03 kB / 489.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.0968, allocations: 48.38 kB / 489.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000581/0.09739, allocations: 392.1 kB / 489.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.446e-05/0.09746, allocations: 55.27 kB / 489.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.152e-05/0.09754, allocations: 47.92 kB / 489.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008851/0.09844, allocations: 0.4897 MB / 490.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.09847, allocations: 3.906 kB / 490.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/0.09852, allocations: 20 kB / 490.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.09854, allocations: 8 kB / 490.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007996/0.09934, allocations: 359.6 kB / 490.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.1016, allocations: 1.409 MB / 492 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.1027, allocations: 409.7 kB / 492.4 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/0.103, allocations: 153.3 kB / 492.6 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.1031, allocations: 4.281 kB / 492.6 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005105/0.1036, allocations: 246.5 kB / 492.8 MB, free: 52 kB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.194e-06/0.1036, allocations: 0 / 492.8 MB, free: 52 kB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.00444/0.1081, allocations: 1.818 MB / 494.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.1082, allocations: 158.2 kB / 494.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.1085, allocations: 332.5 kB / 495.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.1086, allocations: 37.7 kB / 495.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.1087, allocations: 220.4 kB / 495.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.1088, allocations: 138.1 kB / 495.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.109, allocations: 86.14 kB / 495.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1091, allocations: 354.8 kB / 495.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004021/0.1095, allocations: 175 kB / 496.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.11, allocations: 276.6 kB / 496.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007456/0.1108, allocations: 367.2 kB / 496.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1108, allocations: 4 kB / 496.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00138/0.1122, allocations: 0.5793 MB / 497.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1122, allocations: 4 kB / 497.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.1122, allocations: 4 kB / 497.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000454/0.1127, allocations: 164.9 kB / 497.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.113, allocations: 83.94 kB / 497.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007189/0.1138, allocations: 0.72 MB / 498.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/0.1142, allocations: 55.94 kB / 498.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.363e-05/0.1143, allocations: 16 kB / 498.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000401/0.1147, allocations: 257.1 kB / 498.6 MB, free: 9.961 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003416/0.115, allocations: 236.7 kB / 498.8 MB, free: 9.688 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004885/0.1155, allocations: 299.7 kB / 499.1 MB, free: 9.367 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.893e-06/0.1155, allocations: 0 / 499.1 MB, free: 9.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001102/0.1166, allocations: 0.5126 MB / 499.6 MB, free: 8.844 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1167, allocations: 11.94 kB / 499.6 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1167, allocations: 0 / 499.6 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004206/0.1171, allocations: 168.9 kB / 499.8 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.1174, allocations: 67.91 kB / 499.9 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006634/0.118, allocations: 0.6967 MB / 0.4888 GB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.1184, allocations: 51.97 kB / 0.4889 GB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/0.1185, allocations: 16 kB / 0.4889 GB, free: 7.809 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.0001957/0.1187, allocations: 228.6 kB / 0.4891 GB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.299e-05/0.1188, allocations: 43.47 kB / 0.4892 GB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.1189, allocations: 48.41 kB / 0.4892 GB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1189, allocations: 0 / 0.4892 GB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1189, allocations: 0 / 0.4892 GB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.1191, allocations: 156.6 kB / 0.4894 GB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-05/0.1192, allocations: 19.88 kB / 0.4894 GB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.1196, allocations: 55.94 kB / 0.4894 GB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.1198, allocations: 51.91 kB / 0.4895 GB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001629/0.1214, allocations: 0.5984 MB / 0.4901 GB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001413/0.1228, allocations: 0.7693 MB / 0.4908 GB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003953/0.1233, allocations: 171.8 kB / 0.491 GB, free: 5.621 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002672/0.1235, allocations: 239 kB / 0.4912 GB, free: 5.391 MB / 366.1 MB Notification: Performance of Backend: time 1.122e-06/0.1235, allocations: 0 / 0.4912 GB, free: 5.391 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0028/0.1263, allocations: 1.015 MB / 0.4922 GB, free: 4.574 MB / 366.1 MB Notification: Performance of SimCode: time 0.001741/0.1281, allocations: 1.389 MB / 0.4936 GB, free: 3.145 MB / 366.1 MB Notification: Performance of Templates: time 0.01652/0.1446, allocations: 10.06 MB / 0.5034 GB, free: 9.129 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)