Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_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_latest_EHPTexamples.EV.FirstEV") translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.FirstEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05167/0.05167, allocations: 8.031 MB / 23.67 MB, free: 200 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.0009364/0.0009364, allocations: 109.9 kB / 26.26 MB, free: 3.164 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.001132/0.001132, allocations: 198.4 kB / 28.94 MB, free: 500 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.22/1.22, allocations: 222.9 MB / 254.4 MB, free: 4.652 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01212/0.01212, allocations: 3.122 MB / 309.4 MB, free: 2.262 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 91.86 kB / 429.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.074/0.07561, allocations: 51.97 MB / 481.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.004099/0.07973, allocations: 3.173 MB / 484.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002867/0.08262, allocations: 2.137 MB / 487 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002416/0.08288, allocations: 4 kB / 487 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003762/0.08326, allocations: 99.16 kB / 487.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004179/0.0837, allocations: 154.9 kB / 487.2 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008083/0.08452, allocations: 414.3 kB / 487.6 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005933/0.08512, allocations: 0.6231 MB / 488.3 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.08537, allocations: 152.8 kB / 488.4 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.0857, allocations: 271.1 kB / 488.7 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003424/0.08605, allocations: 250.9 kB / 488.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.41e-05/0.08613, allocations: 48 kB / 489 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002493/0.08639, allocations: 163.9 kB / 489.1 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.08652, allocations: 123.6 kB / 489.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.08673, allocations: 234.8 kB / 489.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006365/0.08737, allocations: 0.6542 MB / 490.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.08739, allocations: 0 / 490.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.08739, allocations: 0 / 490.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.08741, allocations: 0 / 490.1 MB, free: 2.051 MB / 350.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.001322/0.08874, allocations: 0.8065 MB / 490.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.08878, allocations: 16.02 kB / 491 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.08895, allocations: 48.38 kB / 491 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/0.08945, allocations: 384.1 kB / 491.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-05/0.08952, allocations: 55.27 kB / 491.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.875e-05/0.08959, allocations: 43.84 kB / 491.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008024/0.0904, allocations: 469.4 kB / 491.9 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.09043, allocations: 4 kB / 491.9 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.347e-05/0.09048, allocations: 16 kB / 492 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.09049, allocations: 8 kB / 492 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007502/0.09125, allocations: 331.7 kB / 492.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.09327, allocations: 1.331 MB / 493.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009798/0.09426, allocations: 387 kB / 494 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003419/0.09461, allocations: 152.8 kB / 494.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.09465, allocations: 4 kB / 494.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004664/0.09513, allocations: 247.5 kB / 494.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.833e-06/0.09514, allocations: 0 / 494.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.004054/0.0992, allocations: 1.761 MB / 496.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/0.09928, allocations: 166.2 kB / 496.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.09962, allocations: 328.5 kB / 496.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/0.09967, allocations: 37.7 kB / 496.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.0998, allocations: 212.5 kB / 496.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.09991, allocations: 134.2 kB / 497 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.1001, allocations: 90.02 kB / 497.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1002, allocations: 346.8 kB / 497.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003955/0.1006, allocations: 166.5 kB / 497.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/0.101, allocations: 275.4 kB / 497.9 MB, free: 9.867 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007317/0.1018, allocations: 359.6 kB / 498.2 MB, free: 9.488 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1018, allocations: 4 kB / 498.2 MB, free: 9.484 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001267/0.1031, allocations: 0.5523 MB / 498.8 MB, free: 8.922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1031, allocations: 8 kB / 498.8 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1031, allocations: 0 / 498.8 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004453/0.1036, allocations: 172.7 kB / 499 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.1039, allocations: 75.89 kB / 499 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007042/0.1046, allocations: 0.7124 MB / 499.7 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00044/0.105, allocations: 51.84 kB / 499.8 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.1051, allocations: 23.98 kB / 499.8 MB, free: 7.859 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004335/0.1055, allocations: 244.9 kB / 0.4883 GB, free: 7.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003461/0.1059, allocations: 235.5 kB / 0.4886 GB, free: 7.348 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000483/0.1064, allocations: 287.8 kB / 0.4888 GB, free: 7.039 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.186e-06/0.1064, allocations: 0 / 0.4888 GB, free: 7.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001037/0.1075, allocations: 493.6 kB / 0.4893 GB, free: 6.547 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.1075, allocations: 4 kB / 0.4893 GB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1075, allocations: 4 kB / 0.4893 GB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003751/0.1079, allocations: 161 kB / 0.4895 GB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.1081, allocations: 67.91 kB / 0.4895 GB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005846/0.1087, allocations: 0.7122 MB / 0.4902 GB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003642/0.1091, allocations: 47.98 kB / 0.4903 GB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.1091, allocations: 19.98 kB / 0.4903 GB, free: 5.508 MB / 366.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.0001674/0.1093, allocations: 208.3 kB / 0.4905 GB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.68e-05/0.1094, allocations: 35.53 kB / 0.4905 GB, free: 5.262 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.1095, allocations: 56 kB / 0.4906 GB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1095, allocations: 4 kB / 0.4906 GB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1095, allocations: 4.125 kB / 0.4906 GB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.1095, allocations: 3.984 kB / 0.4906 GB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.1115, allocations: 1.165 MB / 0.4917 GB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1115, allocations: 0 / 0.4917 GB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.1119, allocations: 67.89 kB / 0.4918 GB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003375/0.1122, allocations: 148.8 kB / 0.4919 GB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.1122, allocations: 15.98 kB / 0.4919 GB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005742/0.1128, allocations: 0.6772 MB / 0.4926 GB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1128, allocations: 0 / 0.4926 GB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.1144, allocations: 0.7884 MB / 0.4934 GB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.1146, allocations: 156.5 kB / 0.4935 GB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.792e-05/0.1147, allocations: 12.06 kB / 0.4935 GB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.1151, allocations: 59.92 kB / 0.4936 GB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.1152, allocations: 51.92 kB / 0.4936 GB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.1153, allocations: 19.98 kB / 0.4937 GB, free: 1.895 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000225/0.1155, allocations: 231 kB / 0.4939 GB, free: 1.668 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1155, allocations: 0 / 0.4939 GB, free: 1.668 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006099/0.1161, allocations: 176 kB / 0.4941 GB, free: 1.496 MB / 366.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.001007/0.1171, allocations: 484.8 kB / 0.4945 GB, free: 1.191 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.1186, allocations: 0.6441 MB / 0.4951 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1186, allocations: 0 / 0.4951 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005617/0.1192, allocations: 227.9 kB / 0.4954 GB, free: 332 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.1198, allocations: 99.81 kB / 0.4955 GB, free: 240 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.1218, allocations: 0.9671 MB / 0.4964 GB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.1221, allocations: 0.82 MB / 0.4972 GB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002158/0.1223, allocations: 63.23 kB / 0.4973 GB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.861e-05/0.1224, allocations: 35.42 kB / 0.4973 GB, free: 14.29 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1224, allocations: 0 / 0.4973 GB, free: 14.29 MB / 382.1 MB Notification: Performance of Templates: time 0.01397/0.1364, allocations: 9.447 MB / 0.5065 GB, free: 4.895 MB / 382.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.FirstEV.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.FirstEV.sim & ./EHPTexamples_latest_EHPTexamples.EV.FirstEV -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.FirstEV.pipe 2>&1)