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.001288/0.001288, allocations: 103 kB / 16.45 MB, free: 6.449 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.001531/0.001531, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.455/1.455, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.04512/0.04512, allocations: 8.534 MB / 317.4 MB, free: 11.75 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.001974/0.001974, allocations: 64.09 kB / 441.7 MB, free: 3.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.108, allocations: 55.38 MB / 497.1 MB, free: 11.91 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.01327/0.1213, allocations: 9.802 MB / 0.495 GB, free: 2.066 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006119/0.1274, allocations: 2.758 MB / 0.4977 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.1289, allocations: 67.56 kB / 0.4978 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.1304, allocations: 0.5003 MB / 0.4983 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.1327, allocations: 0.7103 MB / 0.499 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.1339, allocations: 0.5344 MB / 0.4995 GB, free: 13.48 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.003548/0.1374, allocations: 2.674 MB / 0.5021 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002295/0.1397, allocations: 1.672 MB / 0.5037 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001845/0.1416, allocations: 1.227 MB / 0.5049 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002104/0.1437, allocations: 1.479 MB / 0.5064 GB, free: 6.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005013/0.1442, allocations: 332 kB / 0.5067 GB, free: 6.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008204/0.145, allocations: 443.8 kB / 0.5071 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008872/0.1459, allocations: 0.861 MB / 0.508 GB, free: 4.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001618/0.1475, allocations: 1.427 MB / 0.5094 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.225/0.3725, allocations: 4.154 MB / 0.5134 GB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.3725, allocations: 0.5938 kB / 0.5134 GB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3725, allocations: 0 / 0.5134 GB, free: 13.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001715/0.3727, allocations: 1.688 kB / 0.5134 GB, free: 13.68 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.006264/0.379, allocations: 2.971 MB / 0.5163 GB, free: 12.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.379, allocations: 9.281 kB / 0.5163 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004082/0.3794, allocations: 335.3 kB / 0.5166 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007735/0.3802, allocations: 305.4 kB / 0.5169 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/0.3827, allocations: 1.5 MB / 0.5184 GB, free: 11.83 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.0002677/0.383, allocations: 241.8 kB / 0.5186 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003891/0.3834, allocations: 233.4 kB / 0.5189 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005366/0.3887, allocations: 2.956 MB / 0.5217 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.721e-05/0.3888, allocations: 11.28 kB / 0.5217 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002095/0.389, allocations: 95.23 kB / 0.5218 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001177/0.3891, allocations: 106.6 kB / 0.5219 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004938/0.3941, allocations: 2.363 MB / 0.5242 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0147/0.4088, allocations: 8.677 MB / 0.5327 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002536/0.4113, allocations: 1.559 MB / 0.5342 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001677/0.413, allocations: 0.8999 MB / 0.5351 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002353/0.4132, allocations: 122.8 kB / 0.5352 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/0.4144, allocations: 0.7779 MB / 0.536 GB, free: 6.184 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.775e-06/0.4145, allocations: 0 / 0.536 GB, free: 6.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01476/0.4292, allocations: 6.989 MB / 0.5428 GB, free: 2.254 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/0.4293, allocations: 255.8 kB / 0.5431 GB, free: 1.965 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.001601/0.4309, allocations: 1.183 MB / 0.5442 GB, free: 1.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.431, allocations: 47.08 kB / 0.5443 GB, free: 1.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001056/0.4321, allocations: 1.041 MB / 0.5453 GB, free: 368 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005098/0.4326, allocations: 439.7 kB / 0.5457 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007758/0.4334, allocations: 266.3 kB / 0.546 GB, free: 15.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.4336, allocations: 301.1 kB / 0.5462 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002118/0.4357, allocations: 0.7111 MB / 0.5469 GB, free: 15.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002448/0.4382, allocations: 1.116 MB / 0.548 GB, free: 14.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/0.4486, allocations: 3.558 MB / 0.5515 GB, free: 11.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.999e-05/0.4486, allocations: 9.969 kB / 0.5515 GB, free: 11.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005436/0.454, allocations: 2.543 MB / 0.554 GB, free: 9.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.811e-05/0.4541, allocations: 37.7 kB / 0.554 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/0.4541, allocations: 14.3 kB / 0.554 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.4555, allocations: 0.4992 MB / 0.5545 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.4568, allocations: 305.1 kB / 0.5548 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/0.4696, allocations: 8.792 MB / 0.5634 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002763/0.4724, allocations: 131.9 kB / 0.5635 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000261/0.4726, allocations: 63.98 kB / 0.5636 GB, free: 15.02 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.004463/0.4771, allocations: 1.273 MB / 0.5648 GB, free: 13.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002848/0.4799, allocations: 1.092 MB / 0.5659 GB, free: 12.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0148/0.4947, allocations: 3.494 MB / 0.5693 GB, free: 8.895 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.936e-05/0.4948, allocations: 4 kB / 0.5693 GB, free: 8.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.007526/0.5023, allocations: 2.504 MB / 0.5718 GB, free: 6.422 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.545e-05/0.5023, allocations: 37.7 kB / 0.5718 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/0.5024, allocations: 8 kB / 0.5718 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/0.5043, allocations: 0.5003 MB / 0.5723 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/0.5064, allocations: 304.3 kB / 0.5726 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01517/0.5216, allocations: 8.803 MB / 0.5812 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003098/0.5247, allocations: 137.3 kB / 0.5813 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/0.5249, allocations: 56 kB / 0.5814 GB, free: 12.08 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.0008689/0.5258, allocations: 311.1 kB / 0.5817 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005349/0.5263, allocations: 147.1 kB / 0.5818 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00726/0.5336, allocations: 2.197 MB / 0.584 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.5336, allocations: 12 kB / 0.584 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/0.5336, allocations: 7.938 kB / 0.584 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.029e-05/0.5336, allocations: 7.922 kB / 0.584 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01379/0.5474, allocations: 4.696 MB / 0.5886 GB, free: 4.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/0.5474, allocations: 7.984 kB / 0.5886 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.5489, allocations: 202 kB / 0.5888 GB, free: 4.438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002424/0.5513, allocations: 0.5152 MB / 0.5893 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/0.5515, allocations: 39.98 kB / 0.5893 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01423/0.5657, allocations: 8.625 MB / 0.5977 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.5657, allocations: 4 kB / 0.5977 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/0.576, allocations: 3.245 MB / 0.6009 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001625/0.5777, allocations: 376 kB / 0.6013 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004402/0.5781, allocations: 32 kB / 0.6013 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/0.5797, allocations: 99.88 kB / 0.6014 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004415/0.5802, allocations: 119.6 kB / 0.6015 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/0.5803, allocations: 35.98 kB / 0.6015 GB, free: 6.746 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002039/0.5824, allocations: 0.8012 MB / 0.6023 GB, free: 5.941 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5824, allocations: 4 kB / 0.6023 GB, free: 5.938 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004347/0.5867, allocations: 0.7812 MB / 0.6031 GB, free: 5.156 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.009405/0.5961, allocations: 3.882 MB / 0.6069 GB, free: 1.207 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01815/0.6143, allocations: 6.506 MB / 0.6132 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.6143, allocations: 1.938 kB / 0.6132 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0078/0.6221, allocations: 2.762 MB / 0.6159 GB, free: 7.711 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003591/0.6257, allocations: 398.3 kB / 0.6163 GB, free: 7.332 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.03902/0.6647, allocations: 12.5 MB / 0.6285 GB, free: 10.45 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002825/0.6675, allocations: 1.841 MB / 0.6303 GB, free: 8.574 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002433/0.67, allocations: 416 kB / 0.6307 GB, free: 8.164 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001947/0.6719, allocations: 0.8624 MB / 0.6316 GB, free: 7.301 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6719, allocations: 0 / 0.6316 GB, free: 7.301 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.129/0.8009, allocations: 48.92 MB / 0.6793 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.77, allocations: 4.062 kB / 0.6793 GB, free: 6.891 MB / 0.5137 GB " [Timeout remaining time 646] (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: 16.610248690005392] Failed to read output from testmodel.py, exit status != 0: 13.884755681006936 13.910238986 13.532939996 Calling exit ...