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.04316/0.04316, allocations: 8.359 MB / 24.67 MB, free: 104 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.0009931/0.0009931, allocations: 106 kB / 27.32 MB, free: 2.715 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.001171/0.001171, allocations: 191.2 kB / 30.09 MB, free: 6.5 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.356/1.356, allocations: 222.9 MB / 255.6 MB, free: 4.281 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01286/0.01286, allocations: 3.128 MB / 310.7 MB, free: 1.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 99.83 kB / 431.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08127/0.08305, allocations: 52.03 MB / 483.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.004267/0.08735, allocations: 3.165 MB / 486.4 MB, free: 7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002895/0.09026, allocations: 2.137 MB / 488.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.09043, allocations: 11.94 kB / 488.5 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.09079, allocations: 99.2 kB / 488.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.09116, allocations: 146.9 kB / 488.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007545/0.09192, allocations: 418.6 kB / 489.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005838/0.09252, allocations: 0.6231 MB / 489.8 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.09278, allocations: 168.7 kB / 489.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.09307, allocations: 259.1 kB / 490.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.09341, allocations: 247 kB / 490.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.407e-05/0.09349, allocations: 52 kB / 490.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.09375, allocations: 167.8 kB / 490.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.09389, allocations: 119.7 kB / 490.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.09411, allocations: 246.7 kB / 491 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006799/0.0948, allocations: 0.6422 MB / 491.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.09481, allocations: 4 kB / 491.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09482, allocations: 0 / 491.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.09483, allocations: 0 / 491.7 MB, free: 1.668 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.001361/0.0962, allocations: 0.8188 MB / 492.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.09624, allocations: 8.031 kB / 492.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.0964, allocations: 52.61 kB / 492.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000511/0.09692, allocations: 392.3 kB / 492.9 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.677e-05/0.097, allocations: 59.25 kB / 493 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.962e-05/0.09708, allocations: 43.89 kB / 493 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008184/0.0979, allocations: 457.6 kB / 493.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.09793, allocations: 11.92 kB / 493.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/0.09798, allocations: 16 kB / 493.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.098, allocations: 8 kB / 493.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007695/0.09877, allocations: 327.8 kB / 493.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002074/0.1009, allocations: 1.343 MB / 495.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.1019, allocations: 393.4 kB / 495.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003508/0.1023, allocations: 148.8 kB / 495.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.242e-05/0.1023, allocations: 7.984 kB / 495.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004873/0.1028, allocations: 239.7 kB / 495.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 3.507e-06/0.1028, allocations: 0 / 495.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.004353/0.1072, allocations: 1.769 MB / 497.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.1073, allocations: 170.1 kB / 497.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/0.1076, allocations: 324.5 kB / 498.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.1077, allocations: 37.7 kB / 498.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.1078, allocations: 216.8 kB / 498.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.1079, allocations: 138.9 kB / 498.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.1081, allocations: 94.06 kB / 498.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1082, allocations: 342.8 kB / 499 MB, free: 9.918 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.1086, allocations: 162.5 kB / 499.2 MB, free: 9.758 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004596/0.1091, allocations: 275.4 kB / 499.4 MB, free: 9.445 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000733/0.1098, allocations: 359.6 kB / 499.8 MB, free: 9.066 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1098, allocations: 4 kB / 499.8 MB, free: 9.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001275/0.1111, allocations: 0.5525 MB / 0.4886 GB, free: 8.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1112, allocations: 10.66 kB / 0.4886 GB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1112, allocations: 0 / 0.4886 GB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004351/0.1116, allocations: 160.9 kB / 0.4888 GB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.1119, allocations: 75.94 kB / 0.4888 GB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006777/0.1126, allocations: 0.7201 MB / 0.4895 GB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/0.113, allocations: 63.84 kB / 0.4896 GB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.1131, allocations: 16 kB / 0.4896 GB, free: 7.438 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003672/0.1135, allocations: 248.9 kB / 0.4899 GB, free: 7.191 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003237/0.1138, allocations: 231.5 kB / 0.4901 GB, free: 6.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004722/0.1143, allocations: 291.8 kB / 0.4904 GB, free: 6.617 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-06/0.1143, allocations: 3.938 kB / 0.4904 GB, free: 6.613 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001008/0.1153, allocations: 489.8 kB / 0.4908 GB, free: 6.125 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.1153, allocations: 4 kB / 0.4908 GB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1153, allocations: 4 kB / 0.4908 GB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003962/0.1157, allocations: 168.9 kB / 0.491 GB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.116, allocations: 67.84 kB / 0.4911 GB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006261/0.1166, allocations: 0.7045 MB / 0.4917 GB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.117, allocations: 51.97 kB / 0.4918 GB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.117, allocations: 16 kB / 0.4918 GB, free: 5.086 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.0001559/0.1172, allocations: 212.2 kB / 0.492 GB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.212e-05/0.1173, allocations: 43.66 kB / 0.4921 GB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.1174, allocations: 52.06 kB / 0.4921 GB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1174, allocations: 3.938 kB / 0.4921 GB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1174, allocations: 0 / 0.4921 GB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.1176, allocations: 152.8 kB / 0.4923 GB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.816e-05/0.1177, allocations: 16.11 kB / 0.4923 GB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/0.1181, allocations: 55.94 kB / 0.4923 GB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.1182, allocations: 51.92 kB / 0.4924 GB, free: 4.484 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001573/0.1198, allocations: 0.5836 MB / 0.4929 GB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001399/0.1212, allocations: 0.7578 MB / 0.4937 GB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003886/0.1216, allocations: 167.8 kB / 0.4938 GB, free: 2.949 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002348/0.1218, allocations: 231.1 kB / 0.4941 GB, free: 2.723 MB / 366.1 MB Notification: Performance of Backend: time 6.81e-07/0.1219, allocations: 8 kB / 0.4941 GB, free: 2.715 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002648/0.1245, allocations: 0.9902 MB / 0.495 GB, free: 1.922 MB / 366.1 MB Notification: Performance of SimCode: time 0.001862/0.1264, allocations: 1.379 MB / 0.4964 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of Templates: time 0.01653/0.1429, allocations: 9.907 MB / 0.5061 GB, free: 6.637 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)