Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.SHEV.SHEVpowerFiltSoc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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 2.1.4/package.mo", uses=false) 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.SHEVpowerFiltSoc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.SHEV.SHEVpowerFiltSoc") translateModel(EHPTexamples.SHEV.SHEVpowerFiltSoc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.SHEV.SHEVpowerFiltSoc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.04216/0.04216, allocations: 8.033 MB / 24.34 MB, free: 420 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.001026/0.001026, allocations: 107.8 kB / 26.93 MB, free: 3.137 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.001168/0.001168, allocations: 194.8 kB / 29.63 MB, free: 464 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.291/1.291, allocations: 222.9 MB / 255.1 MB, free: 4.672 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/package.mo): time 0.0125/0.0125, allocations: 3.122 MB / 310.1 MB, free: 2.293 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 87.86 kB / 427.6 MB, free: 17.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07661/0.07839, allocations: 51.97 MB / 479.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.SHEV.SHEVpowerFiltSoc): time 0.01056/0.08898, allocations: 10.15 MB / 489.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006417/0.09542, allocations: 4.445 MB / 494.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000697/0.09613, allocations: 47.81 kB / 494.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009827/0.09713, allocations: 0.5116 MB / 494.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.09846, allocations: 0.7098 MB / 495.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003069/0.1015, allocations: 1.893 MB / 497.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002835/0.1044, allocations: 3.244 MB / 0.4888 GB, free: 8.445 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.106, allocations: 1.368 MB / 0.4902 GB, free: 7.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.1072, allocations: 1.207 MB / 0.4913 GB, free: 5.816 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.1084, allocations: 1.272 MB / 0.4926 GB, free: 4.539 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003953/0.1088, allocations: 352 kB / 0.4929 GB, free: 4.195 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008088/0.1096, allocations: 0.5193 MB / 0.4934 GB, free: 3.676 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006212/0.1103, allocations: 0.7478 MB / 0.4942 GB, free: 2.926 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.1114, allocations: 1.396 MB / 0.4955 GB, free: 1.523 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00343/0.1148, allocations: 3.807 MB / 0.4992 GB, free: 13.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1148, allocations: 0 / 0.4992 GB, free: 13.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1148, allocations: 0 / 0.4992 GB, free: 13.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.179e-05/0.1149, allocations: 0 / 0.4992 GB, free: 13.7 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: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.004514/0.1194, allocations: 3.096 MB / 0.5023 GB, free: 10.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1194, allocations: 8.031 kB / 0.5023 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004935/0.1199, allocations: 310.5 kB / 0.5026 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/0.122, allocations: 1.51 MB / 0.504 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.1221, allocations: 185.7 kB / 0.5042 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002799/0.1224, allocations: 215.9 kB / 0.5044 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003567/0.126, allocations: 2.249 MB / 0.5066 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.374e-05/0.126, allocations: 15.88 kB / 0.5066 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.1262, allocations: 88 kB / 0.5067 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.371e-05/0.1263, allocations: 55.94 kB / 0.5068 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00318/0.1294, allocations: 1.596 MB / 0.5083 GB, free: 4.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1905/0.32, allocations: 7.76 MB / 0.5159 GB, free: 36.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/0.3227, allocations: 1.755 MB / 0.5176 GB, free: 35.65 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.324, allocations: 0.7061 MB / 0.5183 GB, free: 35.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.838e-05/0.3241, allocations: 26.86 kB / 0.5183 GB, free: 35.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001488/0.3256, allocations: 0.8237 MB / 0.5191 GB, free: 35.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 3.506e-06/0.3256, allocations: 0 / 0.5191 GB, free: 35.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=142): time 0.01056/0.3362, allocations: 5.457 MB / 0.5245 GB, free: 32.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001972/0.3364, allocations: 0.7363 MB / 0.5252 GB, free: 31.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/0.3388, allocations: 1.613 MB / 0.5268 GB, free: 30.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.3389, allocations: 61.06 kB / 0.5268 GB, free: 30.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006302/0.3395, allocations: 0.9979 MB / 0.5278 GB, free: 30.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.3398, allocations: 0.5045 MB / 0.5283 GB, free: 29.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004393/0.3403, allocations: 276.3 kB / 0.5286 GB, free: 29.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.976e-05/0.3403, allocations: 302.9 kB / 0.5288 GB, free: 29.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.3415, allocations: 0.5687 MB / 0.5294 GB, free: 29.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.343, allocations: 0.9996 MB / 0.5304 GB, free: 28.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005903/0.3489, allocations: 2.99 MB / 0.5333 GB, free: 26.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.3489, allocations: 1.5 kB / 0.5333 GB, free: 26.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.0037/0.3526, allocations: 1.96 MB / 0.5352 GB, free: 25.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/0.3527, allocations: 123 kB / 0.5353 GB, free: 25.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.3527, allocations: 7.656 kB / 0.5353 GB, free: 25.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005442/0.3533, allocations: 213.3 kB / 0.5355 GB, free: 25.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.3544, allocations: 341.3 kB / 0.5359 GB, free: 25.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.3561, allocations: 2.251 MB / 0.5381 GB, free: 23.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.3576, allocations: 163.1 kB / 0.5382 GB, free: 23.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.3577, allocations: 58.95 kB / 0.5383 GB, free: 23.39 MB / 382.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.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 battery.C1.v:VARIABLE(start = 0.0 unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real powFilt.y:VARIABLE(flow=false start = powFilt.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001481/0.3592, allocations: 0.8886 MB / 0.5391 GB, free: 22.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009209/0.3601, allocations: 0.8848 MB / 0.54 GB, free: 22.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00442/0.3646, allocations: 2.678 MB / 0.5426 GB, free: 20.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.549e-06/0.3646, allocations: 2.781 kB / 0.5426 GB, free: 20.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.002649/0.3672, allocations: 1.745 MB / 0.5443 GB, free: 19.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/0.3673, allocations: 121.2 kB / 0.5444 GB, free: 19.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3673, allocations: 12.75 kB / 0.5445 GB, free: 19.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004647/0.3678, allocations: 211.8 kB / 0.5447 GB, free: 19.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009408/0.3687, allocations: 295.1 kB / 0.5449 GB, free: 19.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.3701, allocations: 2.257 MB / 0.5471 GB, free: 17.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.3715, allocations: 158.3 kB / 0.5473 GB, free: 17.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-05/0.3716, allocations: 61.17 kB / 0.5474 GB, free: 17.33 MB / 382.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.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 battery.C1.v:VARIABLE(start = 0.0 unit = "V" fixed = true ) "Voltage drop of the two pins (= p.v - n.v)" type: Real powFilt.y:VARIABLE(flow=false start = 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: 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 (169): * Single equations (assignments): 163 * 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.000496/0.3721, allocations: 442 kB / 0.5478 GB, free: 16.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/0.3723, allocations: 187.5 kB / 0.548 GB, free: 16.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003057/0.3754, allocations: 1.738 MB / 0.5497 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.3754, allocations: 8.969 kB / 0.5497 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3754, allocations: 0 / 0.5497 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004888/0.3759, allocations: 423.6 kB / 0.5501 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/0.3762, allocations: 41.5 kB / 0.5501 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.3772, allocations: 151.8 kB / 0.5503 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/0.3775, allocations: 117.1 kB / 0.5504 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003614/0.3811, allocations: 2.051 MB / 0.5524 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003748/0.3848, allocations: 2.57 MB / 0.5549 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001047/0.3859, allocations: 0.7013 MB / 0.5556 GB, free: 9.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001281/0.3872, allocations: 1.116 MB / 0.5567 GB, free: 8.121 MB / 382.1 MB Notification: Performance of Backend: time 7.41e-07/0.3872, allocations: 0 / 0.5567 GB, free: 8.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006522/0.3937, allocations: 3.648 MB / 0.5602 GB, free: 4.895 MB / 382.1 MB Notification: Performance of SimCode: time 0.005294/0.399, allocations: 4.742 MB / 0.5648 GB, free: 72 kB / 382.1 MB Notification: Performance of Templates: time 0.0526/0.4517, allocations: 35.13 MB / 0.5992 GB, free: 13.05 MB / 430.1 MB make -j1 -f EHPTexamples_EHPTexamples.SHEV.SHEVpowerFiltSoc.makefile (rm -f EHPTexamples_EHPTexamples.SHEV.SHEVpowerFiltSoc.pipe ; mkfifo EHPTexamples_EHPTexamples.SHEV.SHEVpowerFiltSoc.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.SHEV.SHEVpowerFiltSoc.pipe >> ../files/EHPTexamples_EHPTexamples.SHEV.SHEVpowerFiltSoc.sim & ./EHPTexamples_EHPTexamples.SHEV.SHEVpowerFiltSoc -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.SHEV.SHEVpowerFiltSoc.pipe 2>&1)