Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.conf.json 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.04429/0.04429, allocations: 8.544 MB / 27.37 MB, free: 2.855 MB / 19.63 MB " [Timeout remaining time 180] 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.001233/0.001233, allocations: 105.4 kB / 32.62 MB, free: 1.582 MB / 19.63 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.001487/0.001487, allocations: 206.1 kB / 37.99 MB, free: 3.035 MB / 26.18 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.423/1.423, allocations: 230.6 MB / 273.8 MB, free: 3.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo): time 0.01745/0.01745, allocations: 3.421 MB / 335.7 MB, free: 8.953 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 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) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",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: EHPTexamples 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.002885/0.002885, allocations: 102.8 kB / 465 MB, free: 50.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08763/0.09051, allocations: 56.32 MB / 0.5091 GB, free: 15.41 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: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: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(EHPTexamples.ElectricDrives.tqFollowing): time 0.01228/0.1028, allocations: 9.849 MB / 0.5188 GB, free: 5.516 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005909/0.1087, allocations: 2.758 MB / 0.5215 GB, free: 2.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.1101, allocations: 67.56 kB / 0.5215 GB, free: 2.684 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.1115, allocations: 0.5159 MB / 0.522 GB, free: 2.164 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00218/0.1137, allocations: 0.7065 MB / 0.5227 GB, free: 1.453 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.1149, allocations: 0.546 MB / 0.5233 GB, free: 0.9062 MB / 366.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.003332/0.1182, allocations: 2.681 MB / 0.5259 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001962/0.1202, allocations: 1.332 MB / 0.5272 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.1221, allocations: 1.231 MB / 0.5284 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002279/0.1244, allocations: 1.475 MB / 0.5298 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004862/0.1249, allocations: 336 kB / 0.5301 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007929/0.1257, allocations: 435.8 kB / 0.5305 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009069/0.1266, allocations: 0.8765 MB / 0.5314 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001913/0.1285, allocations: 1.423 MB / 0.5328 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005004/0.1335, allocations: 4.157 MB / 0.5369 GB, free: 2.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1335, allocations: 0 / 0.5369 GB, free: 2.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1335, allocations: 0 / 0.5369 GB, free: 2.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001263/0.1337, allocations: 0 / 0.5369 GB, free: 2.863 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.0073/0.141, allocations: 2.909 MB / 0.5397 GB, free: 15.9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.141, allocations: 8.031 kB / 0.5397 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004457/0.1414, allocations: 337.5 kB / 0.54 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008352/0.1423, allocations: 311.2 kB / 0.5403 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00298/0.1453, allocations: 1.422 MB / 0.5417 GB, free: 13.79 MB / 398.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.0003001/0.1456, allocations: 291.4 kB / 0.542 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003446/0.1459, allocations: 235.9 kB / 0.5422 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005045/0.1509, allocations: 2.961 MB / 0.5451 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.629e-05/0.151, allocations: 0 / 0.5451 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/0.1512, allocations: 96 kB / 0.5452 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/0.1513, allocations: 108.5 kB / 0.5453 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004306/0.1556, allocations: 2.364 MB / 0.5476 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01386/0.1695, allocations: 8.5 MB / 0.5559 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002654/0.1721, allocations: 1.34 MB / 0.5572 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001767/0.1739, allocations: 0.9008 MB / 0.5581 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002171/0.1741, allocations: 44.95 kB / 0.5581 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001349/0.1755, allocations: 0.785 MB / 0.5589 GB, free: 11.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=104): time 2.545e-06/0.1755, allocations: 0 / 0.5589 GB, free: 11.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.01506/0.1905, allocations: 6.45 MB / 0.5652 GB, free: 5.254 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001491/0.1907, allocations: 244.3 kB / 0.5654 GB, free: 4.961 MB / 414.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.001699/0.1924, allocations: 1.179 MB / 0.5666 GB, free: 3.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.1925, allocations: 49.7 kB / 0.5666 GB, free: 3.715 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009945/0.1935, allocations: 1.047 MB / 0.5677 GB, free: 2.656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004145/0.1939, allocations: 444.3 kB / 0.5681 GB, free: 2.219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004759/0.1944, allocations: 255.5 kB / 0.5683 GB, free: 1.961 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1945, allocations: 313 kB / 0.5686 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.1958, allocations: 0.7074 MB / 0.5693 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/0.1975, allocations: 1.127 MB / 0.5704 GB, free: 15.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008512/0.206, allocations: 3.562 MB / 0.5739 GB, free: 11.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.206, allocations: 0 / 0.5739 GB, free: 11.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005198/0.2112, allocations: 2.466 MB / 0.5763 GB, free: 9.422 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.121e-05/0.2113, allocations: 37.7 kB / 0.5763 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.2113, allocations: 12 kB / 0.5764 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.2126, allocations: 0.5112 MB / 0.5768 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.2138, allocations: 299.5 kB / 0.5771 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008933/0.2227, allocations: 8.386 MB / 0.5853 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.2243, allocations: 135.8 kB / 0.5855 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/0.2245, allocations: 59.94 kB / 0.5855 GB, free: 15.51 MB / 446.1 MB Warning: Assuming fixed start value for the following 5 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] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002388/0.2269, allocations: 1.27 MB / 0.5868 GB, free: 14.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001581/0.2285, allocations: 1.095 MB / 0.5878 GB, free: 12.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008241/0.2367, allocations: 3.488 MB / 0.5912 GB, free: 9.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.226e-05/0.2367, allocations: 7.938 kB / 0.5912 GB, free: 9.312 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004594/0.2413, allocations: 2.427 MB / 0.5936 GB, free: 6.855 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.79e-05/0.2414, allocations: 40.2 kB / 0.5936 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.2414, allocations: 8 kB / 0.5937 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.2426, allocations: 0.5075 MB / 0.5941 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.2436, allocations: 299.5 kB / 0.5944 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2113/0.4549, allocations: 8.378 MB / 0.6026 GB, free: 79.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.4564, allocations: 141.8 kB / 0.6027 GB, free: 79.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.4565, allocations: 62.39 kB / 0.6028 GB, free: 79.42 MB / 446.1 MB Warning: Assuming fixed start value for the following 5 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] 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.0003932/0.4569, allocations: 291.9 kB / 0.6031 GB, free: 79.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/0.4572, allocations: 151.7 kB / 0.6032 GB, free: 79.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003913/0.4611, allocations: 2.135 MB / 0.6053 GB, free: 79.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.4611, allocations: 11.7 kB / 0.6053 GB, free: 79.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.4611, allocations: 5.5 kB / 0.6053 GB, free: 79.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.4611, allocations: 8.391 kB / 0.6053 GB, free: 79.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007781/0.4689, allocations: 4.594 MB / 0.6098 GB, free: 77.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/0.4689, allocations: 2.844 kB / 0.6098 GB, free: 77.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008532/0.4698, allocations: 198.4 kB / 0.61 GB, free: 77.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001295/0.4711, allocations: 0.5188 MB / 0.6105 GB, free: 77.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.776e-05/0.4712, allocations: 36.84 kB / 0.6106 GB, free: 77.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006208/0.4774, allocations: 8.206 MB / 0.6186 GB, free: 70.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.4774, allocations: 15.7 kB / 0.6186 GB, free: 70.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004899/0.4823, allocations: 3.165 MB / 0.6217 GB, free: 69.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008276/0.4831, allocations: 291.1 kB / 0.622 GB, free: 69.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/0.4833, allocations: 45.45 kB / 0.622 GB, free: 69.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008876/0.4842, allocations: 99.3 kB / 0.6221 GB, free: 69.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000233/0.4844, allocations: 117.8 kB / 0.6222 GB, free: 69.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.837e-05/0.4845, allocations: 43.48 kB / 0.6222 GB, free: 69.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008979/0.4854, allocations: 0.8029 MB / 0.623 GB, free: 68.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4854, allocations: 0 / 0.623 GB, free: 68.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00213/0.4875, allocations: 0.782 MB / 0.6238 GB, free: 68.8 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.00451/0.492, allocations: 3.803 MB / 0.6275 GB, free: 66.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007857/0.4999, allocations: 6.359 MB / 0.6337 GB, free: 62.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/0.4999, allocations: 0 / 0.6337 GB, free: 62.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003251/0.5031, allocations: 2.687 MB / 0.6363 GB, free: 59.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.5049, allocations: 396.3 kB / 0.6367 GB, free: 59.29 MB / 446.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.01458/0.5195, allocations: 12.45 MB / 0.6489 GB, free: 46.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009843/0.5205, allocations: 1.833 MB / 0.6507 GB, free: 44.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001041/0.5215, allocations: 429.2 kB / 0.6511 GB, free: 44.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007467/0.5222, allocations: 0.8586 MB / 0.6519 GB, free: 43.26 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5222, allocations: 4 kB / 0.6519 GB, free: 43.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1008/0.623, allocations: 50.47 MB / 0.7012 GB, free: 9.188 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/14.96, allocations: 9.219 kB / 0.7012 GB, free: 9.184 MB / 462.1 MB " [Timeout remaining time 645] (rm -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.sim & python3 -m fmpy simulate --output-file EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing.fmu > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.94583748399964] Failed to read output from testmodel.py, exit status != 0: 15.09847306300071 15.130800419 14.991374101 Calling exit ...