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/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/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/package.mo): time 0.04843/0.04843, allocations: 8.026 MB / 24.33 MB, free: 344 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.0009827/0.0009829, allocations: 107.8 kB / 26.92 MB, free: 3.07 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.001175/0.001175, allocations: 194.8 kB / 29.62 MB, free: 396 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.416/1.416, allocations: 222.9 MB / 255.1 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.01252/0.01252, allocations: 3.12 MB / 310.1 MB, free: 2.297 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.00179, allocations: 91.84 kB / 430.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1026, allocations: 51.97 MB / 482.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.004941/0.1076, allocations: 3.169 MB / 485.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0044/0.112, allocations: 2.137 MB / 487.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005635/0.1126, allocations: 11.94 kB / 487.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005923/0.1132, allocations: 95.22 kB / 487.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006926/0.114, allocations: 154.9 kB / 487.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.115, allocations: 410.3 kB / 488.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008353/0.1159, allocations: 0.6232 MB / 488.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000312/0.1162, allocations: 160.7 kB / 489.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004584/0.1167, allocations: 267.1 kB / 489.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004588/0.1172, allocations: 247 kB / 489.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.1173, allocations: 48 kB / 489.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003675/0.1177, allocations: 167.8 kB / 489.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.1178, allocations: 119.6 kB / 489.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002761/0.1181, allocations: 246.8 kB / 490.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008992/0.119, allocations: 0.646 MB / 490.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.119, allocations: 4 kB / 490.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.119, allocations: 0 / 490.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.1191, allocations: 0 / 490.8 MB, free: 2.188 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.001627/0.1207, allocations: 0.8227 MB / 491.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1207, allocations: 8.031 kB / 491.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.1209, allocations: 56.61 kB / 491.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006126/0.1216, allocations: 384.3 kB / 492.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.182e-05/0.1217, allocations: 59.27 kB / 492.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.371e-05/0.1217, allocations: 39.89 kB / 492.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008825/0.1226, allocations: 461.5 kB / 492.6 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.1227, allocations: 0 / 492.6 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/0.1227, allocations: 23.94 kB / 492.7 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.1227, allocations: 8 kB / 492.7 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007789/0.1235, allocations: 331.8 kB / 493 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.1258, allocations: 1.343 MB / 494.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.1268, allocations: 399.8 kB / 494.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.1272, allocations: 144.8 kB / 494.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.631e-05/0.1272, allocations: 4 kB / 494.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004905/0.1277, allocations: 239.7 kB / 495.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 3.336e-06/0.1278, allocations: 0 / 495.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.00427/0.132, allocations: 1.777 MB / 496.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.205e-05/0.1321, allocations: 166.2 kB / 497 MB, free: 11.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003936/0.1325, allocations: 324.5 kB / 497.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/0.1326, allocations: 41.64 kB / 497.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.1328, allocations: 221.1 kB / 497.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.1329, allocations: 138.9 kB / 497.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.133, allocations: 86.08 kB / 497.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1332, allocations: 350.8 kB / 498.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004134/0.1336, allocations: 162.5 kB / 498.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/0.1341, allocations: 275 kB / 498.6 MB, free: 9.965 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007937/0.1349, allocations: 363.6 kB / 499 MB, free: 9.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.135, allocations: 0 / 499 MB, free: 9.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001378/0.1363, allocations: 0.5565 MB / 499.5 MB, free: 9.016 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.1364, allocations: 4 kB / 499.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.1364, allocations: 4 kB / 499.5 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004972/0.1369, allocations: 160.8 kB / 499.7 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.1372, allocations: 71.89 kB / 499.7 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007432/0.138, allocations: 0.7163 MB / 0.4887 GB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/0.1384, allocations: 55.94 kB / 0.4888 GB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.1385, allocations: 23.98 kB / 0.4888 GB, free: 7.957 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004183/0.1389, allocations: 248.9 kB / 0.489 GB, free: 7.711 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003378/0.1392, allocations: 231.4 kB / 0.4893 GB, free: 7.445 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004919/0.1397, allocations: 287.8 kB / 0.4895 GB, free: 7.137 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.204e-06/0.1398, allocations: 3.938 kB / 0.4895 GB, free: 7.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001034/0.1408, allocations: 493.8 kB / 0.49 GB, free: 6.641 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1408, allocations: 4 kB / 0.49 GB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1408, allocations: 4 kB / 0.49 GB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004038/0.1412, allocations: 160.9 kB / 0.4902 GB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.1415, allocations: 71.84 kB / 0.4902 GB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006651/0.1421, allocations: 0.7085 MB / 0.4909 GB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.1425, allocations: 47.94 kB / 0.491 GB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.1426, allocations: 20 kB / 0.491 GB, free: 5.602 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.0001978/0.1428, allocations: 204.3 kB / 0.4912 GB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.63e-05/0.1429, allocations: 47.66 kB / 0.4912 GB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.143, allocations: 60.05 kB / 0.4913 GB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.143, allocations: 4 kB / 0.4913 GB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.143, allocations: 4 kB / 0.4913 GB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.1431, allocations: 0 / 0.4913 GB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/0.1453, allocations: 1.154 MB / 0.4924 GB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1453, allocations: 0 / 0.4924 GB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.1456, allocations: 71.98 kB / 0.4925 GB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003702/0.146, allocations: 140.8 kB / 0.4926 GB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.146, allocations: 15.98 kB / 0.4927 GB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006344/0.1467, allocations: 0.6771 MB / 0.4933 GB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.1467, allocations: 4.031 kB / 0.4933 GB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.1484, allocations: 0.7964 MB / 0.4941 GB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.1486, allocations: 156.8 kB / 0.4942 GB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.429e-05/0.1487, allocations: 15.98 kB / 0.4943 GB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.149, allocations: 52 kB / 0.4943 GB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.1492, allocations: 63.94 kB / 0.4944 GB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/0.1492, allocations: 15.98 kB / 0.4944 GB, free: 1.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002683/0.1495, allocations: 235 kB / 0.4946 GB, free: 1.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1495, allocations: 0 / 0.4946 GB, free: 1.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007023/0.1502, allocations: 175.9 kB / 0.4948 GB, free: 1.578 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.00115/0.1514, allocations: 475.8 kB / 0.4952 GB, free: 1.285 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001608/0.153, allocations: 0.6437 MB / 0.4959 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.153, allocations: 0 / 0.4959 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005772/0.1536, allocations: 232.5 kB / 0.4961 GB, free: 424 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006154/0.1542, allocations: 99.66 kB / 0.4962 GB, free: 328 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.1566, allocations: 1.007 MB / 0.4972 GB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.157, allocations: 0.8083 MB / 0.498 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.1572, allocations: 43.42 kB / 0.498 GB, free: 14.39 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1572, allocations: 0 / 0.498 GB, free: 14.39 MB / 382.1 MB Notification: Performance of Templates: time 0.01135/0.1685, allocations: 7.7 MB / 0.5055 GB, free: 6.707 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)