Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.conf.json 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.001471/0.001471, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001879/0.001879, allocations: 214.8 kB / 22.25 MB, free: 5.082 MB / 14.72 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04478/0.04478, allocations: 8.546 MB / 321 MB, free: 10.62 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",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: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 64.19 kB / 446.9 MB, free: 15.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1099, allocations: 55.43 MB / 0.4906 GB, free: 8.449 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:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0) 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:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0) 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(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.01299/0.1229, allocations: 9.854 MB / 0.5002 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006589/0.1295, allocations: 2.758 MB / 0.5029 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/0.1312, allocations: 71.56 kB / 0.503 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.133, allocations: 0.5042 MB / 0.5035 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002898/0.1359, allocations: 0.7065 MB / 0.5041 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.1376, allocations: 0.55 MB / 0.5047 GB, free: 9.941 MB / 382.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.004597/0.1422, allocations: 2.666 MB / 0.5073 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003489/0.1457, allocations: 1.336 MB / 0.5086 GB, free: 5.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002691/0.1484, allocations: 1.238 MB / 0.5098 GB, free: 4.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003065/0.1514, allocations: 1.471 MB / 0.5112 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00113/0.1525, allocations: 336 kB / 0.5116 GB, free: 2.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.1541, allocations: 431.8 kB / 0.512 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001418/0.1555, allocations: 0.8727 MB / 0.5128 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00356/0.159, allocations: 1.427 MB / 0.5142 GB, free: 88 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2299/0.389, allocations: 4.157 MB / 0.5183 GB, free: 14.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.389, allocations: 1.094 kB / 0.5183 GB, free: 14.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.389, allocations: 0 / 0.5183 GB, free: 14.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001697/0.3891, allocations: 0 / 0.5183 GB, free: 14.38 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.008239/0.3974, allocations: 2.902 MB / 0.5211 GB, free: 13.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.3974, allocations: 9.516 kB / 0.5211 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009097/0.3983, allocations: 334.2 kB / 0.5214 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.3995, allocations: 308.2 kB / 0.5217 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003413/0.4029, allocations: 1.427 MB / 0.5231 GB, free: 12.68 MB / 382.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.0003329/0.4033, allocations: 289.7 kB / 0.5234 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007253/0.404, allocations: 239.1 kB / 0.5236 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008036/0.412, allocations: 2.955 MB / 0.5265 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001093/0.4121, allocations: 10.7 kB / 0.5265 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004038/0.4125, allocations: 95.12 kB / 0.5266 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/0.4127, allocations: 105.2 kB / 0.5267 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006016/0.4187, allocations: 2.363 MB / 0.529 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01936/0.4381, allocations: 8.508 MB / 0.5373 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002978/0.441, allocations: 1.328 MB / 0.5386 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0021/0.4431, allocations: 0.8944 MB / 0.5395 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002658/0.4434, allocations: 48.52 kB / 0.5396 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/0.4448, allocations: 0.7826 MB / 0.5403 GB, free: 5.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.016e-06/0.4449, allocations: 0 / 0.5403 GB, free: 5.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01466/0.4595, allocations: 6.465 MB / 0.5466 GB, free: 2.504 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.859e-05/0.4596, allocations: 252.3 kB / 0.5469 GB, free: 2.219 MB / 382.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.001882/0.4615, allocations: 1.18 MB / 0.548 GB, free: 1.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001896/0.4617, allocations: 52.58 kB / 0.5481 GB, free: 1.516 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008955/0.4626, allocations: 1.034 MB / 0.5491 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003538/0.4629, allocations: 444.7 kB / 0.5495 GB, free: 244 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004213/0.4633, allocations: 256.3 kB / 0.5498 GB, free: 96 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4635, allocations: 310.5 kB / 0.55 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.4648, allocations: 0.7033 MB / 0.5507 GB, free: 15.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.4664, allocations: 1.13 MB / 0.5518 GB, free: 14.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008571/0.4749, allocations: 3.553 MB / 0.5553 GB, free: 12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/0.475, allocations: 4 kB / 0.5553 GB, free: 11.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005315/0.4803, allocations: 2.471 MB / 0.5577 GB, free: 9.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.71e-05/0.4804, allocations: 37.7 kB / 0.5578 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.207e-05/0.4804, allocations: 11.12 kB / 0.5578 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/0.4818, allocations: 0.5015 MB / 0.5583 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.4831, allocations: 308.6 kB / 0.5586 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009518/0.4926, allocations: 8.387 MB / 0.5667 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.4944, allocations: 134.4 kB / 0.5669 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/0.4946, allocations: 59.98 kB / 0.5669 GB, free: 15.76 MB / 414.1 MB Warning: Assuming fixed start value for the following 6 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] aimc.inertiaRotor.w:VARIABLE(unit = \"rad/s\" fixed = true ) \"Absolute angular velocity of component (= der(phi))\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002764/0.4974, allocations: 1.272 MB / 0.5682 GB, free: 14.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001783/0.4992, allocations: 1.098 MB / 0.5692 GB, free: 13.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009/0.5082, allocations: 3.49 MB / 0.5727 GB, free: 9.621 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.325e-05/0.5082, allocations: 4 kB / 0.5727 GB, free: 9.617 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.005446/0.5136, allocations: 2.421 MB / 0.575 GB, free: 7.242 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.195e-05/0.5137, allocations: 34.02 kB / 0.5751 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/0.5137, allocations: 16 kB / 0.5751 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/0.515, allocations: 0.5008 MB / 0.5756 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.5162, allocations: 299 kB / 0.5758 GB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009797/0.526, allocations: 8.39 MB / 0.584 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.5278, allocations: 139.9 kB / 0.5842 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/0.528, allocations: 63.98 kB / 0.5842 GB, free: 13.42 MB / 430.1 MB Warning: Assuming fixed start value for the following 6 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] aimc.inertiaRotor.w:VARIABLE(unit = \"rad/s\" fixed = true ) \"Absolute angular velocity of component (= der(phi))\" type: Real 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.0005328/0.5285, allocations: 285.6 kB / 0.5845 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003765/0.5289, allocations: 151.1 kB / 0.5846 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004744/0.5336, allocations: 2.132 MB / 0.5867 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.785e-05/0.5337, allocations: 15.47 kB / 0.5867 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.443e-05/0.5337, allocations: 7.938 kB / 0.5867 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.767e-05/0.5337, allocations: 6.609 kB / 0.5868 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/0.5442, allocations: 4.586 MB / 0.5912 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.5442, allocations: 4.469 kB / 0.5912 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009795/0.5452, allocations: 203.4 kB / 0.5914 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001492/0.5467, allocations: 0.5115 MB / 0.5919 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001851/0.5469, allocations: 35.98 kB / 0.592 GB, free: 5.453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009529/0.5564, allocations: 8.217 MB / 0.6 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/0.5564, allocations: 17.34 kB / 0.6 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006427/0.5628, allocations: 3.168 MB / 0.6031 GB, free: 9.598 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/0.5641, allocations: 294.9 kB / 0.6034 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004932/0.5646, allocations: 32 kB / 0.6034 GB, free: 9.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.5659, allocations: 99.88 kB / 0.6035 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003702/0.5663, allocations: 119.9 kB / 0.6036 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.5664, allocations: 39.98 kB / 0.6037 GB, free: 9.027 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001642/0.568, allocations: 0.8028 MB / 0.6044 GB, free: 8.219 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.568, allocations: 0 / 0.6044 GB, free: 8.219 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003636/0.5717, allocations: 0.7812 MB / 0.6052 GB, free: 7.438 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.007047/0.5787, allocations: 3.812 MB / 0.6089 GB, free: 3.562 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01168/0.5904, allocations: 6.359 MB / 0.6151 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/0.5904, allocations: 0.75 kB / 0.6151 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005167/0.5956, allocations: 2.688 MB / 0.6178 GB, free: 10.35 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.5979, allocations: 411 kB / 0.6182 GB, free: 9.961 MB / 462.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.02392/0.6218, allocations: 12.43 MB / 0.6303 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002083/0.6239, allocations: 1.837 MB / 0.6321 GB, free: 11.29 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001612/0.6255, allocations: 427.9 kB / 0.6325 GB, free: 10.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/0.627, allocations: 0.8547 MB / 0.6333 GB, free: 10.01 MB / 478.1 MB Notification: Performance of SimCode: time 1.172e-06/0.627, allocations: 4 kB / 0.6333 GB, free: 10 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1319/0.7589, allocations: 50.48 MB / 0.6826 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/16.15, allocations: 3.266 kB / 0.6826 GB, free: 8.043 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.17864461406134] Failed to read output from testmodel.py, exit status != 0: 16.287528031971306 16.318279465 15.923619014 Calling exit ...