Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_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_latest_EHPTexamples.SHEV.SHEVpowerFilt") translateModel(EHPTexamples.SHEV.SHEVpowerFilt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.SHEV.SHEVpowerFilt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04303/0.04303, allocations: 8.036 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.0009814/0.0009814, allocations: 107.9 kB / 26.93 MB, free: 3.09 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.001088/0.001088, allocations: 191.3 kB / 29.62 MB, free: 420 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.311/1.311, 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.01342/0.01342, allocations: 3.122 MB / 310.1 MB, free: 2.32 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 96.12 kB / 427.6 MB, free: 17.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08975/0.09147, allocations: 51.97 MB / 479.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.SHEV.SHEVpowerFilt): time 0.01127/0.1028, allocations: 10.04 MB / 489.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007972/0.1108, allocations: 4.437 MB / 494 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.1126, allocations: 47.81 kB / 494.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.1143, allocations: 0.4999 MB / 494.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002679/0.117, allocations: 0.6943 MB / 495.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004957/0.122, allocations: 1.896 MB / 497.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004576/0.1266, allocations: 3.212 MB / 0.4887 GB, free: 8.656 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002635/0.1292, allocations: 1.344 MB / 0.49 GB, free: 7.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001908/0.1312, allocations: 1.191 MB / 0.4911 GB, free: 6.066 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001934/0.1331, allocations: 1.264 MB / 0.4924 GB, free: 4.797 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008386/0.134, allocations: 348 kB / 0.4927 GB, free: 4.457 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.1353, allocations: 0.5271 MB / 0.4932 GB, free: 3.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009626/0.1362, allocations: 0.7322 MB / 0.4939 GB, free: 3.195 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002014/0.1383, allocations: 1.384 MB / 0.4953 GB, free: 1.805 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004532/0.1428, allocations: 3.754 MB / 0.499 GB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1428, allocations: 0 / 0.499 GB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1428, allocations: 0 / 0.499 GB, free: 14.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001253/0.143, allocations: 4 kB / 0.499 GB, free: 14.04 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.006681/0.1497, allocations: 2.988 MB / 0.5019 GB, free: 10.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1497, allocations: 8.031 kB / 0.5019 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008364/0.1505, allocations: 281.5 kB / 0.5022 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002457/0.153, allocations: 1.504 MB / 0.5036 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.1532, allocations: 185.5 kB / 0.5038 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002835/0.1535, allocations: 207.9 kB / 0.504 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003967/0.1575, allocations: 2.225 MB / 0.5062 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.974e-05/0.1575, allocations: 11.92 kB / 0.5062 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001949/0.1577, allocations: 91.98 kB / 0.5063 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/0.1578, allocations: 48 kB / 0.5063 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00319/0.161, allocations: 1.577 MB / 0.5079 GB, free: 4.684 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.2048/0.3658, allocations: 7.724 MB / 0.5154 GB, free: 36.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/0.3687, allocations: 1.728 MB / 0.5171 GB, free: 35.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001338/0.37, allocations: 0.6985 MB / 0.5178 GB, free: 35.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.488e-05/0.3701, allocations: 21.53 kB / 0.5178 GB, free: 35.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001521/0.3716, allocations: 0.8227 MB / 0.5186 GB, free: 35.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 3.166e-06/0.3717, allocations: 0 / 0.5186 GB, free: 35.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.01084/0.3825, allocations: 5.386 MB / 0.5239 GB, free: 32.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/0.3827, allocations: 0.7336 MB / 0.5246 GB, free: 31.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.3849, allocations: 1.595 MB / 0.5261 GB, free: 30.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000141/0.385, allocations: 64.3 kB / 0.5262 GB, free: 30.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006432/0.3857, allocations: 0.9645 MB / 0.5271 GB, free: 30.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003009/0.386, allocations: 470.8 kB / 0.5276 GB, free: 29.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004112/0.3864, allocations: 280 kB / 0.5278 GB, free: 29.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.594e-05/0.3864, allocations: 301.7 kB / 0.5281 GB, free: 29.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.3876, allocations: 0.565 MB / 0.5287 GB, free: 29.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/0.3891, allocations: 0.9918 MB / 0.5297 GB, free: 28.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005806/0.3949, allocations: 2.949 MB / 0.5325 GB, free: 26.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.3949, allocations: 4.75 kB / 0.5325 GB, free: 26.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003971/0.3989, allocations: 1.933 MB / 0.5344 GB, free: 25.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.649e-05/0.399, allocations: 123.5 kB / 0.5345 GB, free: 25.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.399, allocations: 6.969 kB / 0.5345 GB, free: 25.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005507/0.3996, allocations: 216.8 kB / 0.5348 GB, free: 25.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.4008, allocations: 332.7 kB / 0.5351 GB, free: 25.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.4022, allocations: 2.26 MB / 0.5373 GB, free: 23.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.4037, allocations: 164.3 kB / 0.5374 GB, free: 23.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.4038, allocations: 61.92 kB / 0.5375 GB, free: 23.54 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.00147/0.4053, allocations: 0.881 MB / 0.5384 GB, free: 23.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008819/0.4062, allocations: 0.8804 MB / 0.5392 GB, free: 22.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004236/0.4104, allocations: 2.635 MB / 0.5418 GB, free: 20.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.631e-06/0.4105, allocations: 2.344 kB / 0.5418 GB, free: 20.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=185) (initialization_lambda0): time 0.002787/0.4133, allocations: 1.715 MB / 0.5435 GB, free: 19.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/0.4133, allocations: 128.5 kB / 0.5436 GB, free: 19.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.4133, allocations: 10.88 kB / 0.5436 GB, free: 19.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000442/0.4138, allocations: 210 kB / 0.5438 GB, free: 19.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000931/0.4147, allocations: 286.7 kB / 0.5441 GB, free: 19.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.4161, allocations: 2.26 MB / 0.5463 GB, free: 17.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.4174, allocations: 154.8 kB / 0.5464 GB, free: 17.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.913e-05/0.4175, allocations: 58.84 kB / 0.5465 GB, free: 17.53 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.0005013/0.418, allocations: 435.7 kB / 0.5469 GB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/0.4183, allocations: 179 kB / 0.5471 GB, free: 17.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003206/0.4215, allocations: 1.724 MB / 0.5488 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.4216, allocations: 7.969 kB / 0.5488 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.4216, allocations: 0 / 0.5488 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005533/0.4221, allocations: 398.9 kB / 0.5491 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/0.4224, allocations: 39.94 kB / 0.5492 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.4236, allocations: 159.8 kB / 0.5493 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/0.4238, allocations: 113.1 kB / 0.5494 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003756/0.4276, allocations: 2.033 MB / 0.5514 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003754/0.4314, allocations: 2.527 MB / 0.5539 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001082/0.4324, allocations: 0.6909 MB / 0.5546 GB, free: 9.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001272/0.4337, allocations: 1.103 MB / 0.5556 GB, free: 8.734 MB / 382.1 MB Notification: Performance of Backend: time 9.32e-07/0.4337, allocations: 1.969 kB / 0.5556 GB, free: 8.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006636/0.4404, allocations: 3.615 MB / 0.5592 GB, free: 5.562 MB / 382.1 MB Notification: Performance of SimCode: time 0.005407/0.4458, allocations: 4.637 MB / 0.5637 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of Templates: time 0.05555/0.5014, allocations: 34.84 MB / 0.5977 GB, free: 14.13 MB / 430.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.SHEV.SHEVpowerFilt.makefile (rm -f EHPTexamples_latest_EHPTexamples.SHEV.SHEVpowerFilt.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.SHEV.SHEVpowerFilt.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.SHEV.SHEVpowerFilt.pipe >> ../files/EHPTexamples_latest_EHPTexamples.SHEV.SHEVpowerFilt.sim & ./EHPTexamples_latest_EHPTexamples.SHEV.SHEVpowerFilt -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.SHEV.SHEVpowerFilt.pipe 2>&1)