Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.EV.MBEVdataLF.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.EV.MBEVdataLF,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.MBEVdataLF") translateModel(EHPTexamples.EV.MBEVdataLF,tolerance=0.0001,outputFormat="empty",numberOfIntervals=28000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.MBEVdataLF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.06159/0.06159, allocations: 8.03 MB / 24.2 MB, free: 396 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.001334/0.001334, allocations: 107.8 kB / 26.77 MB, free: 3.262 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.001607/0.001607, allocations: 204 kB / 29.47 MB, free: 0.582 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.411/1.411, allocations: 222.9 MB / 254.9 MB, free: 4.781 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/package.mo): time 0.01369/0.01369, allocations: 3.127 MB / 309.9 MB, free: 2.406 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002816/0.002816, allocations: 99.83 kB / 374.3 MB, free: 1.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.2, allocations: 51.96 MB / 426.3 MB, free: 21.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.MBEVdataLF): time 0.006544/0.2066, allocations: 6.829 MB / 433.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005229/0.2119, allocations: 3.477 MB / 436.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009279/0.2129, allocations: 31.94 kB / 436.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008437/0.2138, allocations: 329.4 kB / 437 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.2149, allocations: 460.6 kB / 437.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.2167, allocations: 0.9944 MB / 438.4 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001478/0.2182, allocations: 1.899 MB / 440.3 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007251/0.2189, allocations: 0.6486 MB / 441 MB, free: 6.738 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006902/0.2196, allocations: 0.7241 MB / 441.7 MB, free: 6.012 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007094/0.2204, allocations: 0.7701 MB / 442.5 MB, free: 5.238 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002074/0.2206, allocations: 184 kB / 442.6 MB, free: 5.059 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005597/0.2211, allocations: 355.8 kB / 443 MB, free: 4.711 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000242/0.2214, allocations: 394.7 kB / 443.4 MB, free: 4.324 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005231/0.2219, allocations: 0.7891 MB / 444.2 MB, free: 3.531 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.2235, allocations: 2.033 MB / 446.2 MB, free: 1.492 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2235, allocations: 0 / 446.2 MB, free: 1.492 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2235, allocations: 0 / 446.2 MB, free: 1.492 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.206e-05/0.2236, allocations: 0 / 446.2 MB, free: 1.492 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.003182/0.2267, allocations: 1.877 MB / 448.1 MB, free: 15.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2268, allocations: 12.03 kB / 448.1 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004396/0.2272, allocations: 167.1 kB / 448.2 MB, free: 15.37 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.2286, allocations: 0.8524 MB / 449.1 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.2288, allocations: 116 kB / 449.2 MB, free: 14.35 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.229, allocations: 119.9 kB / 449.3 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/0.2315, allocations: 1.277 MB / 450.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/0.2316, allocations: 0 / 450.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.2317, allocations: 51.94 kB / 450.7 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.2317, allocations: 28 kB / 450.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.2339, allocations: 0.9104 MB / 451.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007806/0.2417, allocations: 4.127 MB / 455.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002453/0.2442, allocations: 1.122 MB / 456.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.2453, allocations: 0.4934 MB / 457.3 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-05/0.2454, allocations: 12.98 kB / 457.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001244/0.2466, allocations: 0.5531 MB / 457.9 MB, free: 5.359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 5.5e-06/0.2466, allocations: 0 / 457.9 MB, free: 5.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=95): time 0.008888/0.2555, allocations: 3.75 MB / 461.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002957/0.2559, allocations: 483.6 kB / 462.1 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.2574, allocations: 0.8803 MB / 463 MB, free: 15.97 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001274/0.2575, allocations: 45.7 kB / 463 MB, free: 15.92 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005475/0.2581, allocations: 0.5427 MB / 463.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000333/0.2584, allocations: 327.2 kB / 463.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003542/0.2588, allocations: 194.5 kB / 464.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.259, allocations: 341.9 kB / 464.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008667/0.2598, allocations: 376.7 kB / 464.8 MB, free: 14.13 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.261, allocations: 0.6375 MB / 465.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001987/0.263, allocations: 0.9926 MB / 466.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.263, allocations: 0 / 466.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003277/0.2663, allocations: 1.324 MB / 467.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.212e-05/0.2664, allocations: 67.41 kB / 467.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.2664, allocations: 7.984 kB / 467.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006334/0.2671, allocations: 200.7 kB / 468 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008829/0.268, allocations: 211.6 kB / 468.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.2691, allocations: 0.7928 MB / 469 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.2703, allocations: 119.8 kB / 469.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.526e-05/0.2704, allocations: 36 kB / 469.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001128/0.2715, allocations: 0.5331 MB / 469.7 MB, free: 8.965 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009144/0.2724, allocations: 0.5789 MB / 470.3 MB, free: 8.277 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001432/0.2739, allocations: 0.8796 MB / 471.2 MB, free: 7.312 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.288e-06/0.2739, allocations: 4 kB / 471.2 MB, free: 7.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002486/0.2764, allocations: 1.16 MB / 472.3 MB, free: 6.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.732e-05/0.2765, allocations: 59.41 kB / 472.4 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.2765, allocations: 4 kB / 472.4 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000526/0.277, allocations: 188.8 kB / 472.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007671/0.2778, allocations: 195.7 kB / 472.8 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008498/0.2786, allocations: 0.7577 MB / 473.5 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.2798, allocations: 120.3 kB / 473.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.182e-05/0.2799, allocations: 36 kB / 473.7 MB, free: 4.734 MB / 334.1 MB 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 (109): * Single equations (assignments): 106 * 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.0004511/0.2803, allocations: 322.5 kB / 474 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.2806, allocations: 110.7 kB / 474.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/0.2833, allocations: 1.145 MB / 475.3 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.2833, allocations: 11.94 kB / 475.3 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2833, allocations: 0 / 475.3 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.2834, allocations: 3.984 kB / 475.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005096/0.2885, allocations: 2.633 MB / 477.9 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.2885, allocations: 0 / 477.9 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008033/0.2893, allocations: 171.8 kB / 478.1 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005662/0.2899, allocations: 188.8 kB / 478.3 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.739e-05/0.29, allocations: 31.97 kB / 478.3 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000921/0.2909, allocations: 0.7504 MB / 479 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.2909, allocations: 7.969 kB / 479 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00354/0.2945, allocations: 1.711 MB / 480.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005435/0.295, allocations: 275.7 kB / 481 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.2952, allocations: 31.94 kB / 481.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008652/0.2961, allocations: 91.91 kB / 481.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/0.2963, allocations: 88.86 kB / 481.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.669e-05/0.2964, allocations: 35.98 kB / 481.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009104/0.2973, allocations: 0.6162 MB / 481.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2973, allocations: 4 kB / 481.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001383/0.2987, allocations: 476 kB / 482.3 MB, free: 11.86 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (enBatDel,enDTdel,enP1del,enBattLoss,enBraking,eleDrive.constPDC.integrator1.y,batt1.cBattery.v,batt1.C1.v,batt1.cDummy.v,mass.s,mass.v) * Number of discrete variables: 8 ($whenCondition1,driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled,eleDrive.limTau.state,dragF.startForward,dragF.startBackward,dragF.locked,dragF.mode) * Number of discrete states: 6 (driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled,eleDrive.limTau.state,dragF.mode,dragF.startForward,dragF.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002752/0.3015, allocations: 0.7398 MB / 483.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00399/0.3055, allocations: 1.731 MB / 484.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.3055, allocations: 0 / 484.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.3067, allocations: 0.6069 MB / 485.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.3081, allocations: 251.2 kB / 485.7 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00548/0.3136, allocations: 2.846 MB / 488.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008416/0.3145, allocations: 1.105 MB / 489.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003766/0.3149, allocations: 95.41 kB / 489.7 MB, free: 4.652 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3149, allocations: 0 / 489.7 MB, free: 4.652 MB / 350.1 MB Notification: Performance of Templates: time 0.03129/0.3462, allocations: 21.43 MB / 0.4992 GB, free: 15.25 MB / 382.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.MBEVdataLF.makefile (rm -f EHPTexamples_EHPTexamples.EV.MBEVdataLF.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.MBEVdataLF.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.MBEVdataLF.pipe >> ../files/EHPTexamples_EHPTexamples.EV.MBEVdataLF.sim & ./EHPTexamples_EHPTexamples.EV.MBEVdataLF -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.MBEVdataLF.pipe 2>&1)