Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_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_EHPTexamples.EV.FirstEV") translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.FirstEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.06561/0.06561, allocations: 8.038 MB / 24.3 MB, free: 32 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.001408/0.001408, allocations: 111.4 kB / 26.88 MB, free: 3.02 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.001735/0.001735, allocations: 193.9 kB / 29.58 MB, free: 340 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.396/1.396, allocations: 222.9 MB / 255 MB, free: 4.719 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01299/0.01299, allocations: 3.118 MB / 310.1 MB, free: 2.363 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 96.17 kB / 377.9 MB, free: 52.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09659/0.09841, allocations: 51.98 MB / 429.9 MB, free: 19.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.003923/0.1024, allocations: 3.166 MB / 433.1 MB, free: 16.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002939/0.1054, allocations: 2.122 MB / 435.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002544/0.1056, allocations: 11.94 kB / 435.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003946/0.1061, allocations: 95.22 kB / 435.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.1065, allocations: 146.9 kB / 435.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007304/0.1072, allocations: 417.1 kB / 435.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004182/0.1076, allocations: 0.6193 MB / 436.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.1079, allocations: 164.7 kB / 436.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.1081, allocations: 263.1 kB / 436.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.1084, allocations: 247 kB / 437.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.819e-05/0.1085, allocations: 48 kB / 437.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.1087, allocations: 163.9 kB / 437.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.1088, allocations: 115.6 kB / 437.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.109, allocations: 250.6 kB / 437.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000529/0.1095, allocations: 0.6465 MB / 438.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1096, allocations: 0 / 438.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1096, allocations: 0 / 438.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1096, allocations: 4 kB / 438.3 MB, free: 10.8 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.001202/0.1108, allocations: 0.8039 MB / 439.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.1108, allocations: 12.03 kB / 439.2 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.111, allocations: 60.36 kB / 439.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.1115, allocations: 384 kB / 439.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.004e-05/0.1115, allocations: 51.27 kB / 439.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-05/0.1116, allocations: 43.84 kB / 439.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006876/0.1123, allocations: 465.5 kB / 440.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.1123, allocations: 3.938 kB / 440.1 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.998e-05/0.1124, allocations: 19.98 kB / 440.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1124, allocations: 8 kB / 440.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006213/0.113, allocations: 327.8 kB / 440.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.1147, allocations: 1.331 MB / 441.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008456/0.1156, allocations: 383.8 kB / 442.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/0.1159, allocations: 152.8 kB / 442.3 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.264e-05/0.1159, allocations: 8.516 kB / 442.4 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004267/0.1164, allocations: 243.1 kB / 442.6 MB, free: 6.328 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.873e-06/0.1164, allocations: 0 / 442.6 MB, free: 6.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003556/0.1199, allocations: 1.769 MB / 444.4 MB, free: 4.441 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.12, allocations: 170.2 kB / 444.5 MB, free: 4.238 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.1203, allocations: 324.5 kB / 444.8 MB, free: 3.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.1204, allocations: 41.69 kB / 444.9 MB, free: 3.863 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.225e-05/0.1205, allocations: 208.5 kB / 445.1 MB, free: 3.656 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.149e-05/0.1205, allocations: 130.2 kB / 445.2 MB, free: 3.527 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.1207, allocations: 94.02 kB / 445.3 MB, free: 3.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.458e-05/0.1207, allocations: 346.8 kB / 445.6 MB, free: 3.082 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.1211, allocations: 170.5 kB / 445.8 MB, free: 2.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003706/0.1215, allocations: 259.4 kB / 446.1 MB, free: 2.621 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/0.122, allocations: 359.7 kB / 446.4 MB, free: 2.242 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.122, allocations: 0 / 446.4 MB, free: 2.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001042/0.1231, allocations: 0.5522 MB / 447 MB, free: 1.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1231, allocations: 5.25 kB / 447 MB, free: 1.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.1231, allocations: 4.219 kB / 447 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003991/0.1235, allocations: 161.4 kB / 447.1 MB, free: 1.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.1238, allocations: 79.89 kB / 447.2 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000531/0.1244, allocations: 0.7121 MB / 447.9 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.1247, allocations: 60 kB / 448 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.1248, allocations: 16 kB / 448 MB, free: 0.625 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003036/0.1251, allocations: 248.9 kB / 448.2 MB, free: 388 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002536/0.1253, allocations: 231.4 kB / 448.5 MB, free: 112 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004497/0.1258, allocations: 295.8 kB / 448.8 MB, free: 15.79 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.1258, allocations: 3.938 kB / 448.8 MB, free: 15.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009941/0.1268, allocations: 493.9 kB / 449.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1268, allocations: 11.98 kB / 449.3 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.1269, allocations: 0 / 449.3 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003779/0.1272, allocations: 164.8 kB / 449.4 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.1275, allocations: 63.84 kB / 449.5 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006315/0.1281, allocations: 0.7085 MB / 450.2 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.1285, allocations: 48.02 kB / 450.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.1285, allocations: 15.98 kB / 450.3 MB, free: 14.26 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.0001849/0.1287, allocations: 212.1 kB / 450.5 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/0.1288, allocations: 39.53 kB / 450.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.1289, allocations: 52 kB / 450.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.129, allocations: 4 kB / 450.6 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.129, allocations: 4 kB / 450.6 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.129, allocations: 3.984 kB / 450.6 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/0.1312, allocations: 1.158 MB / 451.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.1312, allocations: 4 kB / 451.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.1315, allocations: 59.91 kB / 451.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00038/0.1319, allocations: 152.8 kB / 451.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.132, allocations: 11.98 kB / 451.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000722/0.1327, allocations: 0.6849 MB / 452.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1327, allocations: 0 / 452.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.1344, allocations: 0.7964 MB / 453.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002189/0.1347, allocations: 152.5 kB / 453.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.1348, allocations: 12 kB / 453.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.1352, allocations: 59.81 kB / 453.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.1353, allocations: 63.8 kB / 453.7 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.1354, allocations: 19.98 kB / 453.7 MB, free: 10.63 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002744/0.1357, allocations: 231.1 kB / 453.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1357, allocations: 4 kB / 454 MB, free: 10.4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007073/0.1364, allocations: 172 kB / 454.1 MB, free: 10.23 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.001108/0.1375, allocations: 485.1 kB / 454.6 MB, free: 9.934 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.1391, allocations: 0.6362 MB / 455.2 MB, free: 9.297 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.1391, allocations: 0 / 455.2 MB, free: 9.297 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006001/0.1398, allocations: 236.4 kB / 455.5 MB, free: 9.066 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006278/0.1404, allocations: 104.2 kB / 455.6 MB, free: 8.973 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.1425, allocations: 0.9519 MB / 456.5 MB, free: 7.984 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.1429, allocations: 0.8122 MB / 457.3 MB, free: 7.145 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000243/0.1432, allocations: 63.23 kB / 457.4 MB, free: 7.078 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.1433, allocations: 39.42 kB / 457.4 MB, free: 7.039 MB / 318.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1433, allocations: 0 / 457.4 MB, free: 7.039 MB / 318.1 MB Notification: Performance of Templates: time 0.01591/0.1592, allocations: 9.373 MB / 466.8 MB, free: 13.71 MB / 334.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.FirstEV.makefile (rm -f EHPTexamples_EHPTexamples.EV.FirstEV.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.FirstEV.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.FirstEV.pipe >> ../files/EHPTexamples_EHPTexamples.EV.FirstEV.sim & ./EHPTexamples_EHPTexamples.EV.FirstEV -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.FirstEV.pipe 2>&1)