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.05987/0.05987, allocations: 8.544 MB / 27.37 MB, free: 2.906 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.001547/0.001547, allocations: 109.1 kB / 32.62 MB, free: 1.559 MB / 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.002151/0.002151, allocations: 215.2 kB / 38 MB, free: 3.027 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.599/1.599, allocations: 230.6 MB / 273.8 MB, free: 3.016 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.01994/0.01994, allocations: 3.41 MB / 335.7 MB, free: 8.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",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.00301/0.00301, allocations: 106.6 kB / 465 MB, free: 50.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1385, allocations: 56.32 MB / 0.5091 GB, free: 15.4 MB / 366.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.01697/0.1554, allocations: 9.849 MB / 0.5188 GB, free: 5.496 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008914/0.1644, allocations: 2.77 MB / 0.5215 GB, free: 2.719 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002421/0.1668, allocations: 63.62 kB / 0.5215 GB, free: 2.656 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.1686, allocations: 0.5081 MB / 0.522 GB, free: 2.145 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0036/0.1722, allocations: 0.7259 MB / 0.5227 GB, free: 1.414 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.1742, allocations: 0.5383 MB / 0.5233 GB, free: 0.875 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.00532/0.1796, allocations: 2.674 MB / 0.5259 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003359/0.1829, allocations: 1.34 MB / 0.5272 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003022/0.1859, allocations: 1.231 MB / 0.5284 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003524/0.1895, allocations: 1.467 MB / 0.5298 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001374/0.1908, allocations: 336 kB / 0.5301 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.1929, allocations: 439.8 kB / 0.5306 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001672/0.1946, allocations: 0.8726 MB / 0.5314 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002322/0.1969, allocations: 1.423 MB / 0.5328 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005773/0.2027, allocations: 4.161 MB / 0.5369 GB, free: 2.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.2027, allocations: 0 / 0.5369 GB, free: 2.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.2027, allocations: 4 kB / 0.5369 GB, free: 2.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001256/0.2028, allocations: 0 / 0.5369 GB, free: 2.832 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.007528/0.2103, allocations: 2.905 MB / 0.5397 GB, free: 15.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.2104, allocations: 8.031 kB / 0.5397 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004957/0.2109, allocations: 337.5 kB / 0.54 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009642/0.2118, allocations: 303.2 kB / 0.5403 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003346/0.2152, allocations: 1.43 MB / 0.5417 GB, free: 13.77 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.0003385/0.2155, allocations: 295.4 kB / 0.542 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003826/0.2159, allocations: 232 kB / 0.5422 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005869/0.2218, allocations: 2.954 MB / 0.5451 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.588e-05/0.2218, allocations: 0 / 0.5451 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002307/0.2221, allocations: 96 kB / 0.5452 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001465/0.2222, allocations: 108.5 kB / 0.5453 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004748/0.227, allocations: 2.36 MB / 0.5476 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01613/0.2431, allocations: 8.515 MB / 0.5559 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002826/0.2459, allocations: 1.333 MB / 0.5572 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001884/0.2478, allocations: 0.893 MB / 0.5581 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002616/0.2481, allocations: 48.95 kB / 0.5581 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001425/0.2495, allocations: 0.785 MB / 0.5589 GB, free: 11.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=104): time 3.277e-06/0.2495, allocations: 7.875 kB / 0.5589 GB, free: 11.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.01737/0.2669, allocations: 6.446 MB / 0.5652 GB, free: 5.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002008/0.2671, allocations: 252.3 kB / 0.5654 GB, free: 4.93 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.002321/0.2694, allocations: 1.182 MB / 0.5666 GB, free: 3.738 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001539/0.2695, allocations: 45.7 kB / 0.5666 GB, free: 3.688 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.2708, allocations: 1.043 MB / 0.5677 GB, free: 2.633 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005086/0.2713, allocations: 448.3 kB / 0.5681 GB, free: 2.191 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004822/0.2718, allocations: 259.5 kB / 0.5683 GB, free: 1.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.2719, allocations: 309 kB / 0.5686 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/0.2734, allocations: 0.7153 MB / 0.5693 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/0.2752, allocations: 1.119 MB / 0.5704 GB, free: 15.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00933/0.2845, allocations: 3.554 MB / 0.5739 GB, free: 11.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.01e-05/0.2845, allocations: 4 kB / 0.5739 GB, free: 11.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005578/0.2901, allocations: 2.47 MB / 0.5763 GB, free: 9.395 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.335e-05/0.2902, allocations: 37.7 kB / 0.5763 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/0.2902, allocations: 11.98 kB / 0.5764 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.2916, allocations: 0.5036 MB / 0.5768 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.2928, allocations: 303.5 kB / 0.5771 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.303, allocations: 8.389 MB / 0.5853 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.3049, allocations: 139.8 kB / 0.5855 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003497/0.3053, allocations: 59.94 kB / 0.5855 GB, free: 15.48 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.003235/0.3085, allocations: 1.27 MB / 0.5868 GB, free: 14.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00195/0.3105, allocations: 1.095 MB / 0.5878 GB, free: 12.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009363/0.3198, allocations: 3.484 MB / 0.5912 GB, free: 9.289 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.093e-05/0.3198, allocations: 4 kB / 0.5912 GB, free: 9.285 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.005548/0.3254, allocations: 2.423 MB / 0.5936 GB, free: 6.832 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.426e-05/0.3255, allocations: 45.77 kB / 0.5936 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/0.3255, allocations: 8 kB / 0.5937 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.3268, allocations: 0.5074 MB / 0.5941 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.328, allocations: 287.6 kB / 0.5944 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3465/0.6745, allocations: 8.387 MB / 0.6026 GB, free: 79.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.6764, allocations: 139.2 kB / 0.6027 GB, free: 79.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/0.6766, allocations: 62.19 kB / 0.6028 GB, free: 79.39 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.0005479/0.6771, allocations: 298.1 kB / 0.6031 GB, free: 79.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004263/0.6775, allocations: 147.2 kB / 0.6032 GB, free: 79.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004804/0.6823, allocations: 2.127 MB / 0.6053 GB, free: 79.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.6824, allocations: 12.41 kB / 0.6053 GB, free: 79.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.6824, allocations: 4.891 kB / 0.6053 GB, free: 79.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.521e-05/0.6824, allocations: 7.188 kB / 0.6053 GB, free: 79.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009845/0.6922, allocations: 4.598 MB / 0.6098 GB, free: 77.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.6923, allocations: 3.688 kB / 0.6098 GB, free: 77.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009093/0.6932, allocations: 203.2 kB / 0.61 GB, free: 77.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001531/0.6947, allocations: 0.5202 MB / 0.6105 GB, free: 77.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.6948, allocations: 38.06 kB / 0.6106 GB, free: 77.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007596/0.7024, allocations: 8.201 MB / 0.6186 GB, free: 70.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/0.7024, allocations: 9.875 kB / 0.6186 GB, free: 70.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006135/0.7085, allocations: 3.167 MB / 0.6217 GB, free: 69.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/0.7097, allocations: 299.9 kB / 0.622 GB, free: 69.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.7099, allocations: 35.53 kB / 0.622 GB, free: 69.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00092/0.7108, allocations: 103.3 kB / 0.6221 GB, free: 69.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003041/0.7111, allocations: 118.8 kB / 0.6222 GB, free: 69.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.781e-05/0.7112, allocations: 41.8 kB / 0.6222 GB, free: 69.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001101/0.7123, allocations: 0.804 MB / 0.623 GB, free: 68.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7123, allocations: 0 / 0.623 GB, free: 68.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002594/0.7149, allocations: 0.7835 MB / 0.6238 GB, free: 68.8 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.004889/0.7198, allocations: 3.803 MB / 0.6275 GB, free: 66.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008678/0.7285, allocations: 6.358 MB / 0.6337 GB, free: 62.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.7285, allocations: 7.438 kB / 0.6337 GB, free: 62.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003617/0.7321, allocations: 2.682 MB / 0.6363 GB, free: 59.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.7342, allocations: 392.9 kB / 0.6367 GB, free: 59.3 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.0171/0.7513, allocations: 12.46 MB / 0.6489 GB, free: 46.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/0.7526, allocations: 1.833 MB / 0.6507 GB, free: 44.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001152/0.7537, allocations: 427.9 kB / 0.6511 GB, free: 44.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008421/0.7546, allocations: 0.8586 MB / 0.6519 GB, free: 43.27 MB / 446.1 MB Notification: Performance of SimCode: time 1.382e-06/0.7546, allocations: 4 kB / 0.6519 GB, free: 43.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1188/0.8734, allocations: 50.48 MB / 0.7012 GB, free: 9.195 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.27/17.14, allocations: 11.2 kB / 0.7012 GB, free: 9.188 MB / 462.1 MB " [Timeout remaining time 643] (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: 20.76896477001719] Failed to read output from testmodel.py, exit status != 0: 17.283007844816893 17.311768656 17.103889279 Calling exit ...