Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.EV.MBEVdata.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.MBEVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.MBEVdata") translateModel(EHPTexamples.EV.MBEVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.MBEVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.06107/0.06107, allocations: 8.02 MB / 24.16 MB, free: 376 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.001163/0.001163, allocations: 109.2 kB / 26.73 MB, free: 3.266 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.001869/0.00187, allocations: 193.3 kB / 29.41 MB, free: 0.5938 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 222.9 MB / 254.8 MB, free: 4.844 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.0125/0.0125, allocations: 3.118 MB / 309.9 MB, free: 2.391 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001708, allocations: 92.09 kB / 374.2 MB, free: 1.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1884, allocations: 51.98 MB / 426.2 MB, free: 21.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEVdata): time 0.006002/0.1944, allocations: 6.668 MB / 432.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004089/0.1985, allocations: 3.338 MB / 436.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005158/0.1991, allocations: 27.88 kB / 436.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006468/0.1997, allocations: 309.5 kB / 436.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007179/0.2005, allocations: 420.9 kB / 436.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.2019, allocations: 0.9437 MB / 437.9 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001074/0.203, allocations: 1.782 MB / 439.7 MB, free: 7.926 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006352/0.2036, allocations: 0.6249 MB / 440.3 MB, free: 7.273 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005113/0.2041, allocations: 0.6891 MB / 441 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005627/0.2047, allocations: 0.7274 MB / 441.7 MB, free: 5.852 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.2049, allocations: 176 kB / 441.9 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000375/0.2052, allocations: 319.8 kB / 442.2 MB, free: 5.367 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.2055, allocations: 394.8 kB / 442.6 MB, free: 4.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004163/0.2059, allocations: 0.7697 MB / 443.4 MB, free: 4.207 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.2071, allocations: 1.955 MB / 445.3 MB, free: 2.246 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2071, allocations: 0 / 445.3 MB, free: 2.246 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2071, allocations: 0 / 445.3 MB, free: 2.246 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.2071, allocations: 0 / 445.3 MB, free: 2.246 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002584/0.2097, allocations: 1.83 MB / 447.1 MB, free: 356 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.2098, allocations: 8.031 kB / 447.1 MB, free: 348 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002813/0.2101, allocations: 155.2 kB / 447.3 MB, free: 192 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.2112, allocations: 0.8323 MB / 448.1 MB, free: 15.31 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.2114, allocations: 119.8 kB / 448.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.2115, allocations: 115.9 kB / 448.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.2136, allocations: 1.249 MB / 449.6 MB, free: 13.74 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.2137, allocations: 0 / 449.6 MB, free: 13.74 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.2138, allocations: 48 kB / 449.7 MB, free: 13.69 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.2138, allocations: 31.94 kB / 449.7 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.2156, allocations: 0.871 MB / 450.6 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006233/0.2219, allocations: 3.997 MB / 454.6 MB, free: 8.637 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.224, allocations: 1.067 MB / 455.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009842/0.2251, allocations: 476.2 kB / 456.1 MB, free: 7.059 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.682e-05/0.2251, allocations: 16.64 kB / 456.1 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/0.2262, allocations: 0.5266 MB / 456.6 MB, free: 6.484 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.645e-06/0.2263, allocations: 0 / 456.6 MB, free: 6.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=92): time 0.007548/0.2338, allocations: 3.638 MB / 460.3 MB, free: 2.684 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001963/0.234, allocations: 0.4935 MB / 460.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.2352, allocations: 0.8721 MB / 461.6 MB, free: 1.188 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.2353, allocations: 57.69 kB / 461.7 MB, free: 1.125 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.2357, allocations: 0.5192 MB / 462.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.2359, allocations: 327.4 kB / 462.5 MB, free: 280 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002937/0.2362, allocations: 178.5 kB / 462.7 MB, free: 96 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2364, allocations: 345.9 kB / 463 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007423/0.2371, allocations: 360.7 kB / 463.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009614/0.2381, allocations: 0.6305 MB / 464 MB, free: 14.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.2398, allocations: 0.9769 MB / 465 MB, free: 13.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2398, allocations: 4 kB / 465 MB, free: 13.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002404/0.2422, allocations: 1.207 MB / 466.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.984e-05/0.2423, allocations: 71.48 kB / 466.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.2423, allocations: 4 kB / 466.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005567/0.2429, allocations: 204.7 kB / 466.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007949/0.2437, allocations: 207.7 kB / 466.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008879/0.2446, allocations: 0.7966 MB / 467.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009666/0.2455, allocations: 115.8 kB / 467.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-05/0.2456, allocations: 40 kB / 467.6 MB, free: 10.89 MB / 334.1 MB Warning: Assuming fixed start value for the following 1 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 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001033/0.2467, allocations: 0.5098 MB / 468.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008066/0.2475, allocations: 0.572 MB / 468.7 MB, free: 9.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001279/0.2488, allocations: 0.8754 MB / 469.6 MB, free: 8.734 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.427e-06/0.2488, allocations: 0 / 469.6 MB, free: 8.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001941/0.2507, allocations: 1.086 MB / 470.7 MB, free: 7.621 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.578e-05/0.2508, allocations: 63.41 kB / 470.7 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.2508, allocations: 4 kB / 470.7 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004775/0.2513, allocations: 196.9 kB / 470.9 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006629/0.252, allocations: 183.8 kB / 471.1 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007224/0.2527, allocations: 0.767 MB / 471.9 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009327/0.2536, allocations: 112 kB / 472 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/0.2537, allocations: 40 kB / 472 MB, free: 6.227 MB / 334.1 MB Warning: Assuming fixed start value for the following 1 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 16 (driver.dummy,$PRE.driver.driveCyc.nextTimeEvent,$whenCondition1,dragF.free,dragF.mode,$PRE.dragF.mode,dragF.locked,dragF.startBackward,$PRE.dragF.startBackward,dragF.startForward,$PRE.dragF.startForward,eleDrive.limTau.state,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,eleDrive.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 2 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003561/0.2541, allocations: 330.2 kB / 472.4 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.2543, allocations: 102.8 kB / 472.5 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002392/0.2567, allocations: 1.141 MB / 473.6 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.2567, allocations: 7.922 kB / 473.6 MB, free: 4.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2567, allocations: 4 kB / 473.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003781/0.2571, allocations: 275.8 kB / 473.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.2572, allocations: 20 kB / 473.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008199/0.2581, allocations: 111.9 kB / 474 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.2583, allocations: 80.88 kB / 474.1 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003017/0.2613, allocations: 1.359 MB / 475.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002765/0.2641, allocations: 1.616 MB / 477.1 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007485/0.2648, allocations: 423.8 kB / 477.5 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007853/0.2656, allocations: 0.6161 MB / 478.1 MB, free: 40 kB / 334.1 MB Notification: Performance of Backend: time 4.7e-07/0.2656, allocations: 0 / 478.1 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00471/0.2704, allocations: 2.162 MB / 480.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of SimCode: time 0.004079/0.2745, allocations: 3.191 MB / 483.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Templates: time 0.03352/0.308, allocations: 22.42 MB / 0.494 GB, free: 4.645 MB / 366.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.MBEVdata.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.MBEVdata.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.MBEVdata.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.MBEVdata.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.MBEVdata.sim & ./EHPTexamples_main_EHPTexamples.EV.MBEVdata -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.MBEVdata.pipe 2>&1)