Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.FromPark.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.FromPark,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.FromPark") translateModel(EHPTlib.ElectricDrives.SMArelated.FromPark,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.FromPark") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 100.5 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.001593/0.001593, allocations: 176 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.422/1.422, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.1501/0.1501, allocations: 8.62 MB / 300.3 MB, free: 3.277 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002928/0.0002929, allocations: 8 kB / 363.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1021, allocations: 52.33 MB / 415.5 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.SMArelated.FromPark): time 0.001789/0.104, allocations: 1.323 MB / 416.8 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008491/0.1048, allocations: 499.1 kB / 417.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.603e-05/0.1049, allocations: 0 / 417.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.105, allocations: 15.86 kB / 417.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003413/0.1054, allocations: 55.88 kB / 417.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.376e-05/0.1054, allocations: 19.98 kB / 417.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.1056, allocations: 79.78 kB / 417.4 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1057, allocations: 48.16 kB / 417.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.739e-05/0.1057, allocations: 35.83 kB / 417.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.106, allocations: 83.78 kB / 417.6 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.106, allocations: 4 kB / 417.6 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.106, allocations: 3.938 kB / 417.6 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.1061, allocations: 63.86 kB / 417.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.1062, allocations: 37.64 kB / 417.7 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.1063, allocations: 99.8 kB / 417.8 MB, free: 6.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1063, allocations: 7.984 kB / 417.8 MB, free: 6.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1063, allocations: 0 / 417.8 MB, free: 6.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1063, allocations: 4 kB / 417.8 MB, free: 6.809 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005751/0.1069, allocations: 443.2 kB / 418.2 MB, free: 6.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1069, allocations: 12.03 kB / 418.3 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.107, allocations: 15.75 kB / 418.3 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.1073, allocations: 231.5 kB / 418.5 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.1073, allocations: 4.188 kB / 418.5 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.1073, allocations: 8 kB / 418.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.1075, allocations: 138.5 kB / 418.6 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1076, allocations: 3.953 kB / 418.7 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.1076, allocations: 11.98 kB / 418.7 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.1076, allocations: 4 kB / 418.7 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.1078, allocations: 143.8 kB / 418.8 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007129/0.1086, allocations: 0.4885 MB / 419.3 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.1088, allocations: 138.5 kB / 419.4 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.729e-05/0.1089, allocations: 48.84 kB / 419.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.1089, allocations: 7.984 kB / 419.5 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.109, allocations: 46.48 kB / 419.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.826e-06/0.109, allocations: 0 / 419.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003072/0.1093, allocations: 169.3 kB / 419.7 MB, free: 4.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.1093, allocations: 51.41 kB / 419.7 MB, free: 4.688 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Sources.mo:165:5-166:102:writable] Warning: Parameter const.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/ElectricDrives/SMArelated/FromPark.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.0002194/0.1096, allocations: 199.1 kB / 419.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1096, allocations: 25.7 kB / 420 MB, free: 4.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.963e-05/0.1097, allocations: 132 kB / 420.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.1097, allocations: 31.56 kB / 420.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.1097, allocations: 0 / 420.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1098, allocations: 322.8 kB / 420.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.812e-05/0.1099, allocations: 39.97 kB / 420.5 MB, free: 3.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.453e-05/0.11, allocations: 39.92 kB / 420.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.405e-05/0.1101, allocations: 51.95 kB / 420.6 MB, free: 3.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1101, allocations: 0 / 420.6 MB, free: 3.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001727/0.1103, allocations: 121.6 kB / 420.7 MB, free: 3.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.1103, allocations: 5.875 kB / 420.7 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.1103, allocations: 4 kB / 420.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.1103, allocations: 4 kB / 420.7 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.1104, allocations: 27.97 kB / 420.7 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1104, allocations: 3.953 kB / 420.7 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.44e-05/0.1105, allocations: 15.83 kB / 420.8 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.1105, allocations: 4 kB / 420.8 MB, free: 3.645 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 9.996e-05/0.1106, allocations: 137.8 kB / 420.9 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.1107, allocations: 7.906 kB / 420.9 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.1109, allocations: 154.9 kB / 421 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1109, allocations: 4 kB / 421.1 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.111, allocations: 0 / 421.1 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.111, allocations: 7.938 kB / 421.1 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005196/0.1115, allocations: 462.3 kB / 421.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1115, allocations: 0 / 421.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.182e-05/0.1116, allocations: 19.98 kB / 421.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1116, allocations: 0 / 421.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1116, allocations: 7.984 kB / 421.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1116, allocations: 3.953 kB / 421.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1116, allocations: 4 kB / 421.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.1118, allocations: 219.4 kB / 421.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-05/0.1119, allocations: 96.91 kB / 421.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.1119, allocations: 0 / 421.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.429e-05/0.112, allocations: 7.938 kB / 421.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.1121, allocations: 11.94 kB / 421.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.1121, allocations: 4 kB / 421.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001281/0.1122, allocations: 155.5 kB / 422 MB, free: 2.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1122, allocations: 0 / 422 MB, free: 2.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.1124, allocations: 27.84 kB / 422.1 MB, free: 2.227 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 8.377e-05/0.1125, allocations: 99.19 kB / 422.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001696/0.1127, allocations: 83.95 kB / 422.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1127, allocations: 0 / 422.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.918e-05/0.1128, allocations: 56.19 kB / 422.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.1131, allocations: 16.06 kB / 422.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005569/0.1136, allocations: 393.7 kB / 422.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.1139, allocations: 0.7316 MB / 423.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.114, allocations: 11.44 kB / 423.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.114, allocations: 3.938 kB / 423.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of Templates: time 0.1613/0.2753, allocations: 1.649 MB / 425.1 MB, free: 40.81 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.FromPark.makefile make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.SMArelated.FromPark.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.FromParkCalcHelperMain.o OMCppEHPTlib_main_EHPTlib.ElectricDrives.SMArelated.FromParkCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTlib_main_EHPTlib.ElectricDrives.SMArelated.FromParkCalcHelperMain.o] Error 1