Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_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_EHPTexamples.EV.FirstEVpow") translateModel(EHPTexamples.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.FirstEVpow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.06887/0.06887, allocations: 8.03 MB / 23.96 MB, free: 0.5781 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.0007535/0.0007536, allocations: 106.3 kB / 26.54 MB, free: 3.609 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.0009995/0.001, allocations: 191.2 kB / 29.22 MB, free: 0.9375 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.578/1.578, allocations: 223.2 MB / 255 MB, free: 5.613 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01233/0.01233, allocations: 3.122 MB / 311 MB, free: 2.383 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004744, allocations: 16 kB / 376.1 MB, free: 1.262 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2792, allocations: 52.97 MB / 429.1 MB, free: 20.68 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.003661/0.2829, allocations: 2.94 MB / 432 MB, free: 17.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003845/0.2867, allocations: 2.095 MB / 434.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006303/0.2874, allocations: 11.94 kB / 434.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006286/0.2881, allocations: 75.53 kB / 434.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007402/0.2888, allocations: 131.2 kB / 434.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.2899, allocations: 374.3 kB / 434.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006407/0.2906, allocations: 0.6113 MB / 435.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.2909, allocations: 156 kB / 435.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.2911, allocations: 235 kB / 435.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.2915, allocations: 227 kB / 435.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.357e-05/0.2915, allocations: 28 kB / 435.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/0.2918, allocations: 135.8 kB / 436.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.292, allocations: 95.64 kB / 436.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.2922, allocations: 240.5 kB / 436.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.2926, allocations: 0.5064 MB / 436.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.2926, allocations: 0 / 436.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.2926, allocations: 0 / 436.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.2926, allocations: 0 / 436.9 MB, free: 12.81 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.001334/0.294, allocations: 0.7651 MB / 437.7 MB, free: 12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.294, allocations: 8.031 kB / 437.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.2942, allocations: 60.27 kB / 437.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004161/0.2946, allocations: 372.2 kB / 438.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.532e-05/0.2947, allocations: 55.27 kB / 438.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.707e-05/0.2948, allocations: 51.84 kB / 438.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008076/0.2956, allocations: 0.5014 MB / 438.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.2957, allocations: 3.984 kB / 438.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.692e-05/0.2957, allocations: 16 kB / 438.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.2957, allocations: 12 kB / 438.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007275/0.2965, allocations: 375.7 kB / 439.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.2985, allocations: 1.464 MB / 440.6 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000994/0.2996, allocations: 450.3 kB / 441 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/0.2999, allocations: 170.2 kB / 441.2 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.172e-05/0.3, allocations: 8.266 kB / 441.2 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005475/0.3005, allocations: 253.7 kB / 441.4 MB, free: 8.066 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.853e-06/0.3005, allocations: 0 / 441.4 MB, free: 8.066 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.004141/0.3047, allocations: 1.923 MB / 443.3 MB, free: 6.031 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/0.3048, allocations: 166.2 kB / 443.5 MB, free: 5.832 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/0.3051, allocations: 328.5 kB / 443.8 MB, free: 5.504 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.3051, allocations: 41.69 kB / 443.9 MB, free: 5.457 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.3053, allocations: 216.4 kB / 444.1 MB, free: 5.242 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.314e-05/0.3054, allocations: 138.1 kB / 444.2 MB, free: 5.105 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/0.3055, allocations: 41.69 kB / 444.3 MB, free: 5.059 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.3056, allocations: 346.8 kB / 444.6 MB, free: 4.711 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.3059, allocations: 181 kB / 444.8 MB, free: 4.535 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.3064, allocations: 292.4 kB / 445.1 MB, free: 4.207 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006618/0.307, allocations: 391.6 kB / 445.4 MB, free: 3.797 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.307, allocations: 4 kB / 445.4 MB, free: 3.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00121/0.3083, allocations: 0.6065 MB / 446 MB, free: 3.176 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.889e-05/0.3083, allocations: 144 kB / 446.2 MB, free: 3.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3084, allocations: 4 kB / 446.2 MB, free: 3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004206/0.3088, allocations: 156.7 kB / 446.3 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.3091, allocations: 91.83 kB / 446.4 MB, free: 2.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00065/0.3098, allocations: 0.7197 MB / 447.2 MB, free: 2.012 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.3102, allocations: 79.94 kB / 447.2 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.3102, allocations: 19.98 kB / 447.3 MB, free: 1.914 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.903e-06/0.3102, allocations: 4 kB / 447.3 MB, free: 1.91 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008943/0.3111, allocations: 468 kB / 447.7 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.3112, allocations: 0 / 447.7 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003232/0.3115, allocations: 168.8 kB / 447.9 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.3117, allocations: 67.91 kB / 447.9 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005297/0.3122, allocations: 0.7085 MB / 448.7 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/0.3126, allocations: 55.98 kB / 448.7 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.3126, allocations: 20.06 kB / 448.7 MB, free: 416 kB / 302.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.0002794/0.3129, allocations: 268.9 kB / 449 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.313, allocations: 35.53 kB / 449 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.3131, allocations: 52.41 kB / 449.1 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3131, allocations: 4 kB / 449.1 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3131, allocations: 0 / 449.1 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.3131, allocations: 0 / 449.1 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.3154, allocations: 1.223 MB / 450.3 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.3154, allocations: 4.125 kB / 450.3 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.3157, allocations: 79.83 kB / 450.4 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003631/0.3161, allocations: 148.8 kB / 450.5 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.3162, allocations: 19.98 kB / 450.6 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006492/0.3168, allocations: 0.6656 MB / 451.2 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3168, allocations: 0 / 451.2 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.3187, allocations: 0.8572 MB / 452.1 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/0.3189, allocations: 160.5 kB / 452.2 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.999e-05/0.319, allocations: 15.94 kB / 452.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004172/0.3194, allocations: 79.98 kB / 452.3 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.3196, allocations: 55.84 kB / 452.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/0.3197, allocations: 15.98 kB / 452.4 MB, free: 12.58 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003381/0.32, allocations: 239 kB / 452.6 MB, free: 12.35 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.32, allocations: 4 kB / 452.6 MB, free: 12.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007641/0.3208, allocations: 184 kB / 452.8 MB, free: 12.16 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.001395/0.3222, allocations: 484.4 kB / 453.3 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.3239, allocations: 0.6794 MB / 454 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.324, allocations: 0.5625 kB / 454 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005955/0.3246, allocations: 255.7 kB / 454.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007165/0.3253, allocations: 92.75 kB / 454.3 MB, free: 10.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.3279, allocations: 1.306 MB / 455.6 MB, free: 9.496 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/0.3284, allocations: 0.8201 MB / 456.4 MB, free: 8.648 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.3285, allocations: 39.42 kB / 456.5 MB, free: 8.609 MB / 318.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3285, allocations: 0 / 456.5 MB, free: 8.609 MB / 318.1 MB Notification: Performance of Templates: time 0.01169/0.3402, allocations: 7.866 MB / 464.3 MB, free: 0.7539 MB / 318.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.FirstEVpow.makefile make -j1 -f EHPTexamples_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_EHPTexamples.EV.FirstEVpowCalcHelperMain.o OMCppEHPTexamples_EHPTexamples.EV.FirstEVpowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTexamples_EHPTexamples.EV.FirstEVpowCalcHelperMain.o] Error 1