Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001265/0.001265, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001472/0.001472, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.417/1.417, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04214/0.04214, allocations: 8.542 MB / 321.8 MB, free: 10.61 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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_EHPTlib_ElectricDrives_ASMArelated_ControlLogic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.ASMArelated.ControlLogic,fileNamePrefix="EHPTlib_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.002023/0.002023, allocations: 71.91 kB / 447.7 MB, free: 15.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1055, allocations: 55.42 MB / 0.4913 GB, free: 8.43 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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 3.0.0/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 3.0.0/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 3.0.0/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 3.0.0/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.003326/0.1088, allocations: 1.875 MB / 0.4932 GB, free: 6.543 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006147/0.1095, allocations: 279.3 kB / 0.4934 GB, free: 6.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.435e-05/0.1095, allocations: 7.938 kB / 0.4934 GB, free: 6.262 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.495e-05/0.1096, allocations: 15.8 kB / 0.4935 GB, free: 6.246 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.1098, allocations: 39.7 kB / 0.4935 GB, free: 6.207 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.1101, allocations: 119.8 kB / 0.4936 GB, free: 6.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.1104, allocations: 191.5 kB / 0.4938 GB, free: 5.902 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.1105, allocations: 41.97 kB / 0.4938 GB, free: 5.859 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.1106, allocations: 87.62 kB / 0.4939 GB, free: 5.773 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.1108, allocations: 87.59 kB / 0.494 GB, free: 5.688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.1108, allocations: 20 kB / 0.494 GB, free: 5.668 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.314e-05/0.1109, allocations: 16 kB / 0.494 GB, free: 5.652 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.189e-05/0.1109, allocations: 43.89 kB / 0.4941 GB, free: 5.609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.683e-05/0.111, allocations: 87.44 kB / 0.4942 GB, free: 5.523 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.1112, allocations: 155.3 kB / 0.4943 GB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1112, allocations: 0 / 0.4943 GB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1112, allocations: 0 / 0.4943 GB, free: 5.371 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1112, allocations: 0 / 0.4943 GB, free: 5.371 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.001048/0.1123, allocations: 453.4 kB / 0.4947 GB, free: 4.898 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1123, allocations: 8.031 kB / 0.4947 GB, free: 4.891 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.149e-05/0.1124, allocations: 8.422 kB / 0.4948 GB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.876e-05/0.1124, allocations: 50.72 kB / 0.4948 GB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.235e-05/0.1125, allocations: 28.8 kB / 0.4948 GB, free: 4.793 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.1128, allocations: 182.7 kB / 0.495 GB, free: 4.59 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.0001969/0.113, allocations: 130.9 kB / 0.4951 GB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.1131, allocations: 16 kB / 0.4951 GB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004401/0.1135, allocations: 196.1 kB / 0.4953 GB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1135, allocations: 4 kB / 0.4953 GB, free: 4.211 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.1135, allocations: 8 kB / 0.4953 GB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1135, allocations: 0 / 0.4953 GB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004034/0.1139, allocations: 143.8 kB / 0.4955 GB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.115, allocations: 495.3 kB / 0.496 GB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005528/0.1155, allocations: 194.5 kB / 0.4961 GB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.1157, allocations: 80.8 kB / 0.4962 GB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.1158, allocations: 4.078 kB / 0.4962 GB, free: 3.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.1158, allocations: 34.56 kB / 0.4963 GB, free: 3.207 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.1158, allocations: 0 / 0.4963 GB, free: 3.207 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.4234118290478364] Failed to read output from testmodel.py, exit status != 0: 0.1244298629462719 0.142502016 0.027793954000000003 Calling exit ...