Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_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.05104/0.05104, allocations: 8.538 MB / 27.39 MB, free: 2.824 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.001324/0.001324, allocations: 115.4 kB / 32.61 MB, free: 1.562 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.001741/0.001741, allocations: 212.2 kB / 37.97 MB, free: 2.965 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.464/1.464, allocations: 230.6 MB / 273.8 MB, free: 2.852 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01764/0.01764, allocations: 3.413 MB / 335.7 MB, free: 8.738 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 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) 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_latest_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_latest_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.002954/0.002954, allocations: 102.6 kB / 464.9 MB, free: 50.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0887/0.09166, allocations: 56.33 MB / 0.5091 GB, free: 15.22 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.01272/0.1044, allocations: 8.629 MB / 0.5175 GB, free: 6.543 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006627/0.111, allocations: 2.638 MB / 0.5201 GB, free: 3.898 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.1123, allocations: 67.56 kB / 0.5201 GB, free: 3.832 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.1138, allocations: 496.4 kB / 0.5206 GB, free: 3.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.1158, allocations: 0.7103 MB / 0.5213 GB, free: 2.629 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.1169, allocations: 0.5494 MB / 0.5218 GB, free: 2.082 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.003331/0.1203, allocations: 2.674 MB / 0.5244 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001815/0.1221, allocations: 1.277 MB / 0.5257 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.1238, allocations: 1.238 MB / 0.5269 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001926/0.1258, allocations: 1.369 MB / 0.5282 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005439/0.1263, allocations: 336 kB / 0.5285 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007567/0.1271, allocations: 423.8 kB / 0.529 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008834/0.1279, allocations: 0.8765 MB / 0.5298 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.1293, allocations: 1.159 MB / 0.5309 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004425/0.1337, allocations: 4.184 MB / 0.535 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1337, allocations: 0 / 0.535 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1337, allocations: 0 / 0.535 GB, free: 4.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.364e-05/0.1338, allocations: 0 / 0.535 GB, free: 4.449 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.005943/0.1397, allocations: 2.905 MB / 0.5379 GB, free: 1.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.1398, allocations: 8.031 kB / 0.5379 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004501/0.1402, allocations: 337.5 kB / 0.5382 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007937/0.141, allocations: 303.2 kB / 0.5385 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002927/0.144, allocations: 1.43 MB / 0.5399 GB, free: 15.38 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.0003336/0.1443, allocations: 295.3 kB / 0.5402 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003655/0.1447, allocations: 235.9 kB / 0.5404 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005424/0.1501, allocations: 3.104 MB / 0.5434 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-05/0.1501, allocations: 8 kB / 0.5434 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000212/0.1504, allocations: 92 kB / 0.5435 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/0.1505, allocations: 104.5 kB / 0.5436 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004702/0.1552, allocations: 2.364 MB / 0.5459 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01538/0.1706, allocations: 7.802 MB / 0.5535 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/0.1733, allocations: 1.333 MB / 0.5548 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/0.1752, allocations: 0.8969 MB / 0.5557 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002118/0.1754, allocations: 40.97 kB / 0.5558 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00149/0.1769, allocations: 0.8854 MB / 0.5566 GB, free: 13.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=104): time 3.096e-06/0.1769, allocations: 0 / 0.5566 GB, free: 13.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.01587/0.1928, allocations: 6.455 MB / 0.5629 GB, free: 7.246 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/0.1929, allocations: 252.3 kB / 0.5632 GB, free: 6.945 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.001854/0.1948, allocations: 1.194 MB / 0.5643 GB, free: 5.738 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.1949, allocations: 49.7 kB / 0.5644 GB, free: 5.684 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009884/0.1959, allocations: 1.039 MB / 0.5654 GB, free: 4.633 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004997/0.1964, allocations: 440.3 kB / 0.5658 GB, free: 4.199 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004834/0.1969, allocations: 259.5 kB / 0.5661 GB, free: 3.938 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.197, allocations: 313.1 kB / 0.5664 GB, free: 3.629 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.1984, allocations: 0.7403 MB / 0.5671 GB, free: 2.879 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001778/0.2002, allocations: 1.298 MB / 0.5684 GB, free: 1.367 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008579/0.2088, allocations: 3.554 MB / 0.5718 GB, free: 13.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.2088, allocations: 4 kB / 0.5718 GB, free: 13.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004743/0.2136, allocations: 2.499 MB / 0.5743 GB, free: 11.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.567e-05/0.2136, allocations: 37.7 kB / 0.5743 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.725e-05/0.2137, allocations: 20.3 kB / 0.5743 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.2149, allocations: 0.4959 MB / 0.5748 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.2161, allocations: 307.5 kB / 0.5751 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009472/0.2255, allocations: 8.334 MB / 0.5832 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.2272, allocations: 139.8 kB / 0.5834 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.2273, allocations: 63.92 kB / 0.5834 GB, free: 1.246 MB / 430.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.002725/0.23, allocations: 1.294 MB / 0.5847 GB, free: 15.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001764/0.2318, allocations: 1.275 MB / 0.5859 GB, free: 14.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008785/0.2406, allocations: 3.492 MB / 0.5894 GB, free: 10.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.387e-05/0.2406, allocations: 4 kB / 0.5894 GB, free: 10.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004967/0.2456, allocations: 2.464 MB / 0.5918 GB, free: 8.285 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.2456, allocations: 37.69 kB / 0.5918 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.2456, allocations: 12 kB / 0.5918 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.2468, allocations: 0.5002 MB / 0.5923 GB, free: 7.715 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.248, allocations: 295.5 kB / 0.5926 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2175/0.4655, allocations: 8.318 MB / 0.6007 GB, free: 81.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.467, allocations: 140.9 kB / 0.6008 GB, free: 81.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.4672, allocations: 68.22 kB / 0.6009 GB, free: 81.16 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.000396/0.4675, allocations: 291.8 kB / 0.6012 GB, free: 80.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/0.4678, allocations: 148.2 kB / 0.6013 GB, free: 80.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003858/0.4717, allocations: 2.132 MB / 0.6034 GB, free: 80.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.4717, allocations: 13.92 kB / 0.6034 GB, free: 80.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.4717, allocations: 4.125 kB / 0.6034 GB, free: 80.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/0.4717, allocations: 7.516 kB / 0.6034 GB, free: 80.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007424/0.4791, allocations: 4.359 MB / 0.6077 GB, free: 79.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.4791, allocations: 8.078 kB / 0.6077 GB, free: 79.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000849/0.48, allocations: 203.7 kB / 0.6079 GB, free: 79.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001278/0.4813, allocations: 0.5138 MB / 0.6084 GB, free: 79.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.4814, allocations: 39.16 kB / 0.6084 GB, free: 79.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006413/0.4878, allocations: 8.158 MB / 0.6164 GB, free: 72.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.4878, allocations: 8.375 kB / 0.6164 GB, free: 72.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004871/0.4927, allocations: 3.174 MB / 0.6195 GB, free: 71.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008291/0.4935, allocations: 288.8 kB / 0.6198 GB, free: 71.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/0.4937, allocations: 32.8 kB / 0.6198 GB, free: 71.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009239/0.4946, allocations: 107.6 kB / 0.6199 GB, free: 71.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/0.4949, allocations: 113.1 kB / 0.62 GB, free: 71.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.046e-05/0.495, allocations: 43.19 kB / 0.6201 GB, free: 71.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001173/0.4961, allocations: 0.8032 MB / 0.6208 GB, free: 70.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4961, allocations: 0 / 0.6208 GB, free: 70.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0025/0.4986, allocations: 0.78 MB / 0.6216 GB, free: 70.87 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.004629/0.5033, allocations: 3.812 MB / 0.6253 GB, free: 69.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007518/0.5108, allocations: 6.417 MB / 0.6316 GB, free: 64.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.954e-06/0.5108, allocations: 0 / 0.6316 GB, free: 64.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00322/0.514, allocations: 2.695 MB / 0.6342 GB, free: 61.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.5157, allocations: 392.2 kB / 0.6346 GB, free: 61.23 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1970:3-1970:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/0.5307, allocations: 12.52 MB / 0.6468 GB, free: 48.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.5317, allocations: 1.271 MB / 0.6481 GB, free: 46.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001117/0.5329, allocations: 427.9 kB / 0.6485 GB, free: 46.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008168/0.5337, allocations: 0.8547 MB / 0.6493 GB, free: 45.67 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5337, allocations: 7.938 kB / 0.6493 GB, free: 45.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09428/0.628, allocations: 52.2 MB / 0.7003 GB, free: 9.969 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.8, allocations: 7.109 kB / 0.7003 GB, free: 9.965 MB / 462.1 MB " [Timeout remaining time 646] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing.fmu > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.934792049229145] Failed to read output from testmodel.py, exit status != 0: 13.943041536957026 13.959939795 13.822938585 Calling exit ...