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.04938/0.04938, allocations: 8.034 MB / 23.67 MB, free: 272 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.0009465/0.0009469, allocations: 108.4 kB / 26.25 MB, free: 3.238 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.001129/0.001129, allocations: 187.4 kB / 28.94 MB, free: 0.5586 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 222.9 MB / 254.4 MB, free: 4.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01292/0.01292, allocations: 3.118 MB / 309.4 MB, free: 2.293 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 91.86 kB / 429.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08728/0.08886, allocations: 51.97 MB / 481.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.004128/0.09301, allocations: 3.184 MB / 484.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002936/0.09597, allocations: 2.126 MB / 487 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002709/0.09626, allocations: 11.94 kB / 487 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.09659, allocations: 95.16 kB / 487.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004074/0.09703, allocations: 151 kB / 487.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000798/0.09784, allocations: 418.9 kB / 487.6 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005923/0.09844, allocations: 0.6231 MB / 488.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.09868, allocations: 152.8 kB / 488.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003417/0.09903, allocations: 271.1 kB / 488.7 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003167/0.09935, allocations: 254.9 kB / 488.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.531e-05/0.09944, allocations: 48 kB / 489 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.09969, allocations: 155.9 kB / 489.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.09982, allocations: 127.6 kB / 489.3 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.1, allocations: 238.8 kB / 489.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006411/0.1007, allocations: 0.6542 MB / 490.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1007, allocations: 0 / 490.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1007, allocations: 0 / 490.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.1007, allocations: 0 / 490.1 MB, free: 2.199 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.001305/0.102, allocations: 0.8079 MB / 491 MB, free: 1.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.628e-05/0.1021, allocations: 8.031 kB / 491 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.1022, allocations: 52.38 kB / 491 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/0.1027, allocations: 388.1 kB / 491.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.644e-05/0.1028, allocations: 55.27 kB / 491.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.994e-05/0.1028, allocations: 43.84 kB / 491.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007833/0.1036, allocations: 473.4 kB / 491.9 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1037, allocations: 0 / 491.9 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.1037, allocations: 12 kB / 492 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.1037, allocations: 8 kB / 492 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007298/0.1045, allocations: 331.8 kB / 492.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.1064, allocations: 1.335 MB / 493.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009559/0.1074, allocations: 379 kB / 494 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/0.1077, allocations: 152.8 kB / 494.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.1078, allocations: 4 kB / 494.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004444/0.1082, allocations: 239.7 kB / 494.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 4.548e-06/0.1082, allocations: 0 / 494.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.003964/0.1122, allocations: 1.773 MB / 496.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.1123, allocations: 166.1 kB / 496.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.1126, allocations: 328.5 kB / 496.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/0.1127, allocations: 37.7 kB / 496.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.1128, allocations: 216.4 kB / 496.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.885e-05/0.1129, allocations: 130.2 kB / 497 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.113, allocations: 94.02 kB / 497.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1132, allocations: 342.8 kB / 497.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/0.1135, allocations: 166.5 kB / 497.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004339/0.114, allocations: 275.4 kB / 497.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006844/0.1147, allocations: 363.6 kB / 498.2 MB, free: 9.633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-06/0.1147, allocations: 0 / 498.2 MB, free: 9.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001221/0.1159, allocations: 0.5523 MB / 498.8 MB, free: 9.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1159, allocations: 7.984 kB / 498.8 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1159, allocations: 4 kB / 498.8 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003897/0.1163, allocations: 160.9 kB / 498.9 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.1166, allocations: 75.89 kB / 499 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006097/0.1172, allocations: 0.7085 MB / 499.7 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.1176, allocations: 59.88 kB / 499.8 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.1177, allocations: 24.05 kB / 499.8 MB, free: 8.008 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003496/0.118, allocations: 244.9 kB / 0.4883 GB, free: 7.766 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003079/0.1184, allocations: 231.5 kB / 0.4886 GB, free: 7.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004392/0.1188, allocations: 287.8 kB / 0.4888 GB, free: 7.191 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.1188, allocations: 4 kB / 0.4888 GB, free: 7.188 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009543/0.1198, allocations: 493.6 kB / 0.4893 GB, free: 6.695 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.1198, allocations: 8 kB / 0.4893 GB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.1198, allocations: 0 / 0.4893 GB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003547/0.1202, allocations: 156.9 kB / 0.4895 GB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.1204, allocations: 67.91 kB / 0.4895 GB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005867/0.121, allocations: 0.7201 MB / 0.4902 GB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/0.1213, allocations: 43.94 kB / 0.4903 GB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.1214, allocations: 16 kB / 0.4903 GB, free: 5.66 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.0001442/0.1215, allocations: 212.3 kB / 0.4905 GB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.1216, allocations: 39.53 kB / 0.4905 GB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.1217, allocations: 52 kB / 0.4906 GB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1217, allocations: 4 kB / 0.4906 GB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1217, allocations: 0 / 0.4906 GB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1217, allocations: 7.984 kB / 0.4906 GB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.1237, allocations: 1.157 MB / 0.4917 GB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1237, allocations: 4.094 kB / 0.4917 GB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.124, allocations: 67.95 kB / 0.4918 GB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003291/0.1243, allocations: 140.8 kB / 0.4919 GB, free: 3.906 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.1243, allocations: 15.92 kB / 0.4919 GB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005537/0.1249, allocations: 0.6771 MB / 0.4926 GB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1249, allocations: 96 / 0.4926 GB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.1265, allocations: 0.7962 MB / 0.4934 GB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.1267, allocations: 156.5 kB / 0.4935 GB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.792e-05/0.1267, allocations: 20.16 kB / 0.4935 GB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.1271, allocations: 55.98 kB / 0.4936 GB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.1272, allocations: 55.91 kB / 0.4936 GB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.1273, allocations: 15.98 kB / 0.4937 GB, free: 2.043 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002261/0.1275, allocations: 235 kB / 0.4939 GB, free: 1.812 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1275, allocations: 0 / 0.4939 GB, free: 1.812 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005799/0.1281, allocations: 176 kB / 0.4941 GB, free: 1.641 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.0009573/0.1291, allocations: 483.2 kB / 0.4945 GB, free: 1.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.1305, allocations: 0.6395 MB / 0.4951 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1305, allocations: 4.875 kB / 0.4951 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005601/0.1311, allocations: 227.9 kB / 0.4954 GB, free: 484 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.1317, allocations: 98.84 kB / 0.4955 GB, free: 392 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.1336, allocations: 0.9709 MB / 0.4964 GB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.1339, allocations: 0.8122 MB / 0.4972 GB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002043/0.1341, allocations: 59.19 kB / 0.4973 GB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.9e-05/0.1342, allocations: 39.42 kB / 0.4973 GB, free: 14.44 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1342, allocations: 0 / 0.4973 GB, free: 14.44 MB / 382.1 MB Notification: Performance of Templates: time 0.01507/0.1493, allocations: 9.45 MB / 0.5065 GB, free: 5.043 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)