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.001364/0.001364, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.001361/0.001361, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.506/1.506, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.06664/0.06664, allocations: 8.551 MB / 318.1 MB, free: 15.99 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.001909/0.001909, allocations: 67.36 kB / 442.4 MB, free: 40.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09899/0.1009, allocations: 55.38 MB / 497.8 MB, free: 7.145 MB / 350.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.002756/0.1037, allocations: 1.86 MB / 499.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005232/0.1042, allocations: 279.4 kB / 500 MB, free: 5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.311e-05/0.1043, allocations: 3.938 kB / 500 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.504e-05/0.1043, allocations: 19.8 kB / 500 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.1045, allocations: 31.72 kB / 0.4883 GB, free: 4.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.1048, allocations: 129.9 kB / 0.4884 GB, free: 4.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.1049, allocations: 195.5 kB / 0.4886 GB, free: 4.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.1051, allocations: 42.11 kB / 0.4886 GB, free: 4.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.772e-05/0.1052, allocations: 79.69 kB / 0.4887 GB, free: 4.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.1053, allocations: 91.59 kB / 0.4888 GB, free: 4.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.1053, allocations: 16 kB / 0.4888 GB, free: 4.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.36e-05/0.1053, allocations: 16 kB / 0.4888 GB, free: 4.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.628e-05/0.1054, allocations: 51.75 kB / 0.4889 GB, free: 4.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.1054, allocations: 75.58 kB / 0.489 GB, free: 4.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.1056, allocations: 171.2 kB / 0.4891 GB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1056, allocations: 0 / 0.4891 GB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1056, allocations: 0 / 0.4891 GB, free: 4.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1056, allocations: 0 / 0.4891 GB, free: 4.098 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008141/0.1064, allocations: 0.5103 MB / 0.4896 GB, free: 3.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.1064, allocations: 12.03 kB / 0.4896 GB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.088e-05/0.1065, allocations: 4.422 kB / 0.4896 GB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.416e-05/0.1065, allocations: 54.69 kB / 0.4897 GB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/0.1066, allocations: 24.78 kB / 0.4897 GB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.1068, allocations: 244.4 kB / 0.4899 GB, free: 3.156 MB / 350.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.0001231/0.1069, allocations: 75.52 kB / 0.49 GB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.1069, allocations: 12 kB / 0.49 GB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.1073, allocations: 208.1 kB / 0.4902 GB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1073, allocations: 0 / 0.4902 GB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.1073, allocations: 8 kB / 0.4902 GB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1073, allocations: 4 kB / 0.4902 GB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003476/0.1076, allocations: 139.9 kB / 0.4904 GB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007823/0.1084, allocations: 0.5158 MB / 0.4909 GB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.1089, allocations: 190.5 kB / 0.4911 GB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.1091, allocations: 80.84 kB / 0.4911 GB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.1091, allocations: 0 / 0.4911 GB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.1091, allocations: 34.56 kB / 0.4912 GB, free: 1.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.1091, allocations: 0 / 0.4912 GB, free: 1.805 MB / 350.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.6457051260513254] Failed to read output from testmodel.py, exit status != 0: 0.11655254696961492 0.13131642300000002 0.022812945 Calling exit ...