Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.ToPark.conf.json 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/EHPTlib main/package.mo", uses=false) Using package EHPTlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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) Running command: translateModel(EHPTlib.ElectricDrives.SMArelated.ToPark,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.ToPark") translateModel(EHPTlib.ElectricDrives.SMArelated.ToPark,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.ToPark") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 99.67 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 174.6 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.2 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.1651/0.1651, allocations: 8.621 MB / 300.3 MB, free: 3.211 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003162, allocations: 4 kB / 363.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09275/0.09309, allocations: 52.33 MB / 415.5 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.SMArelated.ToPark): time 0.001416/0.09455, allocations: 1.198 MB / 416.7 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007515/0.09531, allocations: 495.1 kB / 417.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.474e-05/0.09537, allocations: 4 kB / 417.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.556e-05/0.09546, allocations: 11.92 kB / 417.2 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.09582, allocations: 59.8 kB / 417.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.515e-05/0.09586, allocations: 11.98 kB / 417.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.09597, allocations: 67.8 kB / 417.3 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.09612, allocations: 48.27 kB / 417.3 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.995e-05/0.09617, allocations: 23.92 kB / 417.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.09638, allocations: 75.78 kB / 417.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.09641, allocations: 0 / 417.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.09643, allocations: 4 kB / 417.4 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.03e-05/0.09652, allocations: 51.88 kB / 417.5 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.09656, allocations: 37.64 kB / 417.5 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.992e-05/0.09667, allocations: 95.81 kB / 417.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.09668, allocations: 0 / 417.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.09669, allocations: 4 kB / 417.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.0967, allocations: 3.938 kB / 417.6 MB, free: 6.984 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005456/0.09725, allocations: 435 kB / 418.1 MB, free: 6.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.09729, allocations: 12.03 kB / 418.1 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.09733, allocations: 15.81 kB / 418.1 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.09757, allocations: 222.9 kB / 418.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.09759, allocations: 11.94 kB / 418.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.09761, allocations: 4 kB / 418.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.09781, allocations: 121.6 kB / 418.4 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.09782, allocations: 7.891 kB / 418.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.09784, allocations: 0 / 418.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.09787, allocations: 12 kB / 418.5 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.09807, allocations: 119.9 kB / 418.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006479/0.09872, allocations: 468.4 kB / 419 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.09886, allocations: 70.55 kB / 419.1 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.507e-05/0.09894, allocations: 56.89 kB / 419.2 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.09897, allocations: 4 kB / 419.2 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.09901, allocations: 38.55 kB / 419.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.09901, allocations: 0 / 419.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003095/0.09933, allocations: 185.5 kB / 419.4 MB, free: 5.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.09936, allocations: 51.41 kB / 419.4 MB, free: 5.004 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/ElectricDrives/SMArelated/ToPark.mo:3:3-3:45:writable] Warning: Parameter p has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.09956, allocations: 190.2 kB / 419.6 MB, free: 4.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.09958, allocations: 25.7 kB / 419.6 MB, free: 4.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.09966, allocations: 135.7 kB / 419.8 MB, free: 4.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.09968, allocations: 15.62 kB / 419.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.408e-06/0.0997, allocations: 8 kB / 419.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.09981, allocations: 322.8 kB / 420.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.007e-05/0.09988, allocations: 39.97 kB / 420.1 MB, free: 4.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.742e-05/0.09995, allocations: 53.67 kB / 420.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.99e-05/0.1, allocations: 51.86 kB / 420.2 MB, free: 4.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1001, allocations: 0 / 420.2 MB, free: 4.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001867/0.1003, allocations: 137.5 kB / 420.4 MB, free: 4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1003, allocations: 4 kB / 420.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1003, allocations: 0 / 420.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1003, allocations: 7.953 kB / 420.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.1004, allocations: 23.92 kB / 420.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1004, allocations: 0 / 420.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.238e-05/0.1005, allocations: 23.84 kB / 420.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1005, allocations: 0 / 420.4 MB, free: 3.941 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.1006, allocations: 137.9 kB / 420.6 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.1007, allocations: 11.81 kB / 420.6 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.1009, allocations: 154.3 kB / 420.7 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1009, allocations: 0 / 420.7 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.101, allocations: 3.953 kB / 420.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.101, allocations: 4 kB / 420.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005166/0.1015, allocations: 450.4 kB / 421.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1015, allocations: 0 / 421.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.412e-05/0.1016, allocations: 19.98 kB / 421.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1016, allocations: 4 kB / 421.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.1016, allocations: 11.94 kB / 421.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1016, allocations: 4 kB / 421.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1016, allocations: 0 / 421.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.1019, allocations: 227.4 kB / 421.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.1019, allocations: 97.03 kB / 421.5 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.102, allocations: 3.938 kB / 421.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1021, allocations: 15.95 kB / 421.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.1021, allocations: 11.92 kB / 421.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.1021, allocations: 0 / 421.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.1022, allocations: 140.1 kB / 421.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1022, allocations: 0 / 421.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.1025, allocations: 23.91 kB / 421.7 MB, free: 2.543 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.543e-05/0.1026, allocations: 95.23 kB / 421.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.1028, allocations: 99.88 kB / 421.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1028, allocations: 4.062 kB / 421.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.056e-05/0.1029, allocations: 47.97 kB / 422 MB, free: 2.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.1031, allocations: 8 kB / 422 MB, free: 2.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005956/0.1037, allocations: 389.2 kB / 422.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.1041, allocations: 0.716 MB / 423.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.1041, allocations: 19.44 kB / 423.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1041, allocations: 0 / 423.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of Templates: time 0.1551/0.2593, allocations: 1.549 MB / 424.6 MB, free: 41.08 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.ToPark.makefile make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.ToPark.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppEHPTlib_main_EHPTlib.ElectricDrives.SMArelated.ToParkCalcHelperMain.o OMCppEHPTlib_main_EHPTlib.ElectricDrives.SMArelated.ToParkCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTlib_main_EHPTlib.ElectricDrives.SMArelated.ToParkCalcHelperMain.o] Error 1