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.06393/0.06393, allocations: 8.534 MB / 27.38 MB, free: 2.398 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.001289/0.001289, allocations: 108 kB / 32.61 MB, free: 0.9375 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.001642/0.001642, allocations: 209.7 kB / 37.97 MB, free: 2.438 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.557/1.557, allocations: 230.6 MB / 273.8 MB, free: 2.84 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.0184/0.0184, allocations: 3.414 MB / 335.7 MB, free: 8.734 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.003213/0.003213, allocations: 98.56 kB / 464.9 MB, free: 50.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09848/0.1017, allocations: 56.34 MB / 0.5091 GB, free: 15.2 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.01429/0.116, allocations: 8.625 MB / 0.5175 GB, free: 6.527 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006949/0.1229, allocations: 2.649 MB / 0.5201 GB, free: 3.871 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/0.1247, allocations: 63.62 kB / 0.5201 GB, free: 3.809 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.1263, allocations: 496.3 kB / 0.5206 GB, free: 3.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002811/0.1291, allocations: 0.7064 MB / 0.5213 GB, free: 2.609 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.1305, allocations: 0.5497 MB / 0.5218 GB, free: 2.062 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.003956/0.1344, allocations: 2.677 MB / 0.5244 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002021/0.1365, allocations: 1.281 MB / 0.5257 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00203/0.1385, allocations: 1.234 MB / 0.5269 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002372/0.1409, allocations: 1.366 MB / 0.5282 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005049/0.1414, allocations: 336 kB / 0.5286 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000877/0.1422, allocations: 423.8 kB / 0.529 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009479/0.1432, allocations: 0.8766 MB / 0.5298 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.1447, allocations: 1.159 MB / 0.5309 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005047/0.1497, allocations: 4.184 MB / 0.535 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1497, allocations: 0 / 0.535 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1497, allocations: 0 / 0.535 GB, free: 4.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.755e-05/0.1498, allocations: 0 / 0.535 GB, free: 4.434 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.006685/0.1565, allocations: 2.901 MB / 0.5379 GB, free: 1.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/0.1566, allocations: 12.03 kB / 0.5379 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004442/0.157, allocations: 333.5 kB / 0.5382 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008411/0.1578, allocations: 311.2 kB / 0.5385 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003008/0.1609, allocations: 1.422 MB / 0.5399 GB, free: 15.37 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.0003585/0.1612, allocations: 295.4 kB / 0.5402 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000369/0.1616, allocations: 235.9 kB / 0.5404 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00546/0.167, allocations: 3.104 MB / 0.5434 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.627e-05/0.1671, allocations: 7.938 kB / 0.5434 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002152/0.1673, allocations: 95.98 kB / 0.5435 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001371/0.1675, allocations: 108.5 kB / 0.5436 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004447/0.1719, allocations: 2.356 MB / 0.5459 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01382/0.1857, allocations: 7.798 MB / 0.5535 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002719/0.1885, allocations: 1.337 MB / 0.5548 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001804/0.1903, allocations: 0.893 MB / 0.5557 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002084/0.1905, allocations: 48.97 kB / 0.5558 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001479/0.1919, allocations: 0.8815 MB / 0.5566 GB, free: 13.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=104): time 3.036e-06/0.1919, allocations: 0 / 0.5566 GB, free: 13.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.01673/0.2087, allocations: 6.462 MB / 0.5629 GB, free: 7.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/0.2088, allocations: 248.3 kB / 0.5632 GB, free: 6.934 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.002332/0.2112, allocations: 1.198 MB / 0.5643 GB, free: 5.723 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001212/0.2113, allocations: 49.7 kB / 0.5644 GB, free: 5.668 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001229/0.2125, allocations: 1.039 MB / 0.5654 GB, free: 4.617 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004878/0.213, allocations: 448.2 kB / 0.5658 GB, free: 4.176 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004839/0.2135, allocations: 255.5 kB / 0.5661 GB, free: 3.918 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2136, allocations: 309 kB / 0.5664 GB, free: 3.613 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.2151, allocations: 0.7404 MB / 0.5671 GB, free: 2.863 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/0.2169, allocations: 1.298 MB / 0.5684 GB, free: 1.352 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008816/0.2257, allocations: 3.554 MB / 0.5718 GB, free: 13.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-05/0.2258, allocations: 4 kB / 0.5718 GB, free: 13.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005234/0.231, allocations: 2.503 MB / 0.5743 GB, free: 11.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.967e-05/0.2311, allocations: 42.02 kB / 0.5743 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.893e-05/0.2311, allocations: 8 kB / 0.5743 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.2324, allocations: 0.5037 MB / 0.5748 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.2336, allocations: 299.5 kB / 0.5751 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009655/0.2432, allocations: 8.338 MB / 0.5832 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.2449, allocations: 139.8 kB / 0.5834 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002426/0.2451, allocations: 67.92 kB / 0.5834 GB, free: 1.227 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.002854/0.248, allocations: 1.298 MB / 0.5847 GB, free: 15.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001979/0.25, allocations: 1.267 MB / 0.5859 GB, free: 14.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009054/0.259, allocations: 3.495 MB / 0.5894 GB, free: 10.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.52e-05/0.259, allocations: 4 kB / 0.5894 GB, free: 10.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004988/0.264, allocations: 2.456 MB / 0.5918 GB, free: 8.273 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.921e-05/0.2641, allocations: 37.7 kB / 0.5918 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-05/0.2641, allocations: 15.98 kB / 0.5918 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.2653, allocations: 0.4964 MB / 0.5923 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.2664, allocations: 299.5 kB / 0.5926 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2676/0.534, allocations: 8.333 MB / 0.6007 GB, free: 80.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.5356, allocations: 138.8 kB / 0.6009 GB, free: 80.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.5357, allocations: 58.77 kB / 0.6009 GB, free: 80.25 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.0004387/0.5362, allocations: 288.4 kB / 0.6012 GB, free: 80.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/0.5365, allocations: 153.5 kB / 0.6013 GB, free: 80.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004968/0.5414, allocations: 2.122 MB / 0.6034 GB, free: 79.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/0.5415, allocations: 14.12 kB / 0.6034 GB, free: 79.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.5415, allocations: 4.125 kB / 0.6034 GB, free: 79.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.447e-05/0.5415, allocations: 7.266 kB / 0.6034 GB, free: 79.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008963/0.5505, allocations: 4.362 MB / 0.6077 GB, free: 78.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.5505, allocations: 4.688 kB / 0.6077 GB, free: 78.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008573/0.5513, allocations: 203.6 kB / 0.6079 GB, free: 78.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001259/0.5526, allocations: 0.5208 MB / 0.6084 GB, free: 78.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.902e-05/0.5527, allocations: 37.11 kB / 0.6084 GB, free: 78.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006816/0.5595, allocations: 8.159 MB / 0.6164 GB, free: 72.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.5595, allocations: 7.75 kB / 0.6164 GB, free: 72.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005111/0.5646, allocations: 3.167 MB / 0.6195 GB, free: 70.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008568/0.5655, allocations: 292.3 kB / 0.6198 GB, free: 70.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002125/0.5657, allocations: 32.41 kB / 0.6198 GB, free: 70.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009552/0.5666, allocations: 103 kB / 0.6199 GB, free: 70.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002676/0.5669, allocations: 120.2 kB / 0.62 GB, free: 70.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-05/0.567, allocations: 45.95 kB / 0.6201 GB, free: 70.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001272/0.5683, allocations: 0.7994 MB / 0.6208 GB, free: 70.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5683, allocations: 0 / 0.6208 GB, free: 70.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002525/0.5708, allocations: 0.7849 MB / 0.6216 GB, free: 70.28 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.004759/0.5755, allocations: 3.807 MB / 0.6253 GB, free: 68.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008075/0.5836, allocations: 6.42 MB / 0.6316 GB, free: 63.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/0.5836, allocations: 4 kB / 0.6316 GB, free: 63.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003307/0.5869, allocations: 2.684 MB / 0.6342 GB, free: 60.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/0.5888, allocations: 399.1 kB / 0.6346 GB, free: 60.53 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.01589/0.6047, allocations: 12.52 MB / 0.6468 GB, free: 47.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.6058, allocations: 1.267 MB / 0.6481 GB, free: 46.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001202/0.607, allocations: 423.9 kB / 0.6485 GB, free: 45.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008186/0.6079, allocations: 0.8687 MB / 0.6493 GB, free: 44.97 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.6079, allocations: 0 / 0.6493 GB, free: 44.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/0.7095, allocations: 52.19 MB / 0.7003 GB, free: 9.273 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.88, allocations: 2.5 kB / 0.7003 GB, free: 9.273 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 & python3 -m fmpy simulate --output-file EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing.fmu > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.086986835114658] Failed to read output from testmodel.py, exit status != 0: 14.025561735965312 14.054195186 13.899243275 Calling exit ...