Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.ElectricDrives.ASMArelated.ControlLogic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 219.1 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04235/0.04235, allocations: 8.546 MB / 321.8 MB, free: 10.52 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.ASMArelated.ControlLogic,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_ASMArelated_ControlLogic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.ASMArelated.ControlLogic,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_ASMArelated_ControlLogic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 75.88 kB / 447.7 MB, free: 15.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1118, allocations: 55.4 MB / 0.4913 GB, free: 8.203 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/ElectricDrives/ASMArelated/ControlLogic.mo:4:3-5:23:writable] Warning: Parameter Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/ElectricDrives/ASMArelated/ControlLogic.mo:6:3-7:24:writable] Warning: Parameter Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/ElectricDrives/ASMArelated/ControlLogic.mo:8:3-9:38:writable] Warning: Parameter uBase has no value, and is fixed during initialization (fixed=true), using available start value (start=400) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/ElectricDrives/ASMArelated/ControlLogic.mo:12:3-13:32:writable] Warning: Parameter Lstray has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2036/weBase) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/ElectricDrives/ASMArelated/ControlLogic.mo:16:3-16:76:writable] Warning: Parameter pp has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.ASMArelated.ControlLogic): time 0.003665/0.1154, allocations: 1.801 MB / 0.493 GB, free: 6.391 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006598/0.1161, allocations: 279.3 kB / 0.4933 GB, free: 6.117 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.989e-05/0.1162, allocations: 0 / 0.4933 GB, free: 6.117 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.531e-05/0.1162, allocations: 23.73 kB / 0.4933 GB, free: 6.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.1165, allocations: 35.72 kB / 0.4934 GB, free: 6.059 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.1168, allocations: 129.8 kB / 0.4935 GB, free: 5.934 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.1171, allocations: 183.6 kB / 0.4936 GB, free: 5.754 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.1173, allocations: 45.95 kB / 0.4937 GB, free: 5.707 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.1174, allocations: 87.69 kB / 0.4938 GB, free: 5.621 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.1175, allocations: 95.53 kB / 0.4939 GB, free: 5.527 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.311e-05/0.1176, allocations: 16 kB / 0.4939 GB, free: 5.512 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.569e-05/0.1176, allocations: 20 kB / 0.4939 GB, free: 5.492 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.274e-05/0.1177, allocations: 35.89 kB / 0.4939 GB, free: 5.457 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.639e-05/0.1178, allocations: 71.58 kB / 0.494 GB, free: 5.387 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.118, allocations: 155.3 kB / 0.4942 GB, free: 5.234 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.118, allocations: 0 / 0.4942 GB, free: 5.234 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.118, allocations: 0 / 0.4942 GB, free: 5.234 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.118, allocations: 0 / 0.4942 GB, free: 5.234 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001007/0.119, allocations: 453.4 kB / 0.4946 GB, free: 4.762 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.119, allocations: 12.03 kB / 0.4946 GB, free: 4.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.031e-05/0.1191, allocations: 12.34 kB / 0.4946 GB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.698e-05/0.1192, allocations: 50.73 kB / 0.4947 GB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.1192, allocations: 24.8 kB / 0.4947 GB, free: 4.652 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.1195, allocations: 182.7 kB / 0.4949 GB, free: 4.449 MB / 366.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.1197, allocations: 126.9 kB / 0.495 GB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.034e-05/0.1197, allocations: 16 kB / 0.495 GB, free: 4.285 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004593/0.1202, allocations: 251.5 kB / 0.4952 GB, free: 4.012 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1202, allocations: 0 / 0.4952 GB, free: 4.012 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.1202, allocations: 12 kB / 0.4952 GB, free: 4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1202, allocations: 4 kB / 0.4952 GB, free: 3.996 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003959/0.1206, allocations: 143.8 kB / 0.4954 GB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.1217, allocations: 455.4 kB / 0.4958 GB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005069/0.1222, allocations: 190.4 kB / 0.496 GB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.1224, allocations: 80.84 kB / 0.4961 GB, free: 3.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.1224, allocations: 4 kB / 0.4961 GB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.1224, allocations: 38.5 kB / 0.4961 GB, free: 3.039 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.1224, allocations: 0 / 0.4961 GB, free: 3.039 MB / 366.1 MB Error: Internal error It is not possible to select continuous time states because Number of Equations 9 greater than number of States 8 to select from. Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.4965794869931415] Failed to read output from testmodel.py, exit status != 0: 0.13169378694146872 0.14780177399999994 0.026812845000000002 Calling exit ...