Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.SHEV.SHEVpowerFilt.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.SHEV.SHEVpowerFilt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.SHEV.SHEVpowerFilt") translateModel(EHPTexamples.SHEV.SHEVpowerFilt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.SHEV.SHEVpowerFilt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04369/0.04369, allocations: 8.038 MB / 24.34 MB, free: 364 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.0009999/0.001, allocations: 108.7 kB / 26.93 MB, free: 3.082 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.001197/0.001197, allocations: 195.1 kB / 29.63 MB, free: 408 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.322/1.322, 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.01341/0.01341, allocations: 3.117 MB / 310.1 MB, free: 2.301 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 91.86 kB / 427.6 MB, free: 17.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08775/0.08969, allocations: 51.98 MB / 479.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.SHEV.SHEVpowerFilt): time 0.01204/0.1018, allocations: 10.04 MB / 489.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007883/0.1097, allocations: 4.433 MB / 494 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.1113, allocations: 43.88 kB / 494.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.1128, allocations: 0.5038 MB / 494.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002488/0.1153, allocations: 0.7059 MB / 495.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004375/0.1197, allocations: 1.885 MB / 497.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004047/0.1238, allocations: 3.216 MB / 0.4887 GB, free: 8.637 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002285/0.1261, allocations: 1.348 MB / 0.49 GB, free: 7.238 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.1279, allocations: 1.195 MB / 0.4911 GB, free: 6.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00189/0.1298, allocations: 1.256 MB / 0.4924 GB, free: 4.777 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007931/0.1306, allocations: 352 kB / 0.4927 GB, free: 4.434 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.132, allocations: 0.5233 MB / 0.4932 GB, free: 3.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000913/0.1329, allocations: 0.7322 MB / 0.4939 GB, free: 3.176 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00199/0.1349, allocations: 1.388 MB / 0.4953 GB, free: 1.781 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004001/0.139, allocations: 3.758 MB / 0.499 GB, free: 14.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.139, allocations: 0 / 0.499 GB, free: 14.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.139, allocations: 0 / 0.499 GB, free: 14.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.718e-05/0.139, allocations: 0 / 0.499 GB, free: 14.01 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 503 * Number of variables: 503 Notification: Performance of Generate backend data structure: time 0.004855/0.1439, allocations: 2.99 MB / 0.5019 GB, free: 10.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1439, allocations: 8.031 kB / 0.5019 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000526/0.1445, allocations: 285.5 kB / 0.5022 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002159/0.1466, allocations: 1.5 MB / 0.5036 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.1468, allocations: 177.6 kB / 0.5038 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002801/0.1471, allocations: 211.9 kB / 0.504 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003771/0.1509, allocations: 2.225 MB / 0.5062 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.222e-05/0.1509, allocations: 12 kB / 0.5062 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/0.1511, allocations: 95.92 kB / 0.5063 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.528e-05/0.1512, allocations: 51.94 kB / 0.5063 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003137/0.1543, allocations: 1.573 MB / 0.5079 GB, free: 4.656 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1998/0.3541, allocations: 7.728 MB / 0.5154 GB, free: 37.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002923/0.3571, allocations: 1.72 MB / 0.5171 GB, free: 36.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.3584, allocations: 0.6989 MB / 0.5178 GB, free: 36.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.983e-05/0.3585, allocations: 28.89 kB / 0.5178 GB, free: 36.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001605/0.3601, allocations: 0.8111 MB / 0.5186 GB, free: 35.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 3.707e-06/0.3602, allocations: 1.531 kB / 0.5186 GB, free: 35.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.01083/0.371, allocations: 5.39 MB / 0.5239 GB, free: 33.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/0.3712, allocations: 0.7354 MB / 0.5246 GB, free: 32.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/0.3734, allocations: 1.592 MB / 0.5261 GB, free: 31.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001504/0.3736, allocations: 63.25 kB / 0.5262 GB, free: 31.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006817/0.3743, allocations: 0.9621 MB / 0.5271 GB, free: 30.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/0.3746, allocations: 483.6 kB / 0.5276 GB, free: 30.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004273/0.375, allocations: 274.9 kB / 0.5278 GB, free: 30.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.616e-05/0.3751, allocations: 301.8 kB / 0.5281 GB, free: 30.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.3763, allocations: 0.5642 MB / 0.5287 GB, free: 29.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/0.3777, allocations: 0.9901 MB / 0.5297 GB, free: 29.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005914/0.3837, allocations: 2.944 MB / 0.5325 GB, free: 27.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.3837, allocations: 2.75 kB / 0.5325 GB, free: 27.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003906/0.3876, allocations: 1.935 MB / 0.5344 GB, free: 26.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.545e-05/0.3877, allocations: 125.7 kB / 0.5345 GB, free: 26.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.3877, allocations: 7.75 kB / 0.5346 GB, free: 26.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006007/0.3883, allocations: 205.7 kB / 0.5347 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.3897, allocations: 333.8 kB / 0.5351 GB, free: 26.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/0.3914, allocations: 2.262 MB / 0.5373 GB, free: 24.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/0.3931, allocations: 166.8 kB / 0.5374 GB, free: 24.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.3932, allocations: 59.38 kB / 0.5375 GB, free: 24.15 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 variables: mass.s:VARIABLE(start = 0.0 unit = "m" fixed = true ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real genset.mBiceT.inertia.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real mass.v:VARIABLE(start = 0.0 unit = "m/s" fixed = true ) "Absolute velocity of component" type: Real powFilt.y:VARIABLE(flow=false start = powFilt.y_start fixed = true ) "Connector of Real output signal" type: Real battery.C1.v:VARIABLE(start = 0.0 unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real battery.cDummy.v:VARIABLE(start = battery.EBatteryMin + battery.SOCInit * (battery.EBatteryMax - battery.EBatteryMin) unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001483/0.3947, allocations: 0.8784 MB / 0.5383 GB, free: 23.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008956/0.3956, allocations: 0.8698 MB / 0.5392 GB, free: 23.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004328/0.3999, allocations: 2.655 MB / 0.5418 GB, free: 21.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.392e-06/0.4, allocations: 1.344 kB / 0.5418 GB, free: 21.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=185) (initialization_lambda0): time 0.002768/0.4027, allocations: 1.725 MB / 0.5435 GB, free: 20.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.366e-05/0.4028, allocations: 117.9 kB / 0.5436 GB, free: 20.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.4028, allocations: 11.53 kB / 0.5436 GB, free: 20.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000455/0.4033, allocations: 218.6 kB / 0.5438 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009374/0.4042, allocations: 286.7 kB / 0.5441 GB, free: 20.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.4056, allocations: 2.252 MB / 0.5463 GB, free: 18.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.407, allocations: 154.4 kB / 0.5464 GB, free: 18.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.034e-05/0.4071, allocations: 61.27 kB / 0.5465 GB, free: 18.15 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 variables: mass.s:VARIABLE(start = 0.0 unit = "m" fixed = true ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real genset.mBiceT.inertia.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real mass.v:VARIABLE(start = 0.0 unit = "m/s" fixed = true ) "Absolute velocity of component" type: Real powFilt.y:VARIABLE(flow=false start = powFilt.y_start fixed = true ) "Connector of Real output signal" type: Real battery.C1.v:VARIABLE(start = 0.0 unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real battery.cDummy.v:VARIABLE(start = battery.EBatteryMin + battery.SOCInit * (battery.EBatteryMax - battery.EBatteryMin) unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 19 (driver.dummy,$PRE.driver.driveCyc.nextTimeEvent,$whenCondition1,dragForce.free,drive.limTau.state,genset.gen.limTau.state,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,dragForce.mode,$PRE.dragForce.mode,dragForce.locked,dragForce.startBackward,$PRE.dragForce.startBackward,dragForce.startForward,$PRE.dragForce.startForward,drive.constPDC.integrator1.local_reset,genset.toGrams.local_reset,genset.gen.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004912/0.4076, allocations: 434.6 kB / 0.5469 GB, free: 17.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/0.4079, allocations: 177.1 kB / 0.5471 GB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003094/0.411, allocations: 1.728 MB / 0.5488 GB, free: 16.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.411, allocations: 12.91 kB / 0.5488 GB, free: 16.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.411, allocations: 0 / 0.5488 GB, free: 16.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000536/0.4115, allocations: 399.9 kB / 0.5492 GB, free: 16.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002574/0.4118, allocations: 43.94 kB / 0.5492 GB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.4129, allocations: 155.8 kB / 0.5493 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.4132, allocations: 109.2 kB / 0.5494 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003713/0.4169, allocations: 2.031 MB / 0.5514 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003968/0.4209, allocations: 2.527 MB / 0.5539 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001117/0.422, allocations: 0.6857 MB / 0.5546 GB, free: 10.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001298/0.4233, allocations: 1.112 MB / 0.5557 GB, free: 9.344 MB / 382.1 MB Notification: Performance of Backend: time 4.21e-07/0.4233, allocations: 0 / 0.5557 GB, free: 9.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006445/0.4298, allocations: 3.62 MB / 0.5592 GB, free: 6.16 MB / 382.1 MB Notification: Performance of SimCode: time 0.00553/0.4353, allocations: 4.621 MB / 0.5637 GB, free: 1.457 MB / 382.1 MB Notification: Performance of Templates: time 0.05691/0.4923, allocations: 34.84 MB / 0.5977 GB, free: 14.75 MB / 430.1 MB make -j1 -f EHPTexamples_EHPTexamples.SHEV.SHEVpowerFilt.makefile (rm -f EHPTexamples_EHPTexamples.SHEV.SHEVpowerFilt.pipe ; mkfifo EHPTexamples_EHPTexamples.SHEV.SHEVpowerFilt.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.SHEV.SHEVpowerFilt.pipe >> ../files/EHPTexamples_EHPTexamples.SHEV.SHEVpowerFilt.sim & ./EHPTexamples_EHPTexamples.SHEV.SHEVpowerFilt -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.SHEV.SHEVpowerFilt.pipe 2>&1)