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.05582/0.05583, allocations: 8.042 MB / 24.35 MB, free: 400 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.000971/0.0009711, allocations: 117 kB / 26.94 MB, free: 3.109 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.001124/0.001124, allocations: 190.5 kB / 29.63 MB, free: 436 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.286/1.286, allocations: 222.9 MB / 255.1 MB, free: 4.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01458/0.01458, allocations: 3.125 MB / 310.1 MB, free: 2.266 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 91.86 kB / 430.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08236/0.08409, allocations: 51.97 MB / 482.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.004075/0.0882, allocations: 3.183 MB / 485.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002819/0.09103, allocations: 2.126 MB / 487.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.09123, allocations: 11.94 kB / 487.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.09158, allocations: 95.22 kB / 487.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003923/0.09199, allocations: 150.9 kB / 487.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008794/0.09288, allocations: 414.6 kB / 488.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006567/0.09355, allocations: 0.6231 MB / 489 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002657/0.09382, allocations: 160.8 kB / 489.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003609/0.09419, allocations: 263.1 kB / 489.4 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004002/0.0946, allocations: 250.9 kB / 489.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.09471, allocations: 52 kB / 489.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003175/0.09504, allocations: 159.9 kB / 489.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.09519, allocations: 123.6 kB / 489.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.09544, allocations: 246.7 kB / 490.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007379/0.09619, allocations: 0.6464 MB / 490.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.09621, allocations: 4 kB / 490.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.09621, allocations: 0 / 490.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.09623, allocations: 0 / 490.8 MB, free: 2.172 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.001524/0.09776, allocations: 0.804 MB / 491.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.0978, allocations: 11.97 kB / 491.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.09802, allocations: 56.3 kB / 491.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005851/0.09861, allocations: 380.2 kB / 492.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.858e-05/0.09869, allocations: 55.27 kB / 492.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.09877, allocations: 39.84 kB / 492.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008766/0.09965, allocations: 469.4 kB / 492.6 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.09969, allocations: 4 kB / 492.6 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.223e-05/0.09974, allocations: 16 kB / 492.6 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.09976, allocations: 8 kB / 492.7 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007792/0.1005, allocations: 327.8 kB / 493 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/0.1028, allocations: 1.339 MB / 494.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.1038, allocations: 387 kB / 494.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003503/0.1042, allocations: 144.8 kB / 494.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.1042, allocations: 8 kB / 494.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004963/0.1047, allocations: 239.7 kB / 495.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.853e-06/0.1047, allocations: 3.938 kB / 495.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.004262/0.109, allocations: 1.769 MB / 496.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/0.1091, allocations: 166.2 kB / 497 MB, free: 11.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.1095, allocations: 328.5 kB / 497.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.68e-05/0.1095, allocations: 37.7 kB / 497.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.1097, allocations: 212.5 kB / 497.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.1098, allocations: 138.2 kB / 497.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.1099, allocations: 86.03 kB / 497.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.11, allocations: 346.8 kB / 498.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003895/0.1104, allocations: 166.5 kB / 498.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004741/0.1109, allocations: 279.4 kB / 498.6 MB, free: 9.984 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007221/0.1117, allocations: 355.6 kB / 498.9 MB, free: 9.609 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1117, allocations: 4 kB / 498.9 MB, free: 9.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001272/0.113, allocations: 0.5523 MB / 499.5 MB, free: 9.043 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.113, allocations: 8 kB / 499.5 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.113, allocations: 0 / 499.5 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004415/0.1134, allocations: 160.8 kB / 499.6 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.1138, allocations: 83.83 kB / 499.7 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006619/0.1144, allocations: 0.7125 MB / 0.4887 GB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.1149, allocations: 51.84 kB / 0.4888 GB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.631e-05/0.1149, allocations: 23.98 kB / 0.4888 GB, free: 7.984 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003678/0.1153, allocations: 244.9 kB / 0.489 GB, free: 7.742 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003294/0.1156, allocations: 239.5 kB / 0.4892 GB, free: 7.469 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004661/0.1161, allocations: 283.8 kB / 0.4895 GB, free: 7.164 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.734e-06/0.1161, allocations: 0 / 0.4895 GB, free: 7.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001012/0.1171, allocations: 497.7 kB / 0.49 GB, free: 6.668 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.1172, allocations: 4 kB / 0.49 GB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1172, allocations: 4 kB / 0.49 GB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003766/0.1175, allocations: 164.9 kB / 0.4901 GB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.1178, allocations: 59.91 kB / 0.4902 GB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006239/0.1184, allocations: 0.7162 MB / 0.4909 GB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/0.1188, allocations: 51.97 kB / 0.491 GB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.1189, allocations: 16 kB / 0.491 GB, free: 5.629 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.0001602/0.119, allocations: 212.2 kB / 0.4912 GB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-05/0.1191, allocations: 35.53 kB / 0.4912 GB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.1192, allocations: 56.05 kB / 0.4913 GB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.1192, allocations: 3.938 kB / 0.4913 GB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1192, allocations: 0 / 0.4913 GB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.1194, allocations: 152.6 kB / 0.4914 GB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-05/0.1195, allocations: 8 kB / 0.4914 GB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.1199, allocations: 63.92 kB / 0.4915 GB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.12, allocations: 47.92 kB / 0.4915 GB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001558/0.1216, allocations: 0.5796 MB / 0.4921 GB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001365/0.123, allocations: 0.7614 MB / 0.4928 GB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003854/0.1234, allocations: 159.9 kB / 0.493 GB, free: 3.508 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002359/0.1236, allocations: 239 kB / 0.4932 GB, free: 3.273 MB / 366.1 MB Notification: Performance of Backend: time 4.01e-07/0.1236, allocations: 0 / 0.4932 GB, free: 3.273 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002657/0.1263, allocations: 1.01 MB / 0.4942 GB, free: 2.465 MB / 366.1 MB Notification: Performance of SimCode: time 0.001589/0.1279, allocations: 1.366 MB / 0.4955 GB, free: 1.051 MB / 366.1 MB Notification: Performance of Templates: time 0.01485/0.1427, allocations: 9.884 MB / 0.5052 GB, free: 7.215 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)