Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.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) Running command: translateModel(EHPTexamples.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.FirstEVpow") translateModel(EHPTexamples.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.FirstEVpow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.08759/0.0876, allocations: 8.029 MB / 23.96 MB, free: 44 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.000702/0.0007021, allocations: 94.84 kB / 26.53 MB, free: 3.324 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.001018/0.001019, allocations: 184.6 kB / 29.22 MB, free: 0.6484 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.539/1.539, allocations: 223.3 MB / 255 MB, free: 3.855 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01247/0.01247, allocations: 3.127 MB / 311 MB, free: 0.5312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004433, allocations: 11.75 kB / 376.1 MB, free: 53.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1226, allocations: 52.99 MB / 429.1 MB, free: 19.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.002921/0.1256, allocations: 2.932 MB / 432 MB, free: 16.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.128, allocations: 2.102 MB / 434.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.1283, allocations: 11.94 kB / 434.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.1286, allocations: 79.53 kB / 434.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.1289, allocations: 127.2 kB / 434.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006464/0.1296, allocations: 367 kB / 434.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004115/0.13, allocations: 0.6152 MB / 435.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.1302, allocations: 156 kB / 435.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.1304, allocations: 235 kB / 435.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.1307, allocations: 230.9 kB / 435.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.702e-05/0.1308, allocations: 24 kB / 435.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.131, allocations: 139.8 kB / 436.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.67e-05/0.1311, allocations: 95.64 kB / 436.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.1312, allocations: 252.4 kB / 436.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.1316, allocations: 0.5026 MB / 436.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1316, allocations: 0 / 436.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1316, allocations: 0 / 436.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1316, allocations: 0 / 436.9 MB, free: 12.03 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00115/0.1328, allocations: 0.7612 MB / 437.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1328, allocations: 12.03 kB / 437.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.133, allocations: 60.27 kB / 437.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.1334, allocations: 372.2 kB / 438.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.089e-05/0.1334, allocations: 55.27 kB / 438.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.605e-05/0.1335, allocations: 51.84 kB / 438.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007349/0.1343, allocations: 0.5013 MB / 438.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.1343, allocations: 4 kB / 438.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.382e-05/0.1343, allocations: 19.98 kB / 438.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1344, allocations: 8 kB / 438.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006934/0.1351, allocations: 379.7 kB / 439.1 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.1369, allocations: 1.464 MB / 440.6 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009437/0.1379, allocations: 446.2 kB / 441 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.1382, allocations: 166.2 kB / 441.2 MB, free: 7.551 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.311e-05/0.1383, allocations: 12.27 kB / 441.2 MB, free: 7.539 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004761/0.1387, allocations: 249.7 kB / 441.4 MB, free: 7.285 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.713e-06/0.1388, allocations: 0 / 441.4 MB, free: 7.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.003832/0.1426, allocations: 1.927 MB / 443.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/0.1427, allocations: 166.2 kB / 443.5 MB, free: 5.047 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.143, allocations: 320.6 kB / 443.8 MB, free: 4.727 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.143, allocations: 41.69 kB / 443.9 MB, free: 4.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.1431, allocations: 220.4 kB / 444.1 MB, free: 4.461 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.1432, allocations: 138.1 kB / 444.2 MB, free: 4.324 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/0.1433, allocations: 41.69 kB / 444.3 MB, free: 4.277 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.714e-05/0.1434, allocations: 350.8 kB / 444.6 MB, free: 3.926 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.1437, allocations: 177 kB / 444.8 MB, free: 3.754 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004126/0.1442, allocations: 292.4 kB / 445.1 MB, free: 3.426 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006543/0.1448, allocations: 387.6 kB / 445.4 MB, free: 3.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1448, allocations: 4 kB / 445.4 MB, free: 3.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001163/0.146, allocations: 0.6104 MB / 446 MB, free: 2.395 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.807e-05/0.1461, allocations: 144 kB / 446.2 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.1461, allocations: 0 / 446.2 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003931/0.1465, allocations: 161.9 kB / 446.3 MB, free: 2.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.1468, allocations: 91.83 kB / 446.4 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005674/0.1474, allocations: 0.7133 MB / 447.2 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003804/0.1478, allocations: 76 kB / 447.2 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-05/0.1478, allocations: 23.98 kB / 447.2 MB, free: 1.137 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/0.1478, allocations: 4 kB / 447.3 MB, free: 1.133 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008602/0.1487, allocations: 464 kB / 447.7 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1487, allocations: 4 kB / 447.7 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003168/0.149, allocations: 168.8 kB / 447.9 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.1492, allocations: 67.91 kB / 447.9 MB, free: 448 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005798/0.1498, allocations: 0.712 MB / 448.7 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.1502, allocations: 51.95 kB / 448.7 MB, free: 15.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.1502, allocations: 20.06 kB / 448.7 MB, free: 15.63 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,$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 (43): * Single equations (assignments): 42 * 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.0002997/0.1505, allocations: 264.9 kB / 449 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-05/0.1506, allocations: 43.59 kB / 449 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.1507, allocations: 48.41 kB / 449.1 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.1508, allocations: 8.047 kB / 449.1 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.1508, allocations: 7.984 kB / 449.1 MB, free: 15.26 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.1508, allocations: 0 / 449.1 MB, free: 15.26 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.153, allocations: 1.223 MB / 450.3 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.1531, allocations: 0 / 450.3 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003089/0.1534, allocations: 79.83 kB / 450.4 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003657/0.1537, allocations: 144.8 kB / 450.5 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/0.1538, allocations: 19.98 kB / 450.5 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006737/0.1545, allocations: 0.6656 MB / 451.2 MB, free: 13.03 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.1545, allocations: 4.031 kB / 451.2 MB, free: 13.03 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.1563, allocations: 0.865 MB / 452.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.1565, allocations: 152.6 kB / 452.2 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.429e-05/0.1566, allocations: 12 kB / 452.2 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/0.157, allocations: 79.98 kB / 452.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.1571, allocations: 55.84 kB / 452.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.1572, allocations: 19.98 kB / 452.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002774/0.1575, allocations: 235.1 kB / 452.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.643e-06/0.1575, allocations: 0 / 452.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006796/0.1582, allocations: 187.9 kB / 452.8 MB, free: 11.39 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 (32): * Single equations (assignments): 29 * 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.00121/0.1594, allocations: 480.6 kB / 453.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.161, allocations: 0.6833 MB / 454 MB, free: 10.4 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.161, allocations: 0.5625 kB / 454 MB, free: 10.4 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005873/0.1616, allocations: 251.7 kB / 454.2 MB, free: 10.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000658/0.1623, allocations: 95.36 kB / 454.3 MB, free: 10.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.1647, allocations: 1.31 MB / 455.6 MB, free: 8.715 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.1651, allocations: 0.8201 MB / 456.4 MB, free: 7.867 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.1652, allocations: 39.42 kB / 456.5 MB, free: 7.828 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1652, allocations: 0 / 456.5 MB, free: 7.828 MB / 318.1 MB Notification: Performance of Templates: time 0.01078/0.176, allocations: 7.865 MB / 464.3 MB, free: 15.97 MB / 334.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.makefile make -j1 -f EHPTexamples_latest_EHPTexamples.EV.FirstEVpow.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppEHPTexamples_latest_EHPTexamples.EV.FirstEVpowCalcHelperMain.o OMCppEHPTexamples_latest_EHPTexamples.EV.FirstEVpowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTexamples_latest_EHPTexamples.EV.FirstEVpowCalcHelperMain.o] Error 1