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.0656/0.0656, allocations: 8.031 MB / 23.01 MB, free: 0.5391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007293/0.0007293, allocations: 91.03 kB / 25.57 MB, free: 3.688 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.0008998/0.0008995, allocations: 198.4 kB / 28.24 MB, free: 1.023 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.413/1.413, allocations: 223.3 MB / 254 MB, free: 5.695 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01198/0.01198, allocations: 3.106 MB / 310 MB, free: 0.8711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004716, allocations: 14.45 kB / 377.5 MB, free: 54.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1143, allocations: 52.98 MB / 430.4 MB, free: 17.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.002818/0.1172, allocations: 2.699 MB / 433.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.1194, allocations: 1.998 MB / 435.1 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.1196, allocations: 8 kB / 435.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.1199, allocations: 75.47 kB / 435.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.1202, allocations: 111.3 kB / 435.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.1208, allocations: 312 kB / 435.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.1213, allocations: 0.549 MB / 436.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.1215, allocations: 127.3 kB / 436.3 MB, free: 12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.1217, allocations: 211.2 kB / 436.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.122, allocations: 211 kB / 436.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/0.122, allocations: 20 kB / 436.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.1222, allocations: 123.9 kB / 436.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.509e-05/0.1223, allocations: 83.64 kB / 436.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.43e-05/0.1224, allocations: 97.52 kB / 437 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.1228, allocations: 483.1 kB / 437.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1228, allocations: 0 / 437.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1228, allocations: 0 / 437.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.1228, allocations: 0 / 437.5 MB, free: 10.79 MB / 302.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.001096/0.1239, allocations: 0.7532 MB / 438.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.124, allocations: 8.031 kB / 438.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.1241, allocations: 55.38 kB / 438.3 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.1245, allocations: 363 kB / 438.7 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.79e-05/0.1246, allocations: 50.7 kB / 438.7 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.996e-05/0.1246, allocations: 32 kB / 438.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006822/0.1253, allocations: 481.4 kB / 439.2 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.1253, allocations: 3.906 kB / 439.2 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.1254, allocations: 19.95 kB / 439.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.1254, allocations: 12 kB / 439.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006234/0.126, allocations: 355.8 kB / 439.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.1277, allocations: 1.378 MB / 441 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008671/0.1286, allocations: 437.3 kB / 441.4 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.1289, allocations: 156.8 kB / 441.6 MB, free: 6.512 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.809e-05/0.129, allocations: 4 kB / 441.6 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004863/0.1295, allocations: 252.2 kB / 441.8 MB, free: 6.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.505e-06/0.1295, allocations: 0 / 441.8 MB, free: 6.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003673/0.1332, allocations: 1.875 MB / 443.7 MB, free: 4.258 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.1332, allocations: 158.2 kB / 443.8 MB, free: 4.066 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.1336, allocations: 324.5 kB / 444.2 MB, free: 3.742 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.1336, allocations: 37.7 kB / 444.2 MB, free: 3.699 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.1337, allocations: 216.8 kB / 444.4 MB, free: 3.484 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.114e-05/0.1338, allocations: 142.1 kB / 444.6 MB, free: 3.344 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.1338, allocations: 4 kB / 444.6 MB, free: 3.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.85e-05/0.1339, allocations: 350.8 kB / 444.9 MB, free: 2.988 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/0.1342, allocations: 164.8 kB / 445.1 MB, free: 2.828 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/0.1346, allocations: 279.4 kB / 445.3 MB, free: 2.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.1349, allocations: 164.2 kB / 445.5 MB, free: 2.355 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1349, allocations: 0 / 445.5 MB, free: 2.355 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001064/0.136, allocations: 0.5912 MB / 446.1 MB, free: 1.754 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.642e-05/0.1361, allocations: 146.5 kB / 446.2 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.1361, allocations: 0 / 446.2 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000376/0.1365, allocations: 164.8 kB / 446.4 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.1368, allocations: 87.88 kB / 446.5 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005197/0.1373, allocations: 0.7157 MB / 447.2 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.1376, allocations: 76.06 kB / 447.3 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.1377, allocations: 20 kB / 447.3 MB, free: 0.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.19e-06/0.1377, allocations: 0 / 447.3 MB, free: 0.5 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007891/0.1385, allocations: 456.5 kB / 447.7 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1385, allocations: 4 kB / 447.7 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003674/0.1389, allocations: 165 kB / 447.9 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.1391, allocations: 63.91 kB / 448 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006543/0.1398, allocations: 0.7085 MB / 448.7 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.1401, allocations: 56.02 kB / 448.7 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.1401, allocations: 23.92 kB / 448.7 MB, free: 15 MB / 318.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,$whenCondition1,$PRE.driver.driveCyc.nextTimeEvent,$PRE.dragF.startForward,dragF.startForward,$PRE.dragF.startBackward,dragF.startBackward,dragF.locked,$PRE.dragF.mode,dragF.mode,driver.driveCyc.nextTimeEvent,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002639/0.1404, allocations: 249 kB / 449 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.1405, allocations: 39.53 kB / 449 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.1406, allocations: 52.02 kB / 449.1 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1406, allocations: 8 kB / 449.1 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.1406, allocations: 0 / 449.1 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.1406, allocations: 3.984 kB / 449.1 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.1427, allocations: 1.177 MB / 450.3 MB, free: 13.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1427, allocations: 0 / 450.3 MB, free: 13.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.143, allocations: 75.98 kB / 450.3 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003473/0.1433, allocations: 148.7 kB / 450.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.1434, allocations: 15.98 kB / 450.5 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005691/0.144, allocations: 0.6733 MB / 451.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.144, allocations: 0 / 451.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.1458, allocations: 0.8375 MB / 452 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.146, allocations: 160.6 kB / 452.2 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.961e-05/0.1461, allocations: 8 kB / 452.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/0.1465, allocations: 83.95 kB / 452.3 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.1467, allocations: 59.88 kB / 452.3 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/0.1467, allocations: 16.03 kB / 452.3 MB, free: 11.26 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002679/0.147, allocations: 235 kB / 452.6 MB, free: 11.03 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.147, allocations: 0 / 452.6 MB, free: 11.03 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000671/0.1477, allocations: 172 kB / 452.7 MB, free: 10.86 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001059/0.1487, allocations: 480.4 kB / 453.2 MB, free: 10.56 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.1502, allocations: 0.6612 MB / 453.9 MB, free: 9.902 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1503, allocations: 3.984 kB / 453.9 MB, free: 9.898 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006026/0.1509, allocations: 252.1 kB / 454.1 MB, free: 9.652 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.1515, allocations: 95.72 kB / 454.2 MB, free: 9.566 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.1536, allocations: 1.167 MB / 455.4 MB, free: 8.363 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.154, allocations: 0.816 MB / 456.2 MB, free: 7.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002776/0.1543, allocations: 63.22 kB / 456.2 MB, free: 7.453 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.1544, allocations: 39.42 kB / 456.3 MB, free: 7.414 MB / 318.1 MB Notification: Performance of SimCode: time 8.91e-07/0.1545, allocations: 0 / 456.3 MB, free: 7.414 MB / 318.1 MB Notification: Performance of Templates: time 0.01475/0.1692, allocations: 8.594 MB / 464.9 MB, free: 14.85 MB / 334.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)