Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_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_main_EHPTexamples.EV.FirstEVpow") translateModel(EHPTexamples.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEVpow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.06478/0.06478, allocations: 8.015 MB / 23.94 MB, free: 0.5898 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.0008356/0.0008355, allocations: 88.58 kB / 26.5 MB, free: 3.629 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.001047/0.001047, allocations: 187.2 kB / 29.19 MB, free: 0.9531 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.444/1.444, allocations: 223.3 MB / 255 MB, free: 5.625 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01329/0.01329, allocations: 3.115 MB / 311 MB, free: 0.7812 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004468/0.0004467, allocations: 11.62 kB / 376 MB, free: 54.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1279, allocations: 52.97 MB / 429 MB, free: 20.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.004672/0.1326, allocations: 2.939 MB / 432 MB, free: 17.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002827/0.1355, allocations: 2.099 MB / 434.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.1357, allocations: 11.94 kB / 434.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004018/0.1362, allocations: 75.53 kB / 434.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.1365, allocations: 139.2 kB / 434.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007222/0.1372, allocations: 366 kB / 434.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004904/0.1377, allocations: 0.6152 MB / 435.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.138, allocations: 156 kB / 435.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.1382, allocations: 235 kB / 435.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.1385, allocations: 230.9 kB / 435.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.815e-05/0.1386, allocations: 24 kB / 435.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.1388, allocations: 131.9 kB / 436 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.1389, allocations: 95.64 kB / 436.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.1391, allocations: 248.4 kB / 436.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004225/0.1395, allocations: 0.4987 MB / 436.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1395, allocations: 0 / 436.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1396, allocations: 4 kB / 436.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.1396, allocations: 0 / 436.8 MB, free: 12.25 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.001285/0.1409, allocations: 0.7573 MB / 437.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.1409, allocations: 16.03 kB / 437.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.1411, allocations: 64.25 kB / 437.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.1415, allocations: 372.2 kB / 438 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.465e-05/0.1416, allocations: 55.27 kB / 438.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-05/0.1417, allocations: 51.83 kB / 438.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008045/0.1425, allocations: 0.5014 MB / 438.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.1425, allocations: 0 / 438.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.701e-05/0.1426, allocations: 16 kB / 438.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.1426, allocations: 8 kB / 438.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007407/0.1433, allocations: 383.7 kB / 439.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.1453, allocations: 1.468 MB / 440.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009776/0.1463, allocations: 450.2 kB / 441 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.1466, allocations: 170.2 kB / 441.1 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.1467, allocations: 8.281 kB / 441.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004979/0.1472, allocations: 249.7 kB / 441.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.814e-06/0.1472, allocations: 4 kB / 441.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.003989/0.1512, allocations: 1.919 MB / 443.3 MB, free: 5.469 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.1513, allocations: 162.2 kB / 443.5 MB, free: 5.273 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.1516, allocations: 324.5 kB / 443.8 MB, free: 4.949 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.1516, allocations: 41.69 kB / 443.8 MB, free: 4.902 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.1518, allocations: 220.4 kB / 444 MB, free: 4.684 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.616e-05/0.1519, allocations: 142.1 kB / 444.2 MB, free: 4.543 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.1519, allocations: 41.7 kB / 444.2 MB, free: 4.496 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.964e-05/0.152, allocations: 350.8 kB / 444.6 MB, free: 4.145 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.1524, allocations: 169 kB / 444.7 MB, free: 3.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/0.1528, allocations: 300.3 kB / 445 MB, free: 3.645 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006644/0.1535, allocations: 391.6 kB / 445.4 MB, free: 3.234 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1535, allocations: 0 / 445.4 MB, free: 3.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001181/0.1546, allocations: 0.6104 MB / 446 MB, free: 2.613 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.162e-05/0.1547, allocations: 144 kB / 446.1 MB, free: 2.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.1547, allocations: 0 / 446.1 MB, free: 2.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003885/0.1551, allocations: 165.4 kB / 446.3 MB, free: 2.277 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/0.1554, allocations: 91.83 kB / 446.4 MB, free: 2.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005548/0.156, allocations: 0.7155 MB / 447.1 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003755/0.1564, allocations: 76 kB / 447.2 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.1564, allocations: 19.98 kB / 447.2 MB, free: 1.355 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/0.1564, allocations: 10.5 kB / 447.2 MB, free: 1.348 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008574/0.1573, allocations: 460 kB / 447.7 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.1573, allocations: 4.219 kB / 447.7 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003113/0.1576, allocations: 176.7 kB / 447.8 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.1578, allocations: 63.91 kB / 447.9 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005376/0.1584, allocations: 0.7046 MB / 448.6 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.1587, allocations: 60.02 kB / 448.7 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.1588, allocations: 12 kB / 448.7 MB, free: 15.85 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.0003061/0.1591, allocations: 268.2 kB / 448.9 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/0.1592, allocations: 39.53 kB / 449 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.1593, allocations: 52.41 kB / 449 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.1593, allocations: 4 kB / 449 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.1593, allocations: 4.047 kB / 449 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.1593, allocations: 7.969 kB / 449 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.1615, allocations: 1.215 MB / 450.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1615, allocations: 4 kB / 450.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.1618, allocations: 83.92 kB / 450.3 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003495/0.1622, allocations: 148.6 kB / 450.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.1622, allocations: 15.98 kB / 450.5 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005853/0.1628, allocations: 0.6733 MB / 451.2 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/0.1629, allocations: 8.094 kB / 451.2 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.1646, allocations: 0.8532 MB / 452 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.1647, allocations: 156.7 kB / 452.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.346e-05/0.1648, allocations: 19.98 kB / 452.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/0.1652, allocations: 71.94 kB / 452.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.1654, allocations: 59.84 kB / 452.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.1654, allocations: 23.92 kB / 452.4 MB, free: 12.01 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002532/0.1657, allocations: 227.1 kB / 452.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1657, allocations: 0 / 452.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006877/0.1664, allocations: 184 kB / 452.8 MB, free: 11.61 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.001215/0.1676, allocations: 479.7 kB / 453.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.1692, allocations: 0.6833 MB / 453.9 MB, free: 10.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1692, allocations: 0 / 453.9 MB, free: 10.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005774/0.1698, allocations: 252.5 kB / 454.2 MB, free: 10.38 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006514/0.1704, allocations: 91.8 kB / 454.3 MB, free: 10.29 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.1729, allocations: 1.31 MB / 455.6 MB, free: 8.938 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.1733, allocations: 0.8162 MB / 456.4 MB, free: 8.094 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.1734, allocations: 43.42 kB / 456.4 MB, free: 8.051 MB / 318.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1734, allocations: 0 / 456.4 MB, free: 8.051 MB / 318.1 MB Notification: Performance of Templates: time 0.01184/0.1853, allocations: 7.868 MB / 464.3 MB, free: 196 kB / 318.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.FirstEVpow.makefile make -j1 -f EHPTexamples_main_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_main_EHPTexamples.EV.FirstEVpowCalcHelperMain.o OMCppEHPTexamples_main_EHPTexamples.EV.FirstEVpowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTexamples_main_EHPTexamples.EV.FirstEVpowCalcHelperMain.o] Error 1