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.001288/0.001288, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001388/0.001388, allocations: 221.8 kB / 23.03 MB, free: 4.945 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.503/1.503, 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 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.0424/0.0424, allocations: 8.548 MB / 321.8 MB, free: 10.55 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.00194/0.00194, allocations: 63.91 kB / 447.6 MB, free: 15.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1047, allocations: 55.42 MB / 0.4913 GB, free: 8.289 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.003166/0.1078, allocations: 1.804 MB / 0.493 GB, free: 6.477 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000591/0.1084, allocations: 275.3 kB / 0.4933 GB, free: 6.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.695e-05/0.1085, allocations: 3.938 kB / 0.4933 GB, free: 6.203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.326e-05/0.1086, allocations: 15.8 kB / 0.4933 GB, free: 6.188 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.1088, allocations: 43.7 kB / 0.4933 GB, free: 6.145 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.1091, allocations: 123.8 kB / 0.4935 GB, free: 6.023 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.1093, allocations: 191.5 kB / 0.4936 GB, free: 5.836 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.1094, allocations: 41.97 kB / 0.4937 GB, free: 5.793 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.867e-05/0.1095, allocations: 83.64 kB / 0.4938 GB, free: 5.711 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.1097, allocations: 91.58 kB / 0.4939 GB, free: 5.621 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.528e-05/0.1097, allocations: 16 kB / 0.4939 GB, free: 5.605 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.297e-05/0.1098, allocations: 16 kB / 0.4939 GB, free: 5.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.488e-05/0.1098, allocations: 43.89 kB / 0.4939 GB, free: 5.547 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.636e-05/0.1099, allocations: 71.58 kB / 0.494 GB, free: 5.477 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.1101, allocations: 159.3 kB / 0.4941 GB, free: 5.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1101, allocations: 0 / 0.4941 GB, free: 5.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1101, allocations: 0 / 0.4941 GB, free: 5.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.1101, allocations: 3.938 kB / 0.4941 GB, free: 5.316 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.0009715/0.1111, allocations: 449.5 kB / 0.4946 GB, free: 4.848 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1111, allocations: 15.97 kB / 0.4946 GB, free: 4.832 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.539e-05/0.1112, allocations: 8.406 kB / 0.4946 GB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.29e-05/0.1112, allocations: 46.73 kB / 0.4946 GB, free: 4.766 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.942e-05/0.1113, allocations: 24.8 kB / 0.4947 GB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.1116, allocations: 186.6 kB / 0.4948 GB, free: 4.535 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.0002059/0.1118, allocations: 142.1 kB / 0.495 GB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.1118, allocations: 12 kB / 0.495 GB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000454/0.1123, allocations: 243.5 kB / 0.4952 GB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1123, allocations: 0 / 0.4952 GB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.1123, allocations: 12 kB / 0.4952 GB, free: 4.086 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1123, allocations: 3.938 kB / 0.4952 GB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000372/0.1127, allocations: 143.9 kB / 0.4954 GB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009576/0.1137, allocations: 455.4 kB / 0.4958 GB, free: 3.453 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005177/0.1142, allocations: 194.5 kB / 0.496 GB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.1144, allocations: 80.8 kB / 0.4961 GB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.1144, allocations: 3.984 kB / 0.4961 GB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.1145, allocations: 34.56 kB / 0.4961 GB, free: 3.125 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.1145, allocations: 0 / 0.4961 GB, free: 3.125 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.4900885700481012] Failed to read output from testmodel.py, exit status != 0: 0.12367229000665247 0.140339551 0.027133497000000003 Calling exit ...