Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.SHEV.SHEV_OO.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.05823/0.05823, allocations: 8.144 MB / 26.09 MB, free: 4.391 MB / 19.63 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01007/0.01007, allocations: 98.67 kB / 30.97 MB, free: 2.719 MB / 19.63 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 193.8 kB / 35.95 MB, free: 5.598 MB / 26.18 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 266.4 MB, free: 2.617 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/package.mo): time 0.01398/0.01398, allocations: 3.172 MB / 326.5 MB, free: 10.98 MB / 254.1 MB [Timeout remaining time 90] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/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/package.mo) Running command: translateModel(EHPTexamples.SHEV.SHEV_OO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.SHEV.SHEV_OO") translateModel(EHPTexamples.SHEV.SHEV_OO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.SHEV.SHEV_OO") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002838/0.002838, allocations: 103.8 kB / 452.5 MB, free: 2.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09673/0.09956, allocations: 54.85 MB / 0.4955 GB, free: 11.79 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.SHEV.SHEV_OO): time 0.01351/0.1131, allocations: 10.49 MB / 0.5057 GB, free: 1.242 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008752/0.1218, allocations: 4.621 MB / 0.5102 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.1233, allocations: 47.88 kB / 0.5103 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.1246, allocations: 0.5972 MB / 0.5108 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.1266, allocations: 0.7604 MB / 0.5116 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004051/0.1307, allocations: 1.995 MB / 0.5135 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004263/0.1349, allocations: 3.373 MB / 0.5168 GB, free: 5.832 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001614/0.1365, allocations: 1.022 MB / 0.5178 GB, free: 4.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.1383, allocations: 1.265 MB / 0.5191 GB, free: 3.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001874/0.1401, allocations: 1.385 MB / 0.5204 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005139/0.1407, allocations: 372 kB / 0.5208 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.1418, allocations: 0.5662 MB / 0.5213 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007744/0.1426, allocations: 0.8062 MB / 0.5221 GB, free: 360 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1881/0.3307, allocations: 1.482 MB / 0.5236 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004049/0.3347, allocations: 4.062 MB / 0.5275 GB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3347, allocations: 0 / 0.5275 GB, free: 12.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3347, allocations: 0 / 0.5275 GB, free: 12.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.661e-05/0.3348, allocations: 0 / 0.5275 GB, free: 12.46 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: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.005294/0.3401, allocations: 3.3 MB / 0.5307 GB, free: 10.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3401, allocations: 8.469 kB / 0.5308 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005752/0.3407, allocations: 323.3 kB / 0.5311 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002318/0.343, allocations: 1.649 MB / 0.5327 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.3432, allocations: 187.3 kB / 0.5329 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003644/0.3436, allocations: 224.8 kB / 0.5331 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004345/0.3479, allocations: 2.36 MB / 0.5354 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.53e-05/0.348, allocations: 2.859 kB / 0.5354 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002048/0.3482, allocations: 92.16 kB / 0.5355 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.53e-05/0.3482, allocations: 50.47 kB / 0.5355 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003525/0.3517, allocations: 1.674 MB / 0.5371 GB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01213/0.3639, allocations: 8.102 MB / 0.5451 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003556/0.3674, allocations: 1.894 MB / 0.5469 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/0.3689, allocations: 0.6779 MB / 0.5476 GB, free: 4.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.081e-05/0.369, allocations: 25.38 kB / 0.5476 GB, free: 4.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001649/0.3706, allocations: 0.8616 MB / 0.5484 GB, free: 4.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=135): time 3.717e-06/0.3706, allocations: 3.938 kB / 0.5484 GB, free: 4.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=145): time 0.01192/0.3826, allocations: 5.683 MB / 0.554 GB, free: 0.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002067/0.3828, allocations: 0.7875 MB / 0.5548 GB, free: 15.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003/0.3858, allocations: 1.907 MB / 0.5566 GB, free: 14.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002717/0.386, allocations: 64.89 kB / 0.5567 GB, free: 14.87 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.387, allocations: 1.075 MB / 0.5577 GB, free: 13.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005238/0.3876, allocations: 0.5045 MB / 0.5582 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004847/0.388, allocations: 293.1 kB / 0.5585 GB, free: 13.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3882, allocations: 303.6 kB / 0.5588 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.3895, allocations: 0.5964 MB / 0.5594 GB, free: 12.72 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/0.3912, allocations: 1.055 MB / 0.5604 GB, free: 11.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006699/0.3979, allocations: 3.058 MB / 0.5634 GB, free: 9.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.3979, allocations: 3.594 kB / 0.5634 GB, free: 9.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004104/0.402, allocations: 2.042 MB / 0.5654 GB, free: 8.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.731e-05/0.4021, allocations: 118.6 kB / 0.5655 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.4021, allocations: 7 kB / 0.5655 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005683/0.4027, allocations: 209.4 kB / 0.5657 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.4039, allocations: 343.7 kB / 0.566 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.4061, allocations: 2.269 MB / 0.5683 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.4077, allocations: 172.6 kB / 0.5684 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/0.4078, allocations: 63.8 kB / 0.5685 GB, free: 6.27 MB / 398.1 MB Warning: Assuming fixed start value for the following 5 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.mbIce.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 battery.C1.v:VARIABLE(start = 0.0 unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real ems.powFilt.y:VARIABLE(flow=false start = ems.powFilt.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00199/0.4098, allocations: 0.9446 MB / 0.5694 GB, free: 5.492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001402/0.4112, allocations: 0.923 MB / 0.5703 GB, free: 4.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005649/0.4168, allocations: 2.719 MB / 0.573 GB, free: 1.527 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.029e-06/0.4168, allocations: 7.938 kB / 0.573 GB, free: 1.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003704/0.4206, allocations: 1.791 MB / 0.5747 GB, free: 15.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.283e-05/0.4206, allocations: 127.1 kB / 0.5748 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.4207, allocations: 12 kB / 0.5748 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005549/0.4212, allocations: 209.1 kB / 0.575 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.4223, allocations: 292.6 kB / 0.5753 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/0.4244, allocations: 2.263 MB / 0.5775 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.4261, allocations: 168.4 kB / 0.5777 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.4263, allocations: 59.98 kB / 0.5778 GB, free: 12.48 MB / 414.1 MB Warning: Assuming fixed start value for the following 5 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.mbIce.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 battery.C1.v:VARIABLE(start = 0.0 unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real ems.powFilt.y:VARIABLE(flow=false start = ems.powFilt.y_start fixed = true ) "Connector of Real output signal" 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: 21 (driver.dummy,$PRE.driver.driveCyc.nextTimeEvent,$whenCondition1,dragForce.free,$PRE.ems.powHyst.y,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,genset.gen.limTau.state,ems.powHyst.y,drive.limTau.state,dragForce.mode,$PRE.dragForce.mode,dragForce.locked,dragForce.startBackward,$PRE.dragForce.startBackward,dragForce.startForward,$PRE.dragForce.startForward,genset.toGrams.local_reset,genset.gen.constPDC.integrator1.local_reset,drive.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (173): * Single equations (assignments): 167 * 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.0007187/0.427, allocations: 428.9 kB / 0.5782 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005428/0.4275, allocations: 210.7 kB / 0.5784 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004055/0.4316, allocations: 1.813 MB / 0.5801 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.4316, allocations: 3.984 kB / 0.5801 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4316, allocations: 0 / 0.5801 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008912/0.4325, allocations: 447.7 kB / 0.5806 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003773/0.4329, allocations: 43.98 kB / 0.5806 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.4342, allocations: 167.7 kB / 0.5808 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002947/0.4345, allocations: 121.1 kB / 0.5809 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004794/0.4393, allocations: 2.121 MB / 0.583 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005375/0.4447, allocations: 2.667 MB / 0.5856 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001461/0.4461, allocations: 0.6544 MB / 0.5862 GB, free: 3.672 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002547/0.4487, allocations: 1.327 MB / 0.5875 GB, free: 2.352 MB / 414.1 MB Notification: Performance of Backend: time 2.1e-07/0.4487, allocations: 0 / 0.5875 GB, free: 2.352 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01138/0.46, allocations: 3.698 MB / 0.5911 GB, free: 15.2 MB / 430.1 MB Notification: Performance of SimCode: time 0.00912/0.4692, allocations: 5.037 MB / 0.596 GB, free: 10.09 MB / 430.1 MB Notification: Performance of Templates: time 0.06991/0.5391, allocations: 38.14 MB / 0.6333 GB, free: 4.137 MB / 462.1 MB [Timeout remaining time 659] make -j1 -f EHPTexamples_EHPTexamples.SHEV.SHEV_OO.makefile [Timeout 660] (rm -f EHPTexamples_EHPTexamples.SHEV.SHEV_OO.pipe ; mkfifo EHPTexamples_EHPTexamples.SHEV.SHEV_OO.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.SHEV.SHEV_OO.pipe >> ../files/EHPTexamples_EHPTexamples.SHEV.SHEV_OO.sim & ./EHPTexamples_EHPTexamples.SHEV.SHEV_OO -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.SHEV.SHEV_OO.pipe 2>&1) [Timeout 480]