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.06792/0.06792, allocations: 8.032 MB / 23.67 MB, free: 264 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.001389/0.001389, allocations: 109.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.002088/0.002088, allocations: 194.8 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.385/1.385, allocations: 222.9 MB / 254.4 MB, free: 4.676 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.0123/0.0123, allocations: 3.123 MB / 309.4 MB, free: 2.32 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 91.86 kB / 429.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1117, allocations: 51.97 MB / 481.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.004414/0.1161, allocations: 3.165 MB / 484.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003252/0.1194, allocations: 2.134 MB / 487 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/0.1197, allocations: 4 kB / 487 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003343/0.12, allocations: 107.1 kB / 487.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000393/0.1205, allocations: 150.9 kB / 487.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008245/0.1213, allocations: 406.4 kB / 487.6 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005631/0.1219, allocations: 0.627 MB / 488.3 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.1221, allocations: 164.7 kB / 488.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002669/0.1224, allocations: 267.1 kB / 488.7 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002851/0.1227, allocations: 250.9 kB / 488.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.291e-05/0.1228, allocations: 48 kB / 489 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.123, allocations: 167.9 kB / 489.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.1232, allocations: 119.6 kB / 489.3 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.1234, allocations: 238.8 kB / 489.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006876/0.1241, allocations: 0.646 MB / 490.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1241, allocations: 0 / 490.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1241, allocations: 0 / 490.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1241, allocations: 4 kB / 490.1 MB, free: 2.227 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.001259/0.1254, allocations: 0.8213 MB / 491 MB, free: 1.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.577e-05/0.1254, allocations: 16.03 kB / 491 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.1256, allocations: 52.61 kB / 491 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.1261, allocations: 384.4 kB / 491.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-05/0.1261, allocations: 59.27 kB / 491.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.396e-05/0.1262, allocations: 47.88 kB / 491.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000765/0.127, allocations: 461.5 kB / 492 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.127, allocations: 4 kB / 492 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.038e-05/0.127, allocations: 12 kB / 492 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.1271, allocations: 12 kB / 492 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007379/0.1278, allocations: 335.7 kB / 492.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.1298, allocations: 1.335 MB / 493.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009464/0.1307, allocations: 387 kB / 494 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.1311, allocations: 152.8 kB / 494.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.1311, allocations: 8.297 kB / 494.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000457/0.1316, allocations: 239.6 kB / 494.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.663e-06/0.1316, allocations: 4 kB / 494.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.004655/0.1363, allocations: 1.769 MB / 496.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.595e-05/0.1364, allocations: 166.2 kB / 496.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004826/0.1369, allocations: 324.5 kB / 496.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.372e-05/0.1369, allocations: 37.7 kB / 496.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.1371, allocations: 220.7 kB / 496.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.1373, allocations: 138.9 kB / 497.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.1374, allocations: 86.08 kB / 497.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1376, allocations: 346.8 kB / 497.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005157/0.1381, allocations: 170.5 kB / 497.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004749/0.1386, allocations: 275.4 kB / 497.9 MB, free: 10 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007833/0.1394, allocations: 355.6 kB / 498.3 MB, free: 9.625 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1394, allocations: 4 kB / 498.3 MB, free: 9.621 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001228/0.1407, allocations: 0.5485 MB / 498.8 MB, free: 9.062 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1407, allocations: 8 kB / 498.8 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1407, allocations: 224 / 498.8 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003921/0.1411, allocations: 168.6 kB / 499 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.1414, allocations: 75.89 kB / 499.1 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006263/0.142, allocations: 0.7124 MB / 499.8 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.1424, allocations: 63.98 kB / 499.8 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.1425, allocations: 20 kB / 499.9 MB, free: 7.996 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003699/0.1429, allocations: 248.9 kB / 0.4884 GB, free: 7.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000314/0.1432, allocations: 227.5 kB / 0.4886 GB, free: 7.488 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004484/0.1436, allocations: 295.8 kB / 0.4889 GB, free: 7.172 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.1437, allocations: 0 / 0.4889 GB, free: 7.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009751/0.1446, allocations: 489.9 kB / 0.4893 GB, free: 6.684 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.1447, allocations: 8 kB / 0.4893 GB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1447, allocations: 4 kB / 0.4894 GB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000376/0.145, allocations: 168.7 kB / 0.4895 GB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.1453, allocations: 59.92 kB / 0.4896 GB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006273/0.1459, allocations: 0.7084 MB / 0.4903 GB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.1463, allocations: 56 kB / 0.4903 GB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.1463, allocations: 19.98 kB / 0.4903 GB, free: 5.637 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.0001814/0.1465, allocations: 204.2 kB / 0.4905 GB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/0.1466, allocations: 43.7 kB / 0.4906 GB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.1467, allocations: 60 kB / 0.4906 GB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1467, allocations: 4 kB / 0.4906 GB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1467, allocations: 4 kB / 0.4906 GB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1467, allocations: 0 / 0.4906 GB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.1488, allocations: 1.154 MB / 0.4918 GB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1488, allocations: 0 / 0.4918 GB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.1491, allocations: 67.95 kB / 0.4918 GB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003304/0.1494, allocations: 140.8 kB / 0.492 GB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.1495, allocations: 24.08 kB / 0.492 GB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005671/0.15, allocations: 0.6851 MB / 0.4927 GB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.15, allocations: 0 / 0.4927 GB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.1516, allocations: 0.7964 MB / 0.4934 GB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.1518, allocations: 164.7 kB / 0.4936 GB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.69e-05/0.1519, allocations: 16.06 kB / 0.4936 GB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.1523, allocations: 51.94 kB / 0.4937 GB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.1524, allocations: 59.97 kB / 0.4937 GB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.184e-05/0.1525, allocations: 19.98 kB / 0.4937 GB, free: 2.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002759/0.1528, allocations: 227.1 kB / 0.4939 GB, free: 1.781 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1528, allocations: 0 / 0.4939 GB, free: 1.781 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007039/0.1535, allocations: 179.9 kB / 0.4941 GB, free: 1.605 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.001149/0.1546, allocations: 475.5 kB / 0.4946 GB, free: 1.312 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.1562, allocations: 0.6437 MB / 0.4952 GB, free: 0.668 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1562, allocations: 0 / 0.4952 GB, free: 0.668 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000595/0.1568, allocations: 240.5 kB / 0.4954 GB, free: 444 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005948/0.1574, allocations: 96.3 kB / 0.4955 GB, free: 352 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.1594, allocations: 0.9697 MB / 0.4965 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.1599, allocations: 0.8122 MB / 0.4973 GB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002259/0.1601, allocations: 63.22 kB / 0.4973 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.1602, allocations: 39.42 kB / 0.4974 GB, free: 14.39 MB / 382.1 MB Notification: Performance of SimCode: time 1.8e-07/0.1602, allocations: 0 / 0.4974 GB, free: 14.39 MB / 382.1 MB Notification: Performance of Templates: time 0.01645/0.1767, allocations: 9.46 MB / 0.5066 GB, free: 4.992 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)