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.001352/0.001352, 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.00155/0.00155, allocations: 215.2 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 8.02 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.0418/0.0418, allocations: 8.55 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.002157/0.002157, allocations: 71.95 kB / 446.9 MB, free: 15.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1111, allocations: 55.42 MB / 0.4906 GB, free: 8.461 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.01282/0.1239, allocations: 9.846 MB / 0.5002 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005932/0.1299, allocations: 2.766 MB / 0.5029 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.1313, allocations: 63.62 kB / 0.503 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.1327, allocations: 0.5081 MB / 0.5035 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.1353, allocations: 0.7103 MB / 0.5042 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.1366, allocations: 0.5538 MB / 0.5047 GB, free: 9.949 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.003595/0.1402, allocations: 2.67 MB / 0.5073 GB, free: 7.266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001998/0.1422, allocations: 1.336 MB / 0.5086 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.1441, allocations: 1.227 MB / 0.5098 GB, free: 4.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002281/0.1464, allocations: 1.475 MB / 0.5112 GB, free: 3.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004958/0.1469, allocations: 336 kB / 0.5116 GB, free: 2.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008374/0.1478, allocations: 439.8 kB / 0.512 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009084/0.1487, allocations: 0.8726 MB / 0.5128 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001712/0.1504, allocations: 1.42 MB / 0.5142 GB, free: 100 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.221/0.3714, allocations: 4.161 MB / 0.5183 GB, free: 14.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3714, allocations: 1.844 kB / 0.5183 GB, free: 14.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3714, allocations: 0 / 0.5183 GB, free: 14.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001217/0.3715, allocations: 0 / 0.5183 GB, free: 14.31 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.00674/0.3782, allocations: 2.896 MB / 0.5211 GB, free: 13.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.3783, allocations: 14.12 kB / 0.5211 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000436/0.3787, allocations: 338.9 kB / 0.5215 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008799/0.3796, allocations: 307.9 kB / 0.5217 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002819/0.3824, allocations: 1.42 MB / 0.5231 GB, free: 12.61 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.0002737/0.3827, allocations: 297.1 kB / 0.5234 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003408/0.383, allocations: 238.1 kB / 0.5236 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005587/0.3886, allocations: 2.95 MB / 0.5265 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.509e-05/0.3887, allocations: 7.547 kB / 0.5265 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002173/0.3889, allocations: 100.4 kB / 0.5266 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/0.389, allocations: 105.7 kB / 0.5267 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004301/0.3933, allocations: 2.363 MB / 0.529 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01413/0.4074, allocations: 8.501 MB / 0.5373 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/0.4099, allocations: 1.331 MB / 0.5386 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/0.4116, allocations: 0.895 MB / 0.5395 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002256/0.4119, allocations: 48.62 kB / 0.5396 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001215/0.4131, allocations: 0.7822 MB / 0.5403 GB, free: 5.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.176e-06/0.4131, allocations: 0 / 0.5403 GB, free: 5.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01371/0.4268, allocations: 6.462 MB / 0.5466 GB, free: 2.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.4269, allocations: 253.2 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.00154/0.4284, allocations: 1.18 MB / 0.548 GB, free: 1.547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.4285, allocations: 51.19 kB / 0.5481 GB, free: 1.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007243/0.4292, allocations: 1.043 MB / 0.5491 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/0.4295, allocations: 436.3 kB / 0.5495 GB, free: 224 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004142/0.4299, allocations: 267.2 kB / 0.5498 GB, free: 68 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.43, allocations: 301.1 kB / 0.55 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.4313, allocations: 0.7109 MB / 0.5507 GB, free: 15.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/0.4328, allocations: 1.119 MB / 0.5518 GB, free: 14.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008186/0.4409, allocations: 3.555 MB / 0.5553 GB, free: 12.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.4409, allocations: 10.38 kB / 0.5553 GB, free: 12.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004791/0.4457, allocations: 2.469 MB / 0.5577 GB, free: 9.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.861e-05/0.4458, allocations: 37.69 kB / 0.5578 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.4458, allocations: 12 kB / 0.5578 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/0.4471, allocations: 0.4957 MB / 0.5583 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.4482, allocations: 311 kB / 0.5586 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008857/0.4571, allocations: 8.383 MB / 0.5667 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.4587, allocations: 140.7 kB / 0.5669 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.4588, allocations: 59.98 kB / 0.5669 GB, free: 15.77 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.002457/0.4613, allocations: 1.272 MB / 0.5682 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001608/0.4629, allocations: 1.094 MB / 0.5692 GB, free: 13.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008277/0.4712, allocations: 3.488 MB / 0.5727 GB, free: 9.641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.817e-06/0.4712, allocations: 4 kB / 0.5727 GB, free: 9.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004629/0.4758, allocations: 2.421 MB / 0.575 GB, free: 7.262 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.4758, allocations: 41.7 kB / 0.5751 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.4759, allocations: 15.66 kB / 0.5751 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/0.477, allocations: 0.4948 MB / 0.5756 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.4782, allocations: 290.3 kB / 0.5758 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008783/0.4869, allocations: 8.395 MB / 0.584 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.4886, allocations: 135.9 kB / 0.5842 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.4887, allocations: 59.98 kB / 0.5842 GB, free: 13.45 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.0004983/0.4892, allocations: 305.9 kB / 0.5845 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/0.4895, allocations: 147.1 kB / 0.5847 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004334/0.4939, allocations: 2.12 MB / 0.5867 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.4939, allocations: 12 kB / 0.5867 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.4939, allocations: 7.938 kB / 0.5867 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-05/0.4939, allocations: 11.97 kB / 0.5868 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009079/0.503, allocations: 4.594 MB / 0.5912 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.503, allocations: 4 kB / 0.5912 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009055/0.5039, allocations: 206.4 kB / 0.5914 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001401/0.5053, allocations: 0.5108 MB / 0.5919 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.5054, allocations: 43.98 kB / 0.592 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008859/0.5143, allocations: 8.206 MB / 0.6 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.5143, allocations: 6.625 kB / 0.6 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005743/0.52, allocations: 3.172 MB / 0.6031 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009342/0.521, allocations: 286.9 kB / 0.6034 GB, free: 9.332 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/0.5212, allocations: 39.98 kB / 0.6034 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009717/0.5222, allocations: 99.89 kB / 0.6035 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002783/0.5225, allocations: 115.6 kB / 0.6036 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-05/0.5225, allocations: 39.98 kB / 0.6037 GB, free: 9.047 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001243/0.5238, allocations: 0.8068 MB / 0.6044 GB, free: 8.234 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5238, allocations: 0 / 0.6044 GB, free: 8.234 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00257/0.5264, allocations: 0.7812 MB / 0.6052 GB, free: 7.453 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.005993/0.5324, allocations: 3.815 MB / 0.6089 GB, free: 3.578 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01037/0.5427, allocations: 6.36 MB / 0.6151 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.5427, allocations: 0 / 0.6151 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004313/0.547, allocations: 2.691 MB / 0.6178 GB, free: 10.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.5491, allocations: 402.8 kB / 0.6182 GB, free: 9.98 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.02146/0.5705, allocations: 12.44 MB / 0.6303 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001856/0.5724, allocations: 1.837 MB / 0.6321 GB, free: 11.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001467/0.5739, allocations: 420 kB / 0.6325 GB, free: 10.89 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/0.5751, allocations: 0.8625 MB / 0.6333 GB, free: 10.02 MB / 478.1 MB Notification: Performance of SimCode: time 8.51e-07/0.5751, allocations: 0 / 0.6333 GB, free: 10.02 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1179/0.693, allocations: 50.49 MB / 0.6826 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/15.44, allocations: 11.19 kB / 0.6826 GB, free: 8.039 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 & python3 -m fmpy simulate --output-file EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 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: 18.349571812002978] Failed to read output from testmodel.py, exit status != 0: 15.579642302000138 15.606344949 15.230007265 Calling exit ...