Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001849/0.001849, allocations: 113.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.002611/0.002611, allocations: 214.4 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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.04415/0.04415, allocations: 8.544 MB / 321 MB, free: 10.73 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_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.002353/0.002353, allocations: 71.89 kB / 446.9 MB, free: 100 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1117, allocations: 55.41 MB / 0.4906 GB, free: 8.59 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.01354/0.1253, allocations: 9.85 MB / 0.5002 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006581/0.1319, allocations: 2.762 MB / 0.5029 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.1336, allocations: 67.56 kB / 0.5029 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.1354, allocations: 0.512 MB / 0.5034 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002917/0.1383, allocations: 0.7065 MB / 0.5041 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.14, allocations: 0.5524 MB / 0.5047 GB, free: 10.08 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.004212/0.1442, allocations: 2.674 MB / 0.5073 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003543/0.1477, allocations: 1.336 MB / 0.5086 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002762/0.1505, allocations: 1.227 MB / 0.5098 GB, free: 4.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003022/0.1535, allocations: 1.475 MB / 0.5112 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001095/0.1546, allocations: 332 kB / 0.5115 GB, free: 2.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.156, allocations: 443.8 kB / 0.512 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001572/0.1576, allocations: 0.8687 MB / 0.5128 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003049/0.1606, allocations: 1.423 MB / 0.5142 GB, free: 228 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2197/0.3804, allocations: 4.153 MB / 0.5183 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3804, allocations: 1.312 kB / 0.5183 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3804, allocations: 3.156 kB / 0.5183 GB, free: 14.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001127/0.3805, allocations: 0.8438 kB / 0.5183 GB, free: 14.34 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.006008/0.3865, allocations: 2.899 MB / 0.5211 GB, free: 13.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3865, allocations: 9.312 kB / 0.5211 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003854/0.3869, allocations: 342.5 kB / 0.5214 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007456/0.3877, allocations: 311.1 kB / 0.5217 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002628/0.3903, allocations: 1.415 MB / 0.5231 GB, free: 12.64 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.0002686/0.3906, allocations: 295.2 kB / 0.5234 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003237/0.3909, allocations: 239.2 kB / 0.5236 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004973/0.3959, allocations: 2.95 MB / 0.5265 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.145e-05/0.3959, allocations: 12.31 kB / 0.5265 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/0.3962, allocations: 100.7 kB / 0.5266 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.3963, allocations: 108.2 kB / 0.5267 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004102/0.4004, allocations: 2.362 MB / 0.529 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01297/0.4133, allocations: 8.503 MB / 0.5373 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00281/0.4161, allocations: 1.331 MB / 0.5386 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001759/0.4179, allocations: 0.8932 MB / 0.5395 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.4181, allocations: 44.86 kB / 0.5395 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001279/0.4194, allocations: 0.7759 MB / 0.5403 GB, free: 5.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.986e-06/0.4194, allocations: 1.219 kB / 0.5403 GB, free: 5.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01373/0.4332, allocations: 6.472 MB / 0.5466 GB, free: 2.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.4332, allocations: 249.1 kB / 0.5469 GB, free: 2.199 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.001491/0.4347, allocations: 1.18 MB / 0.548 GB, free: 1.547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.4348, allocations: 50.83 kB / 0.5481 GB, free: 1.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007154/0.4355, allocations: 1.043 MB / 0.5491 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000269/0.4358, allocations: 441.5 kB / 0.5495 GB, free: 220 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004004/0.4362, allocations: 262.9 kB / 0.5497 GB, free: 68 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.4364, allocations: 306.5 kB / 0.55 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.4377, allocations: 0.7119 MB / 0.5507 GB, free: 15.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001766/0.4394, allocations: 1.115 MB / 0.5518 GB, free: 14.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008767/0.4482, allocations: 3.554 MB / 0.5553 GB, free: 11.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.4482, allocations: 6.5 kB / 0.5553 GB, free: 11.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005174/0.4534, allocations: 2.467 MB / 0.5577 GB, free: 9.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.714e-05/0.4534, allocations: 37.7 kB / 0.5577 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.4535, allocations: 12 kB / 0.5578 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.4547, allocations: 0.4971 MB / 0.5582 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.456, allocations: 309.2 kB / 0.5585 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00968/0.4656, allocations: 8.394 MB / 0.5667 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.4673, allocations: 139.8 kB / 0.5669 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/0.4675, allocations: 60 kB / 0.5669 GB, free: 15.72 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.002563/0.47, allocations: 1.275 MB / 0.5682 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001676/0.4717, allocations: 1.093 MB / 0.5692 GB, free: 13.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008791/0.4805, allocations: 3.488 MB / 0.5726 GB, free: 9.582 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.21e-05/0.4805, allocations: 4 kB / 0.5726 GB, free: 9.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.00485/0.4854, allocations: 2.422 MB / 0.575 GB, free: 7.203 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.485e-05/0.4854, allocations: 37.7 kB / 0.5751 GB, free: 7.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.4854, allocations: 11.5 kB / 0.5751 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.4866, allocations: 0.5058 MB / 0.5756 GB, free: 6.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.4878, allocations: 290.4 kB / 0.5758 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009406/0.4972, allocations: 8.389 MB / 0.584 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.499, allocations: 139.9 kB / 0.5842 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.4992, allocations: 55.98 kB / 0.5842 GB, free: 13.39 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.0005066/0.4997, allocations: 305.1 kB / 0.5845 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003081/0.5, allocations: 143.1 kB / 0.5846 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004418/0.5044, allocations: 2.124 MB / 0.5867 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.5044, allocations: 12 kB / 0.5867 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.5044, allocations: 7.938 kB / 0.5867 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.5044, allocations: 7.969 kB / 0.5867 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009002/0.5134, allocations: 4.596 MB / 0.5912 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/0.5134, allocations: 4 kB / 0.5912 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009489/0.5144, allocations: 206.1 kB / 0.5914 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001447/0.5158, allocations: 0.5155 MB / 0.5919 GB, free: 5.441 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/0.516, allocations: 43.97 kB / 0.592 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009409/0.5254, allocations: 8.214 MB / 0.6 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.5254, allocations: 4 kB / 0.6 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006206/0.5316, allocations: 3.165 MB / 0.6031 GB, free: 9.551 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009268/0.5325, allocations: 294.6 kB / 0.6034 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/0.5327, allocations: 31.98 kB / 0.6034 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009757/0.5337, allocations: 107.9 kB / 0.6035 GB, free: 9.129 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000309/0.534, allocations: 116.5 kB / 0.6036 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.75e-05/0.5341, allocations: 35.98 kB / 0.6036 GB, free: 8.984 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001364/0.5355, allocations: 0.8132 MB / 0.6044 GB, free: 8.168 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5355, allocations: 0 / 0.6044 GB, free: 8.168 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002695/0.5381, allocations: 0.7734 MB / 0.6052 GB, free: 7.395 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.006295/0.5444, allocations: 3.815 MB / 0.6089 GB, free: 3.516 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0107/0.5551, allocations: 6.358 MB / 0.6151 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.5551, allocations: 0 / 0.6151 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004534/0.5597, allocations: 2.689 MB / 0.6178 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/0.5618, allocations: 399.4 kB / 0.6181 GB, free: 9.922 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.02277/0.5845, allocations: 12.44 MB / 0.6303 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001803/0.5863, allocations: 1.841 MB / 0.6321 GB, free: 11.24 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00135/0.5877, allocations: 423.9 kB / 0.6325 GB, free: 10.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/0.5889, allocations: 0.8586 MB / 0.6333 GB, free: 9.961 MB / 478.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5889, allocations: 0 / 0.6333 GB, free: 9.961 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1226/0.7115, allocations: 50.47 MB / 0.6826 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/15.82, allocations: 14.12 kB / 0.6826 GB, free: 7.996 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.875037506921217] Failed to read output from testmodel.py, exit status != 0: 15.965392373036593 15.99812513 15.611559401 Calling exit ...