Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.EV.FirstEV.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) Ignoring simflag -noemit -jacobian= since it seems broken on HelloWorld Running command: translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEV") translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04692/0.04692, allocations: 8.598 MB / 24.73 MB, free: 4.758 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009214/0.0009212, allocations: 107.7 kB / 27.43 MB, free: 2.562 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.001093/0.001093, allocations: 187.3 kB / 30.26 MB, free: 6.297 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 255.8 MB, free: 4.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01278/0.01278, allocations: 3.122 MB / 311 MB, free: 15.99 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 85.3 kB / 378.3 MB, free: 52.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09938/0.101, allocations: 52.12 MB / 430.4 MB, free: 17.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.003635/0.1047, allocations: 3.166 MB / 433.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.1072, allocations: 2.125 MB / 435.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.1074, allocations: 8 kB / 435.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003564/0.1078, allocations: 99.14 kB / 435.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.1082, allocations: 150.9 kB / 435.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000695/0.1089, allocations: 411.1 kB / 436.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004093/0.1093, allocations: 0.6193 MB / 436.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.1095, allocations: 156.8 kB / 437.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.1097, allocations: 263.1 kB / 437.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.11, allocations: 254.9 kB / 437.6 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.724e-05/0.1101, allocations: 48 kB / 437.6 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.1103, allocations: 151.9 kB / 437.8 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.818e-05/0.1104, allocations: 123.6 kB / 437.9 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.1106, allocations: 234.8 kB / 438.1 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004901/0.1111, allocations: 0.6506 MB / 438.8 MB, free: 8.617 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1111, allocations: 0 / 438.8 MB, free: 8.617 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1111, allocations: 0 / 438.8 MB, free: 8.617 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1111, allocations: 3.938 kB / 438.8 MB, free: 8.613 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001164/0.1123, allocations: 0.804 MB / 439.6 MB, free: 7.758 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.1123, allocations: 11.97 kB / 439.6 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.1125, allocations: 52.38 kB / 439.7 MB, free: 7.695 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.1129, allocations: 376.1 kB / 440 MB, free: 7.293 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.164e-05/0.1129, allocations: 51.27 kB / 440.1 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.816e-05/0.113, allocations: 47.84 kB / 440.1 MB, free: 7.191 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006766/0.1137, allocations: 465.5 kB / 440.6 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.1137, allocations: 3.938 kB / 440.6 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/0.1137, allocations: 16 kB / 440.6 MB, free: 6.688 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1138, allocations: 8 kB / 440.6 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006461/0.1144, allocations: 331.8 kB / 440.9 MB, free: 6.359 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.1162, allocations: 1.35 MB / 442.3 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009044/0.1171, allocations: 394 kB / 442.7 MB, free: 4.535 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.1174, allocations: 148.8 kB / 442.8 MB, free: 4.387 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-05/0.1174, allocations: 4.531 kB / 442.8 MB, free: 4.383 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004913/0.1179, allocations: 235.1 kB / 443 MB, free: 4.141 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.394e-06/0.118, allocations: 0 / 443 MB, free: 4.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003745/0.1217, allocations: 1.772 MB / 444.8 MB, free: 2.254 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.1218, allocations: 166.2 kB / 445 MB, free: 2.055 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.1221, allocations: 324.5 kB / 445.3 MB, free: 1.723 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.1221, allocations: 37.7 kB / 445.3 MB, free: 1.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.528e-05/0.1222, allocations: 216.5 kB / 445.5 MB, free: 1.465 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.189e-05/0.1223, allocations: 130.2 kB / 445.7 MB, free: 1.336 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.1224, allocations: 86.02 kB / 445.8 MB, free: 1.246 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.376e-05/0.1225, allocations: 350.8 kB / 446.1 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.1228, allocations: 166.5 kB / 446.3 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/0.1232, allocations: 267.4 kB / 446.5 MB, free: 440 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005982/0.1238, allocations: 351.7 kB / 446.9 MB, free: 60 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1238, allocations: 0 / 446.9 MB, free: 60 kB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001276/0.1251, allocations: 0.5602 MB / 447.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1251, allocations: 4 kB / 447.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1252, allocations: 4 kB / 447.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004501/0.1256, allocations: 161.5 kB / 447.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.1259, allocations: 75.89 kB / 447.7 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006465/0.1266, allocations: 0.7158 MB / 448.4 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/0.127, allocations: 52.03 kB / 448.4 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.561e-05/0.127, allocations: 23.98 kB / 448.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003767/0.1274, allocations: 249 kB / 448.7 MB, free: 14.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003161/0.1277, allocations: 235.5 kB / 448.9 MB, free: 13.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004509/0.1282, allocations: 291.8 kB / 449.2 MB, free: 13.6 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/0.1282, allocations: 4 kB / 449.2 MB, free: 13.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001002/0.1292, allocations: 493.6 kB / 449.7 MB, free: 13.1 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1293, allocations: 8 kB / 449.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-06/0.1293, allocations: 3.938 kB / 449.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003992/0.1297, allocations: 169 kB / 449.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.1299, allocations: 71.84 kB / 449.9 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005945/0.1305, allocations: 0.7046 MB / 450.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/0.1309, allocations: 47.94 kB / 450.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.1309, allocations: 16 kB / 450.7 MB, free: 12.06 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 14 (driver.dummy,$PRE.driver.driveCyc.nextTimeEvent,$whenCondition1,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,dragF.mode,$PRE.dragF.mode,dragF.locked,dragF.startBackward,$PRE.dragF.startBackward,dragF.startForward,$PRE.dragF.startForward,dragF.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001773/0.1311, allocations: 212.2 kB / 450.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.1312, allocations: 39.53 kB / 451 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.1313, allocations: 52 kB / 451 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1313, allocations: 4 kB / 451 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.1313, allocations: 3.984 kB / 451 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1313, allocations: 0 / 451 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.1334, allocations: 1.173 MB / 452.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1334, allocations: 0 / 452.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.1337, allocations: 67.89 kB / 452.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003703/0.1341, allocations: 148.8 kB / 452.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/0.1342, allocations: 15.98 kB / 452.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006293/0.1348, allocations: 0.6732 MB / 453.1 MB, free: 9.578 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1348, allocations: 4.031 kB / 453.1 MB, free: 9.574 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.1364, allocations: 0.7911 MB / 453.9 MB, free: 8.754 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.1366, allocations: 160.5 kB / 454 MB, free: 8.578 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.852e-05/0.1367, allocations: 20.05 kB / 454.1 MB, free: 8.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.1371, allocations: 48 kB / 454.1 MB, free: 8.512 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.1372, allocations: 63.86 kB / 454.2 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.1373, allocations: 15.98 kB / 454.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002388/0.1375, allocations: 235 kB / 454.4 MB, free: 8.207 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1375, allocations: 0 / 454.4 MB, free: 8.207 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006672/0.1382, allocations: 172 kB / 454.6 MB, free: 8.039 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (dragF.s,dragF.v) * Number of discrete variables: 7 ($whenCondition1,dragF.startForward,dragF.startBackward,dragF.locked,dragF.mode,driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled) * Number of discrete states: 5 (driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled,dragF.mode,dragF.startForward,dragF.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001114/0.1393, allocations: 477.4 kB / 455.1 MB, free: 7.746 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.1409, allocations: 0.6363 MB / 455.7 MB, free: 7.109 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1409, allocations: 0 / 455.7 MB, free: 7.109 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005493/0.1414, allocations: 232.2 kB / 455.9 MB, free: 6.883 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006027/0.142, allocations: 101.2 kB / 456 MB, free: 6.785 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.1442, allocations: 0.9757 MB / 457 MB, free: 5.773 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.1446, allocations: 0.8161 MB / 457.8 MB, free: 4.93 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002243/0.1448, allocations: 55.25 kB / 457.9 MB, free: 4.871 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.1449, allocations: 35.42 kB / 457.9 MB, free: 4.836 MB / 318.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1449, allocations: 0 / 457.9 MB, free: 4.836 MB / 318.1 MB Notification: Performance of Templates: time 0.01464/0.1596, allocations: 9.376 MB / 467.3 MB, free: 11.52 MB / 334.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.FirstEV.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.FirstEV.sim & ./EHPTexamples_main_EHPTexamples.EV.FirstEV -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.FirstEV.pipe 2>&1)