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.04505/0.04505, allocations: 8.537 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.001238/0.001238, allocations: 116.8 kB / 32.62 MB, free: 1.574 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.001565/0.001565, allocations: 224.3 kB / 37.98 MB, free: 2.953 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.46/1.46, allocations: 230.6 MB / 273.8 MB, free: 2.848 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.01856/0.01856, allocations: 3.403 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 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.002953/0.002953, allocations: 102.7 kB / 464.9 MB, free: 50.51 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08718/0.09013, allocations: 56.32 MB / 0.509 GB, free: 15.21 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.01228/0.1024, allocations: 8.633 MB / 0.5175 GB, free: 6.523 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005923/0.1083, allocations: 2.641 MB / 0.5201 GB, free: 3.875 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.1096, allocations: 63.62 kB / 0.5201 GB, free: 3.812 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.1109, allocations: 0.4886 MB / 0.5206 GB, free: 3.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002061/0.113, allocations: 0.7064 MB / 0.5213 GB, free: 2.609 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.1141, allocations: 0.5538 MB / 0.5218 GB, free: 2.059 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.002917/0.117, allocations: 2.676 MB / 0.5244 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001809/0.1188, allocations: 1.274 MB / 0.5257 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.1205, allocations: 1.234 MB / 0.5269 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/0.1224, allocations: 1.373 MB / 0.5282 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004776/0.1229, allocations: 336 kB / 0.5285 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007915/0.1237, allocations: 427.8 kB / 0.529 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008546/0.1246, allocations: 0.8727 MB / 0.5298 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001265/0.1258, allocations: 1.151 MB / 0.5309 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004371/0.1302, allocations: 4.192 MB / 0.535 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1302, allocations: 3.938 kB / 0.535 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1302, allocations: 0 / 0.535 GB, free: 4.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.476e-05/0.1303, allocations: 0 / 0.535 GB, free: 4.426 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.005752/0.136, allocations: 2.897 MB / 0.5379 GB, free: 1.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1361, allocations: 8.031 kB / 0.5379 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004434/0.1365, allocations: 337.5 kB / 0.5382 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008064/0.1373, allocations: 307.2 kB / 0.5385 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003117/0.1404, allocations: 1.43 MB / 0.5399 GB, free: 15.36 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.000322/0.1407, allocations: 287.4 kB / 0.5402 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003667/0.1411, allocations: 239.9 kB / 0.5404 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005401/0.1465, allocations: 3.108 MB / 0.5434 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.446e-05/0.1466, allocations: 4 kB / 0.5434 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002254/0.1468, allocations: 95.98 kB / 0.5435 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001395/0.1469, allocations: 108.5 kB / 0.5436 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004839/0.1518, allocations: 2.352 MB / 0.5459 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01403/0.1658, allocations: 7.802 MB / 0.5535 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/0.1686, allocations: 1.337 MB / 0.5548 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.1704, allocations: 0.9007 MB / 0.5557 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002045/0.1706, allocations: 44.97 kB / 0.5558 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001504/0.1721, allocations: 0.8815 MB / 0.5566 GB, free: 13.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=104): time 3.326e-06/0.1721, allocations: 0 / 0.5566 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.01573/0.1878, allocations: 6.453 MB / 0.5629 GB, free: 7.227 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001882/0.188, allocations: 248.3 kB / 0.5632 GB, free: 6.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.001881/0.1899, allocations: 1.202 MB / 0.5643 GB, free: 5.715 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.19, allocations: 49.7 kB / 0.5644 GB, free: 5.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.1911, allocations: 1.039 MB / 0.5654 GB, free: 4.609 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004303/0.1915, allocations: 436.3 kB / 0.5658 GB, free: 4.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004326/0.192, allocations: 263.5 kB / 0.5661 GB, free: 3.914 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1921, allocations: 313 kB / 0.5664 GB, free: 3.605 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/0.1934, allocations: 0.7365 MB / 0.5671 GB, free: 2.859 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/0.1953, allocations: 1.298 MB / 0.5683 GB, free: 1.348 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008595/0.2039, allocations: 3.55 MB / 0.5718 GB, free: 13.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.2039, allocations: 4 kB / 0.5718 GB, free: 13.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004779/0.2086, allocations: 2.511 MB / 0.5743 GB, free: 11.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.522e-05/0.2087, allocations: 37.7 kB / 0.5743 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/0.2087, allocations: 12 kB / 0.5743 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/0.21, allocations: 0.4961 MB / 0.5748 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.2112, allocations: 299.5 kB / 0.5751 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009443/0.2207, allocations: 8.342 MB / 0.5832 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.2224, allocations: 139.8 kB / 0.5834 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.2226, allocations: 67.92 kB / 0.5834 GB, free: 1.223 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.002404/0.225, allocations: 1.296 MB / 0.5847 GB, free: 15.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001664/0.2266, allocations: 1.275 MB / 0.5859 GB, free: 14.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008239/0.2349, allocations: 3.488 MB / 0.5894 GB, free: 10.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.628e-06/0.2349, allocations: 7.938 kB / 0.5894 GB, free: 10.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.00453/0.2394, allocations: 2.448 MB / 0.5917 GB, free: 8.273 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.216e-05/0.2395, allocations: 37.7 kB / 0.5918 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.2395, allocations: 15.98 kB / 0.5918 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.2406, allocations: 0.5002 MB / 0.5923 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.2417, allocations: 299.5 kB / 0.5926 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2056/0.4474, allocations: 8.329 MB / 0.6007 GB, free: 80.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.4489, allocations: 139.5 kB / 0.6008 GB, free: 80.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.4491, allocations: 61.84 kB / 0.6009 GB, free: 80.18 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.0004472/0.4495, allocations: 290.2 kB / 0.6012 GB, free: 80 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/0.4498, allocations: 149.7 kB / 0.6013 GB, free: 80 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004055/0.4538, allocations: 2.131 MB / 0.6034 GB, free: 79.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.4539, allocations: 13.75 kB / 0.6034 GB, free: 79.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.4539, allocations: 4.406 kB / 0.6034 GB, free: 79.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.4539, allocations: 7.125 kB / 0.6034 GB, free: 79.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007854/0.4617, allocations: 4.362 MB / 0.6077 GB, free: 78.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.4617, allocations: 3.375 kB / 0.6077 GB, free: 78.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008601/0.4626, allocations: 205.6 kB / 0.6079 GB, free: 78.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00127/0.4639, allocations: 0.5157 MB / 0.6084 GB, free: 78.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.19e-05/0.464, allocations: 38.03 kB / 0.6084 GB, free: 78.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006578/0.4705, allocations: 8.156 MB / 0.6164 GB, free: 72.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.4706, allocations: 9.219 kB / 0.6164 GB, free: 72.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004991/0.4755, allocations: 3.172 MB / 0.6195 GB, free: 70.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008415/0.4764, allocations: 292.1 kB / 0.6198 GB, free: 70.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/0.4766, allocations: 37.22 kB / 0.6198 GB, free: 70.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009415/0.4775, allocations: 101.5 kB / 0.6199 GB, free: 70.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.4778, allocations: 118.4 kB / 0.62 GB, free: 70.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.697e-05/0.4779, allocations: 41.73 kB / 0.6201 GB, free: 70.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001069/0.4789, allocations: 0.8051 MB / 0.6208 GB, free: 70.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4789, allocations: 0 / 0.6208 GB, free: 70.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002279/0.4812, allocations: 0.7859 MB / 0.6216 GB, free: 70.25 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.004521/0.4857, allocations: 3.805 MB / 0.6253 GB, free: 68.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007809/0.4935, allocations: 6.42 MB / 0.6316 GB, free: 63.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.968e-06/0.4935, allocations: 0 / 0.6316 GB, free: 63.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003267/0.4968, allocations: 2.683 MB / 0.6342 GB, free: 60.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.4987, allocations: 399.4 kB / 0.6346 GB, free: 60.5 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.01597/0.5147, allocations: 12.51 MB / 0.6468 GB, free: 47.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/0.5158, allocations: 1.278 MB / 0.6481 GB, free: 46.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001197/0.517, allocations: 423.9 kB / 0.6485 GB, free: 45.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008091/0.5178, allocations: 0.8547 MB / 0.6493 GB, free: 44.95 MB / 446.1 MB Notification: Performance of SimCode: time 1.673e-06/0.5178, allocations: 3.938 kB / 0.6493 GB, free: 44.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1335/0.6513, allocations: 52.2 MB / 0.7003 GB, free: 9.246 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.89, allocations: 11.12 kB / 0.7003 GB, free: 9.238 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 & python3 -m fmpy simulate --output-file EHPTexamples_latest_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_latest_EHPTexamples_ElectricDrives_tqFollowing.fmu > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.88205155497417] Failed to read output from testmodel.py, exit status != 0: 14.041864881757647 14.067217417 13.932041149 Calling exit ...