Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.conf.json 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.07381/0.07381, allocations: 8.539 MB / 25.59 MB, free: 4.293 MB / 19.63 MB " [Timeout remaining time 180] 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.001281/0.001281, allocations: 107.3 kB / 30.49 MB, free: 52 kB / 19.63 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.001535/0.001535, allocations: 213 kB / 35.53 MB, free: 1.562 MB / 26.18 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.497/1.497, allocations: 230.6 MB / 271 MB, free: 3.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo): time 0.03068/0.03068, allocations: 3.423 MB / 332.5 MB, free: 9.941 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 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) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",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: EHPTexamples 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.002794/0.002794, allocations: 104.5 kB / 460 MB, free: 50.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08493/0.08772, allocations: 56.27 MB / 0.5042 GB, free: 0.8359 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Utilities/TerminalBox.mo:4:3-6:29:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start=\"Y\") as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.01173/0.09944, allocations: 9.808 MB / 0.5138 GB, free: 6.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005762/0.1052, allocations: 2.754 MB / 0.5165 GB, free: 4.219 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.1065, allocations: 67.56 kB / 0.5165 GB, free: 4.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.1077, allocations: 0.5042 MB / 0.517 GB, free: 3.645 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.1096, allocations: 0.7104 MB / 0.5177 GB, free: 2.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.1107, allocations: 0.55 MB / 0.5183 GB, free: 2.379 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.003541/0.1143, allocations: 2.676 MB / 0.5209 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002761/0.117, allocations: 1.66 MB / 0.5225 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/0.1192, allocations: 1.231 MB / 0.5237 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002418/0.1216, allocations: 1.463 MB / 0.5251 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007055/0.1223, allocations: 340 kB / 0.5254 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008148/0.1231, allocations: 439.8 kB / 0.5259 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008685/0.124, allocations: 0.8726 MB / 0.5267 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001549/0.1256, allocations: 1.42 MB / 0.5281 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005087/0.1306, allocations: 4.165 MB / 0.5322 GB, free: 4.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1306, allocations: 0 / 0.5322 GB, free: 4.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1306, allocations: 4 kB / 0.5322 GB, free: 4.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001236/0.1308, allocations: 0 / 0.5322 GB, free: 4.012 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.006449/0.1372, allocations: 2.977 MB / 0.5351 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1373, allocations: 8.031 kB / 0.5351 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.996e-05/0.1373, allocations: 60.8 kB / 0.5352 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004311/0.1378, allocations: 337.5 kB / 0.5355 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008258/0.1386, allocations: 307.2 kB / 0.5358 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0029/0.1415, allocations: 1.498 MB / 0.5372 GB, free: 14.71 MB / 398.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: logic.tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002769/0.1418, allocations: 244 kB / 0.5375 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003641/0.1421, allocations: 232 kB / 0.5377 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00504/0.1472, allocations: 2.954 MB / 0.5406 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.454e-05/0.1472, allocations: 8 kB / 0.5406 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/0.1474, allocations: 96 kB / 0.5407 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.1476, allocations: 108.5 kB / 0.5408 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004415/0.152, allocations: 2.364 MB / 0.5431 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0154/0.1674, allocations: 8.677 MB / 0.5516 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002959/0.1703, allocations: 1.562 MB / 0.5531 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/0.1722, allocations: 0.9001 MB / 0.554 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002737/0.1725, allocations: 134 kB / 0.5541 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001515/0.174, allocations: 0.7811 MB / 0.5548 GB, free: 12.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=104): time 2.915e-06/0.174, allocations: 0 / 0.5548 GB, free: 12.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.0174/0.1914, allocations: 6.965 MB / 0.5616 GB, free: 5.031 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001972/0.1916, allocations: 252.3 kB / 0.5619 GB, free: 4.73 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.1936, allocations: 1.183 MB / 0.563 GB, free: 3.535 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001798/0.1938, allocations: 45.7 kB / 0.5631 GB, free: 3.484 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009961/0.1948, allocations: 1.043 MB / 0.5641 GB, free: 2.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004999/0.1953, allocations: 440.3 kB / 0.5645 GB, free: 1.996 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004724/0.1958, allocations: 263.5 kB / 0.5648 GB, free: 1.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1959, allocations: 305.1 kB / 0.5651 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.1973, allocations: 0.7153 MB / 0.5658 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.199, allocations: 1.119 MB / 0.5669 GB, free: 15.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009304/0.2083, allocations: 3.558 MB / 0.5703 GB, free: 11.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.2083, allocations: 8 kB / 0.5703 GB, free: 11.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004793/0.2131, allocations: 2.538 MB / 0.5728 GB, free: 9.102 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.2132, allocations: 45.72 kB / 0.5729 GB, free: 9.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.2132, allocations: 8 kB / 0.5729 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.2144, allocations: 0.4995 MB / 0.5734 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.2156, allocations: 303.5 kB / 0.5736 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008953/0.2246, allocations: 8.803 MB / 0.5822 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.2261, allocations: 135.9 kB / 0.5824 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/0.2263, allocations: 63.98 kB / 0.5824 GB, free: 14.68 MB / 446.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002397/0.2287, allocations: 1.265 MB / 0.5837 GB, free: 13.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001573/0.2303, allocations: 1.096 MB / 0.5847 GB, free: 12.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008534/0.2388, allocations: 3.492 MB / 0.5882 GB, free: 8.492 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.847e-06/0.2388, allocations: 0 / 0.5882 GB, free: 8.492 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004814/0.2436, allocations: 2.51 MB / 0.5906 GB, free: 5.934 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.701e-05/0.2437, allocations: 37.7 kB / 0.5906 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.2437, allocations: 12 kB / 0.5907 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.2449, allocations: 0.4994 MB / 0.5911 GB, free: 5.367 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.2461, allocations: 291.5 kB / 0.5914 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2126/0.4586, allocations: 8.798 MB / 0.6 GB, free: 79.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.4604, allocations: 138.8 kB / 0.6001 GB, free: 79.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.4605, allocations: 58.84 kB / 0.6002 GB, free: 79.34 MB / 446.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.tqReq.count,$PRE.tqReq.T_start,tqReq.count,tqReq.T_start,logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,$whenCondition1,genSines.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004229/0.4609, allocations: 289.7 kB / 0.6005 GB, free: 79.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002628/0.4612, allocations: 152.6 kB / 0.6006 GB, free: 79.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004271/0.4654, allocations: 2.203 MB / 0.6028 GB, free: 78.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.4655, allocations: 12.12 kB / 0.6028 GB, free: 78.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.4655, allocations: 4.688 kB / 0.6028 GB, free: 78.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/0.4655, allocations: 8.578 kB / 0.6028 GB, free: 78.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009731/0.4752, allocations: 4.702 MB / 0.6074 GB, free: 76.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/0.4752, allocations: 3.312 kB / 0.6074 GB, free: 76.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008618/0.4761, allocations: 211.6 kB / 0.6076 GB, free: 76.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001483/0.4776, allocations: 0.5112 MB / 0.6081 GB, free: 76.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.4777, allocations: 43.55 kB / 0.6081 GB, free: 76.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006549/0.4842, allocations: 8.617 MB / 0.6165 GB, free: 69.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.4842, allocations: 7.906 kB / 0.6166 GB, free: 69.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005246/0.4895, allocations: 3.247 MB / 0.6197 GB, free: 68.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006487/0.4901, allocations: 367.4 kB / 0.6201 GB, free: 68.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/0.4903, allocations: 43.62 kB / 0.6201 GB, free: 68.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009512/0.4913, allocations: 98.08 kB / 0.6202 GB, free: 68.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/0.4915, allocations: 113.2 kB / 0.6203 GB, free: 68.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-05/0.4916, allocations: 39.38 kB / 0.6204 GB, free: 68.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008963/0.4925, allocations: 0.8048 MB / 0.6211 GB, free: 67.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4925, allocations: 0 / 0.6211 GB, free: 67.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002374/0.4949, allocations: 0.7764 MB / 0.6219 GB, free: 67.62 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],genSines.integrator.y,tqRes.phi) * Number of discrete variables: 6 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,tqReq.T_start,tqReq.count) * Number of discrete states: 1 (tqReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004948/0.4998, allocations: 3.881 MB / 0.6257 GB, free: 65.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008104/0.5079, allocations: 6.505 MB / 0.632 GB, free: 60.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.5079, allocations: 4 kB / 0.632 GB, free: 60.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003371/0.5113, allocations: 2.768 MB / 0.6348 GB, free: 57.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.5131, allocations: 404 kB / 0.6351 GB, free: 56.93 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1963:3-1963:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/0.5287, allocations: 12.49 MB / 0.6473 GB, free: 43.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.5297, allocations: 1.841 MB / 0.6491 GB, free: 42.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001066/0.5308, allocations: 421.3 kB / 0.6495 GB, free: 41.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007988/0.5316, allocations: 0.8586 MB / 0.6504 GB, free: 40.84 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5316, allocations: 0 / 0.6504 GB, free: 40.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09225/0.6239, allocations: 48.93 MB / 0.6982 GB, free: 8.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.84, allocations: 21.8 kB / 0.6982 GB, free: 8.305 MB / 462.1 MB " [Timeout remaining time 646] (rm -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing.fmu > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.436840073030908] Failed to read output from testmodel.py, exit status != 0: 14.013692306005396 14.040022896 13.904508732 Calling exit ...