Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo) Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.0637/0.0637, allocations: 8.412 MB / 24.05 MB, free: 4.895 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 113.8 kB / 26.82 MB, free: 2.746 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 202.2 kB / 29.69 MB, free: 6.43 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 255.3 MB, free: 4.176 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.02539/0.02539, allocations: 3.361 MB / 310.8 MB, free: 1.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002651/0.002651, allocations: 103.8 kB / 428.2 MB, free: 17.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09306/0.09573, allocations: 52.2 MB / 480.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.01158/0.1073, allocations: 9.685 MB / 490.1 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005892/0.1133, allocations: 2.696 MB / 492.8 MB, free: 404 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.1148, allocations: 51.81 kB / 492.8 MB, free: 352 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.1162, allocations: 492.3 kB / 493.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.1183, allocations: 0.6713 MB / 494 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.1194, allocations: 0.5372 MB / 494.5 MB, free: 14.65 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0 * (1.0 - sqrt(1.0 - 0.0667)) / (2.0 * aimc.pi * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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.0 * sqrt(1.0 - 0.0667) / (2.0 * aimc.pi * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0 * (1.0 - sqrt(1.0 - 0.0667)) / (2.0 * aimc.pi * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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 NFFlatten.flatten: time 0.003343/0.1228, allocations: 2.677 MB / 497.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002927/0.1257, allocations: 2.288 MB / 499.5 MB, free: 9.605 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001783/0.1275, allocations: 1.188 MB / 0.4889 GB, free: 8.414 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/0.1295, allocations: 1.424 MB / 0.4903 GB, free: 6.984 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006044/0.1302, allocations: 340 kB / 0.4907 GB, free: 6.652 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000962/0.1311, allocations: 419.8 kB / 0.4911 GB, free: 6.242 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009879/0.1321, allocations: 0.865 MB / 0.4919 GB, free: 5.375 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00169/0.1338, allocations: 1.423 MB / 0.4933 GB, free: 3.945 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004832/0.1387, allocations: 4.142 MB / 0.4973 GB, free: 15.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.698e-05/0.1387, allocations: 4 kB / 0.4973 GB, free: 15.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1387, allocations: 0 / 0.4973 GB, free: 15.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.702e-05/0.1388, allocations: 0 / 0.4973 GB, free: 15.79 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.1451, allocations: 2.957 MB / 0.5002 GB, free: 12.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.1451, allocations: 12.02 kB / 0.5002 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004265/0.1456, allocations: 333.5 kB / 0.5006 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007623/0.1463, allocations: 303.2 kB / 0.5009 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/0.1487, allocations: 1.436 MB / 0.5023 GB, free: 10.63 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.0002841/0.149, allocations: 236 kB / 0.5025 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003531/0.1494, allocations: 232 kB / 0.5027 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005266/0.1547, allocations: 2.965 MB / 0.5056 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.609e-05/0.1548, allocations: 15.89 kB / 0.5056 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002201/0.155, allocations: 92 kB / 0.5057 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.1551, allocations: 112.5 kB / 0.5058 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004497/0.1596, allocations: 2.376 MB / 0.5081 GB, free: 4.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1939/0.3535, allocations: 8.714 MB / 0.5166 GB, free: 34.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/0.3561, allocations: 1.631 MB / 0.5182 GB, free: 34.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.3579, allocations: 0.9653 MB / 0.5192 GB, free: 33.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/0.3581, allocations: 126.5 kB / 0.5193 GB, free: 33.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001311/0.3594, allocations: 0.7796 MB / 0.5201 GB, free: 33.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.725e-06/0.3594, allocations: 0 / 0.5201 GB, free: 33.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01675/0.3762, allocations: 7.005 MB / 0.5269 GB, free: 30.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.821e-05/0.3763, allocations: 255 kB / 0.5271 GB, free: 30.38 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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=0.10177640614116878 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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=2.898223593858831 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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=0.10177640614116878 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/0.3783, allocations: 1.225 MB / 0.5283 GB, free: 29.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.3785, allocations: 50.73 kB / 0.5284 GB, free: 29.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007849/0.3793, allocations: 1.048 MB / 0.5294 GB, free: 29.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/0.3796, allocations: 430.2 kB / 0.5298 GB, free: 28.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004266/0.3801, allocations: 271.5 kB / 0.5301 GB, free: 28.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.553e-05/0.3801, allocations: 301.1 kB / 0.5304 GB, free: 28.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.3814, allocations: 0.7215 MB / 0.5311 GB, free: 28.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.3827, allocations: 1.134 MB / 0.5322 GB, free: 27.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007956/0.3907, allocations: 3.61 MB / 0.5357 GB, free: 25.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.3907, allocations: 7.906 kB / 0.5357 GB, free: 25.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003946/0.3947, allocations: 2.563 MB / 0.5382 GB, free: 24.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.001e-05/0.3947, allocations: 43.36 kB / 0.5383 GB, free: 24.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.3948, allocations: 15.55 kB / 0.5383 GB, free: 24.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.3958, allocations: 0.4939 MB / 0.5387 GB, free: 23.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.3969, allocations: 308 kB / 0.539 GB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005774/0.4027, allocations: 8.804 MB / 0.5476 GB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.4042, allocations: 134 kB / 0.5478 GB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.4043, allocations: 58.58 kB / 0.5478 GB, free: 16.1 MB / 382.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.001854/0.4062, allocations: 1.283 MB / 0.5491 GB, free: 14.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001076/0.4073, allocations: 1.103 MB / 0.5502 GB, free: 13.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007223/0.4145, allocations: 3.537 MB / 0.5536 GB, free: 9.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.292e-05/0.4146, allocations: 7.984 kB / 0.5536 GB, free: 9.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003665/0.4182, allocations: 2.526 MB / 0.5561 GB, free: 7.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.4183, allocations: 41.64 kB / 0.5561 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.4183, allocations: 12 kB / 0.5561 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009696/0.4193, allocations: 0.4945 MB / 0.5566 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009351/0.4202, allocations: 300.1 kB / 0.5569 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006837/0.4271, allocations: 8.809 MB / 0.5655 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.4287, allocations: 135.8 kB / 0.5656 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.4288, allocations: 66.8 kB / 0.5657 GB, free: 12.98 MB / 398.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.0005033/0.4293, allocations: 302.8 kB / 0.566 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/0.4297, allocations: 143.1 kB / 0.5661 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004297/0.434, allocations: 2.215 MB / 0.5683 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.434, allocations: 12 kB / 0.5683 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.434, allocations: 4 kB / 0.5683 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.434, allocations: 7.984 kB / 0.5683 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009084/0.4431, allocations: 4.744 MB / 0.5729 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.4432, allocations: 4 kB / 0.5729 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008638/0.4441, allocations: 203.7 kB / 0.5731 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/0.4454, allocations: 0.5119 MB / 0.5736 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.4455, allocations: 43.97 kB / 0.5737 GB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008978/0.4545, allocations: 8.618 MB / 0.5821 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.4546, allocations: 4 kB / 0.5821 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005805/0.4604, allocations: 3.267 MB / 0.5853 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000851/0.4612, allocations: 372 kB / 0.5856 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.4615, allocations: 35.98 kB / 0.5857 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009608/0.4624, allocations: 111.8 kB / 0.5858 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000304/0.4627, allocations: 108.8 kB / 0.5859 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.299e-05/0.4628, allocations: 35.98 kB / 0.5859 GB, free: 7.449 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001249/0.4641, allocations: 0.8185 MB / 0.5867 GB, free: 6.625 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4641, allocations: 0 / 0.5867 GB, free: 6.625 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002814/0.4669, allocations: 0.7928 MB / 0.5875 GB, free: 5.832 MB / 414.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.006008/0.4729, allocations: 3.899 MB / 0.5913 GB, free: 1.828 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01078/0.4838, allocations: 6.741 MB / 0.5979 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.4838, allocations: 3.609 kB / 0.5979 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004712/0.4885, allocations: 2.852 MB / 0.6007 GB, free: 7.895 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/0.4906, allocations: 396.7 kB / 0.6011 GB, free: 7.523 MB / 430.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.0216/0.5122, allocations: 12.59 MB / 0.6134 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00189/0.5141, allocations: 1.833 MB / 0.6151 GB, free: 8.586 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001376/0.5155, allocations: 424 kB / 0.6156 GB, free: 8.168 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/0.5167, allocations: 0.8586 MB / 0.6164 GB, free: 7.309 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.5167, allocations: 0 / 0.6164 GB, free: 7.309 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1136/0.6303, allocations: 49.2 MB / 0.6644 GB, free: 6.496 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.57, allocations: 416 / 0.6644 GB, free: 6.496 MB / 494.1 MB (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=0.0001 EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing.fmu > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1)