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.001326/0.001326, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001471/0.001471, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.969 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.04305/0.04305, allocations: 8.542 MB / 321 MB, free: 10.61 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.00288/0.00288, allocations: 67.98 kB / 446.9 MB, free: 15.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1655, allocations: 55.43 MB / 0.4906 GB, free: 8.445 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.02081/0.1863, allocations: 9.838 MB / 0.5002 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008663/0.1949, allocations: 2.766 MB / 0.5029 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002118/0.197, allocations: 67.62 kB / 0.503 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00213/0.1992, allocations: 0.5042 MB / 0.5034 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003291/0.2025, allocations: 0.7181 MB / 0.5041 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001773/0.2042, allocations: 0.5422 MB / 0.5047 GB, free: 9.945 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.0053/0.2095, allocations: 2.674 MB / 0.5073 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003149/0.2127, allocations: 1.336 MB / 0.5086 GB, free: 5.859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002685/0.2154, allocations: 1.231 MB / 0.5098 GB, free: 4.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00342/0.2188, allocations: 1.471 MB / 0.5112 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009591/0.2197, allocations: 343.9 kB / 0.5116 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.2212, allocations: 431.9 kB / 0.512 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001475/0.2227, allocations: 0.8726 MB / 0.5128 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002737/0.2254, allocations: 1.427 MB / 0.5142 GB, free: 84 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2616/0.487, allocations: 4.151 MB / 0.5183 GB, free: 14.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.487, allocations: 0 / 0.5183 GB, free: 14.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.487, allocations: 0 / 0.5183 GB, free: 14.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001541/0.4872, allocations: 0 / 0.5183 GB, free: 14.41 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.007681/0.4949, allocations: 2.901 MB / 0.5211 GB, free: 13.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.4949, allocations: 9.719 kB / 0.5211 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005734/0.4955, allocations: 339.4 kB / 0.5214 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009345/0.4964, allocations: 306.3 kB / 0.5217 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002975/0.4994, allocations: 1.428 MB / 0.5231 GB, free: 12.71 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.0002834/0.4997, allocations: 289.2 kB / 0.5234 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003572/0.5, allocations: 236.3 kB / 0.5236 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005894/0.5059, allocations: 2.954 MB / 0.5265 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.763e-05/0.506, allocations: 9.406 kB / 0.5265 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002284/0.5062, allocations: 96.17 kB / 0.5266 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/0.5064, allocations: 110.2 kB / 0.5267 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00476/0.5111, allocations: 2.362 MB / 0.529 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01462/0.5257, allocations: 8.504 MB / 0.5373 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/0.5282, allocations: 1.331 MB / 0.5386 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001773/0.53, allocations: 0.8967 MB / 0.5395 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002247/0.5302, allocations: 41.66 kB / 0.5395 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001237/0.5315, allocations: 0.7819 MB / 0.5403 GB, free: 6.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.657e-06/0.5315, allocations: 2.766 kB / 0.5403 GB, free: 6.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.014/0.5455, allocations: 6.467 MB / 0.5466 GB, free: 2.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.5455, allocations: 256.9 kB / 0.5469 GB, free: 2.281 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.001554/0.5471, allocations: 1.179 MB / 0.548 GB, free: 1.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.5472, allocations: 52.58 kB / 0.5481 GB, free: 1.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007576/0.548, allocations: 1.038 MB / 0.5491 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002904/0.5483, allocations: 439.5 kB / 0.5495 GB, free: 308 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003852/0.5486, allocations: 264.1 kB / 0.5498 GB, free: 156 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.5487, allocations: 306.2 kB / 0.55 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.55, allocations: 0.7068 MB / 0.5507 GB, free: 15.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/0.5516, allocations: 1.124 MB / 0.5518 GB, free: 14.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008688/0.5602, allocations: 3.555 MB / 0.5553 GB, free: 12.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.5603, allocations: 4 kB / 0.5553 GB, free: 12.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005113/0.5654, allocations: 2.465 MB / 0.5577 GB, free: 9.598 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/0.5654, allocations: 41.69 kB / 0.5578 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.5654, allocations: 12 kB / 0.5578 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.5667, allocations: 0.5008 MB / 0.5583 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.5679, allocations: 309.2 kB / 0.5585 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009368/0.5773, allocations: 8.376 MB / 0.5667 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.579, allocations: 139.8 kB / 0.5669 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.5792, allocations: 63.98 kB / 0.5669 GB, free: 15.78 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.002609/0.5818, allocations: 1.275 MB / 0.5682 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001602/0.5834, allocations: 1.095 MB / 0.5692 GB, free: 13.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008615/0.592, allocations: 3.486 MB / 0.5726 GB, free: 9.641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.063e-05/0.592, allocations: 4 kB / 0.5726 GB, free: 9.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004894/0.5969, allocations: 2.425 MB / 0.575 GB, free: 7.262 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/0.5969, allocations: 33.7 kB / 0.575 GB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.597, allocations: 15.5 kB / 0.5751 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/0.5982, allocations: 0.5022 MB / 0.5756 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.5993, allocations: 295.1 kB / 0.5758 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/0.612, allocations: 8.383 MB / 0.584 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002633/0.6146, allocations: 143.9 kB / 0.5842 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003091/0.6149, allocations: 56 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.0007259/0.6156, allocations: 309.6 kB / 0.5845 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004376/0.6161, allocations: 147.1 kB / 0.5846 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00659/0.6227, allocations: 2.123 MB / 0.5867 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.6227, allocations: 12 kB / 0.5867 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.6227, allocations: 7.938 kB / 0.5867 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.263e-05/0.6227, allocations: 7.969 kB / 0.5867 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01394/0.6367, allocations: 4.598 MB / 0.5912 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.6367, allocations: 4 kB / 0.5912 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/0.638, allocations: 207.4 kB / 0.5914 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/0.6394, allocations: 0.5154 MB / 0.5919 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.6395, allocations: 35.98 kB / 0.592 GB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009211/0.6487, allocations: 8.215 MB / 0.6 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.6487, allocations: 4 kB / 0.6 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006438/0.6552, allocations: 3.168 MB / 0.6031 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.6563, allocations: 290.9 kB / 0.6034 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/0.6565, allocations: 31.98 kB / 0.6034 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.6576, allocations: 111.9 kB / 0.6035 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003102/0.6579, allocations: 108.3 kB / 0.6036 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.222e-05/0.658, allocations: 43.97 kB / 0.6037 GB, free: 9.043 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001574/0.6595, allocations: 0.8093 MB / 0.6044 GB, free: 8.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6595, allocations: 0 / 0.6044 GB, free: 8.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002969/0.6625, allocations: 0.7812 MB / 0.6052 GB, free: 7.449 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.00684/0.6693, allocations: 3.805 MB / 0.6089 GB, free: 3.582 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01206/0.6814, allocations: 6.358 MB / 0.6151 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.6814, allocations: 0 / 0.6151 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00466/0.6861, allocations: 2.69 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.002186/0.6883, allocations: 406.9 kB / 0.6181 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.02274/0.711, 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.002022/0.713, allocations: 1.841 MB / 0.6321 GB, free: 11.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00141/0.7144, allocations: 423.9 kB / 0.6325 GB, free: 10.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/0.7156, allocations: 0.8547 MB / 0.6333 GB, free: 10.02 MB / 478.1 MB Notification: Performance of SimCode: time 8.82e-07/0.7156, allocations: 0 / 0.6333 GB, free: 10.02 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1419/0.8575, allocations: 50.47 MB / 0.6826 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/15.7, allocations: 14.17 kB / 0.6826 GB, free: 8.051 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 & python3 -m fmpy simulate --output-file EHPTlib_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_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.712679142001434] Failed to read output from testmodel.py, exit status != 0: 15.839870992000215 15.864166255 15.37236494 Calling exit ...