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.001714/0.001714, allocations: 114.6 kB / 17.16 MB, free: 6.004 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.001473/0.001473, allocations: 212.6 kB / 20.13 MB, free: 3.055 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.467/1.467, 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 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.04067/0.04067, allocations: 8.545 MB / 318.1 MB, free: 15.98 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.001962/0.001962, allocations: 69.08 kB / 442.4 MB, free: 40.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07864/0.0806, allocations: 55.38 MB / 497.8 MB, free: 7.129 MB / 350.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.002541/0.08314, allocations: 1.861 MB / 499.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005403/0.08368, allocations: 279.4 kB / 499.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.08378, allocations: 3.938 kB / 500 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.661e-05/0.08383, allocations: 15.8 kB / 500 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.08406, allocations: 39.72 kB / 0.4883 GB, free: 4.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.0843, allocations: 125.9 kB / 0.4884 GB, free: 4.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.08449, allocations: 191.5 kB / 0.4886 GB, free: 4.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.08462, allocations: 42.11 kB / 0.4886 GB, free: 4.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.372e-05/0.08469, allocations: 83.69 kB / 0.4887 GB, free: 4.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.0848, allocations: 91.59 kB / 0.4888 GB, free: 4.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.08484, allocations: 16 kB / 0.4888 GB, free: 4.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.498e-05/0.08486, allocations: 16 kB / 0.4888 GB, free: 4.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.313e-05/0.08489, allocations: 55.75 kB / 0.4889 GB, free: 4.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.08494, allocations: 75.58 kB / 0.489 GB, free: 4.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.08511, allocations: 159.2 kB / 0.4891 GB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.08511, allocations: 0 / 0.4891 GB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.08511, allocations: 0 / 0.4891 GB, free: 4.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.08512, allocations: 0 / 0.4891 GB, free: 4.094 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.0008559/0.08597, allocations: 0.5181 MB / 0.4896 GB, free: 3.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.08601, allocations: 8.031 kB / 0.4896 GB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.729e-05/0.08604, allocations: 4.422 kB / 0.4896 GB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.779e-05/0.0861, allocations: 62.62 kB / 0.4897 GB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.08615, allocations: 16.84 kB / 0.4897 GB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.08637, allocations: 244.4 kB / 0.4899 GB, free: 3.148 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.0001585/0.08653, allocations: 79.52 kB / 0.49 GB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/0.08657, allocations: 12 kB / 0.49 GB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004018/0.08697, allocations: 204.1 kB / 0.4902 GB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.08698, allocations: 4 kB / 0.4902 GB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.08701, allocations: 12 kB / 0.4902 GB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.08701, allocations: 4 kB / 0.4902 GB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003884/0.0874, allocations: 135.9 kB / 0.4904 GB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000851/0.08825, allocations: 0.512 MB / 0.4909 GB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.08871, allocations: 194.4 kB / 0.491 GB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.08889, allocations: 88.78 kB / 0.4911 GB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.08892, allocations: 4.062 kB / 0.4911 GB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.08893, allocations: 34.56 kB / 0.4912 GB, free: 1.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.08894, allocations: 0 / 0.4912 GB, free: 1.781 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.5481280380045064] Failed to read output from testmodel.py, exit status != 0: 0.09635283198440447 0.111702466 0.023639145 Calling exit ...