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.001384/0.001384, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001767/0.001767, allocations: 216.2 kB / 23.04 MB, free: 5.078 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.04346/0.04346, allocations: 8.539 MB / 321.8 MB, free: 10.62 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.00207/0.00207, allocations: 64.14 kB / 447.7 MB, free: 15.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1202, allocations: 55.42 MB / 0.4913 GB, free: 8.441 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.003229/0.1234, allocations: 1.871 MB / 0.4932 GB, free: 6.559 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006511/0.1241, allocations: 287.3 kB / 0.4934 GB, free: 6.277 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.412e-05/0.1241, allocations: 3.938 kB / 0.4935 GB, free: 6.273 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.304e-05/0.1242, allocations: 15.8 kB / 0.4935 GB, free: 6.258 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.1245, allocations: 39.66 kB / 0.4935 GB, free: 6.219 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.1248, allocations: 123.8 kB / 0.4936 GB, free: 6.098 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.125, allocations: 191.5 kB / 0.4938 GB, free: 5.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.1252, allocations: 41.95 kB / 0.4938 GB, free: 5.867 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1253, allocations: 83.69 kB / 0.4939 GB, free: 5.785 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.1254, allocations: 91.59 kB / 0.494 GB, free: 5.695 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.1255, allocations: 19.94 kB / 0.494 GB, free: 5.676 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.893e-05/0.1255, allocations: 16 kB / 0.494 GB, free: 5.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.986e-05/0.1255, allocations: 43.88 kB / 0.4941 GB, free: 5.617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.62e-05/0.1256, allocations: 71.59 kB / 0.4942 GB, free: 5.547 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.1258, allocations: 171.2 kB / 0.4943 GB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1258, allocations: 0 / 0.4943 GB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1258, allocations: 0 / 0.4943 GB, free: 5.379 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1259, allocations: 0 / 0.4943 GB, free: 5.379 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.001005/0.1269, allocations: 449.5 kB / 0.4948 GB, free: 4.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1269, allocations: 12.03 kB / 0.4948 GB, free: 4.898 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.926e-05/0.1269, allocations: 432 / 0.4948 GB, free: 4.895 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.139e-05/0.127, allocations: 54.67 kB / 0.4948 GB, free: 4.832 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.1271, allocations: 20.8 kB / 0.4948 GB, free: 4.812 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.1273, allocations: 182.7 kB / 0.495 GB, free: 4.609 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.000173/0.1275, allocations: 138.9 kB / 0.4951 GB, free: 4.449 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/0.1275, allocations: 12 kB / 0.4952 GB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004044/0.1279, allocations: 196.1 kB / 0.4953 GB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.128, allocations: 0 / 0.4953 GB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.128, allocations: 4 kB / 0.4953 GB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.128, allocations: 8 kB / 0.4954 GB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/0.1284, allocations: 143.9 kB / 0.4955 GB, free: 4.078 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009591/0.1293, allocations: 495.3 kB / 0.496 GB, free: 3.551 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005235/0.1299, allocations: 186.5 kB / 0.4961 GB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.1301, allocations: 92.73 kB / 0.4962 GB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.1301, allocations: 4 kB / 0.4962 GB, free: 3.262 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.1301, allocations: 38.44 kB / 0.4963 GB, free: 3.215 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.1301, allocations: 0 / 0.4963 GB, free: 3.215 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.581456614891067] Failed to read output from testmodel.py, exit status != 0: 0.13855638809036463 0.154977799 0.025881168000000003 Calling exit ...