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/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) 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/package.mo): time 0.0438/0.0438, allocations: 8.036 MB / 24.34 MB, free: 392 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.001/0.001, allocations: 100.2 kB / 26.92 MB, free: 3.117 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.001103/0.001104, allocations: 198.5 kB / 29.62 MB, free: 448 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.326/1.326, allocations: 222.9 MB / 255.1 MB, free: 4.676 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/package.mo): time 0.01291/0.01291, allocations: 3.128 MB / 310.1 MB, free: 2.312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 99.83 kB / 430.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08004/0.08184, allocations: 51.96 MB / 482.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.004404/0.08627, allocations: 3.179 MB / 485.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003261/0.08956, allocations: 2.122 MB / 487.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002965/0.08988, allocations: 11.94 kB / 487.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004002/0.09029, allocations: 99.14 kB / 487.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004816/0.09079, allocations: 155 kB / 487.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009101/0.09172, allocations: 411 kB / 488.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006944/0.09242, allocations: 0.627 MB / 489 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002663/0.0927, allocations: 156.7 kB / 489.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003614/0.09307, allocations: 267.1 kB / 489.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003974/0.09347, allocations: 254.9 kB / 489.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.493e-05/0.09358, allocations: 55.94 kB / 489.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.0939, allocations: 159.9 kB / 489.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.09404, allocations: 123.6 kB / 490 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.09427, allocations: 242.7 kB / 490.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007917/0.09507, allocations: 0.6421 MB / 490.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.09508, allocations: 0 / 490.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.09509, allocations: 0 / 490.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.09511, allocations: 0 / 490.8 MB, free: 2.211 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.001466/0.09658, allocations: 0.8227 MB / 491.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.09662, allocations: 8.031 kB / 491.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.09681, allocations: 52.61 kB / 491.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.09736, allocations: 388.4 kB / 492.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.533e-05/0.09744, allocations: 59.25 kB / 492.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.446e-05/0.09752, allocations: 43.89 kB / 492.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008304/0.09836, allocations: 465.5 kB / 492.7 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.09839, allocations: 4 kB / 492.7 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-05/0.09844, allocations: 12 kB / 492.7 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.09845, allocations: 8 kB / 492.7 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007892/0.09925, allocations: 335.8 kB / 493 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002156/0.1014, allocations: 1.347 MB / 494.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.1024, allocations: 379 kB / 494.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003625/0.1028, allocations: 148.8 kB / 494.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.506e-05/0.1029, allocations: 4.312 kB / 494.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004877/0.1034, allocations: 243.6 kB / 495.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 3.567e-06/0.1034, allocations: 0 / 495.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.004219/0.1076, allocations: 1.773 MB / 496.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/0.1077, allocations: 166.2 kB / 497 MB, free: 11.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.108, allocations: 324.5 kB / 497.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/0.1081, allocations: 37.7 kB / 497.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.1082, allocations: 216.8 kB / 497.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.1084, allocations: 138.9 kB / 497.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.1085, allocations: 94.06 kB / 497.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1086, allocations: 346.8 kB / 498.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/0.109, allocations: 162.5 kB / 498.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.1095, allocations: 271.4 kB / 498.6 MB, free: 9.996 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007162/0.1102, allocations: 367.6 kB / 499 MB, free: 9.609 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1102, allocations: 0 / 499 MB, free: 9.609 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001276/0.1115, allocations: 0.5447 MB / 499.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1115, allocations: 8 kB / 499.5 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1115, allocations: 0 / 499.5 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004408/0.112, allocations: 168.2 kB / 499.7 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.1123, allocations: 83.88 kB / 499.8 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006566/0.113, allocations: 0.7085 MB / 0.4887 GB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.1134, allocations: 63.86 kB / 0.4888 GB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.1134, allocations: 16 kB / 0.4888 GB, free: 7.988 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003791/0.1138, allocations: 248.9 kB / 0.489 GB, free: 7.742 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003278/0.1141, allocations: 231.5 kB / 0.4893 GB, free: 7.477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004741/0.1146, allocations: 291.8 kB / 0.4895 GB, free: 7.164 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/0.1146, allocations: 0 / 0.4895 GB, free: 7.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001056/0.1157, allocations: 497.7 kB / 0.49 GB, free: 6.668 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1157, allocations: 8 kB / 0.49 GB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.1157, allocations: 0 / 0.49 GB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004037/0.1161, allocations: 169 kB / 0.4902 GB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.1164, allocations: 63.91 kB / 0.4903 GB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006469/0.117, allocations: 0.7123 MB / 0.4909 GB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.1174, allocations: 47.98 kB / 0.491 GB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.1174, allocations: 12 kB / 0.491 GB, free: 5.633 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.0001759/0.1176, allocations: 216.4 kB / 0.4912 GB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.418e-05/0.1177, allocations: 47.72 kB / 0.4913 GB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.1179, allocations: 48.06 kB / 0.4913 GB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.1179, allocations: 4.031 kB / 0.4913 GB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1179, allocations: 3.984 kB / 0.4913 GB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.1181, allocations: 152.8 kB / 0.4915 GB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.838e-05/0.1181, allocations: 16 kB / 0.4915 GB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/0.1185, allocations: 51.94 kB / 0.4915 GB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.1186, allocations: 51.92 kB / 0.4916 GB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001546/0.1202, allocations: 0.5858 MB / 0.4921 GB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00134/0.1215, allocations: 0.7618 MB / 0.4929 GB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003727/0.1219, allocations: 159.9 kB / 0.493 GB, free: 3.496 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002437/0.1222, allocations: 235.1 kB / 0.4933 GB, free: 3.266 MB / 366.1 MB Notification: Performance of Backend: time 6.21e-07/0.1222, allocations: 0 / 0.4933 GB, free: 3.266 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002697/0.1249, allocations: 1.006 MB / 0.4942 GB, free: 2.461 MB / 366.1 MB Notification: Performance of SimCode: time 0.001678/0.1266, allocations: 1.361 MB / 0.4956 GB, free: 1.047 MB / 366.1 MB Notification: Performance of Templates: time 0.01638/0.143, allocations: 9.915 MB / 0.5053 GB, free: 7.18 MB / 382.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 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.FirstEV.pipe 2>&1)