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 2.1.4/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 2.1.4/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/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 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.06056/0.06056, allocations: 8.022 MB / 23.66 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 112.8 kB / 26.25 MB, free: 3.18 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: 191.2 kB / 28.94 MB, free: 0.5 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 254.4 MB, free: 4.672 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/package.mo): time 0.6274/0.6274, allocations: 3.119 MB / 309.4 MB, free: 2.316 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002688/0.002688, allocations: 99.83 kB / 426.4 MB, free: 18.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08674/0.08944, allocations: 51.97 MB / 478.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.01114/0.1006, allocations: 9.024 MB / 487.4 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00518/0.1058, allocations: 2.556 MB / 490 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.1069, allocations: 47.81 kB / 490 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.1082, allocations: 460.6 kB / 490.5 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.1101, allocations: 0.6521 MB / 491.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.1112, allocations: 487.3 kB / 491.6 MB, free: 0.7695 MB / 350.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.003088/0.1143, allocations: 2.482 MB / 494.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002391/0.1167, allocations: 2.045 MB / 496.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.1183, allocations: 1.086 MB / 497.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/0.12, allocations: 1.315 MB / 498.5 MB, free: 9.754 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004342/0.1204, allocations: 300 kB / 498.8 MB, free: 9.461 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007066/0.1212, allocations: 383.8 kB / 499.2 MB, free: 9.086 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000825/0.122, allocations: 0.7869 MB / 500 MB, free: 8.297 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001444/0.1234, allocations: 1.28 MB / 0.4895 GB, free: 7.012 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003968/0.1274, allocations: 3.733 MB / 0.4932 GB, free: 3.266 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1274, allocations: 7.922 kB / 0.4932 GB, free: 3.258 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1275, allocations: 0 / 0.4932 GB, free: 3.258 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.361e-05/0.1275, allocations: 0 / 0.4932 GB, free: 3.258 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.005644/0.1332, allocations: 2.749 MB / 0.4958 GB, free: 448 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1332, allocations: 12.03 kB / 0.4959 GB, free: 436 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003742/0.1336, allocations: 295.6 kB / 0.4961 GB, free: 128 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007048/0.1343, allocations: 279.4 kB / 0.4964 GB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/0.1365, allocations: 1.326 MB / 0.4977 GB, free: 14.48 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.0002624/0.1368, allocations: 227.4 kB / 0.4979 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000311/0.1371, allocations: 207.9 kB / 0.4981 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004575/0.1417, allocations: 2.694 MB / 0.5007 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.603e-05/0.1418, allocations: 7.953 kB / 0.5008 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000199/0.142, allocations: 84 kB / 0.5008 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/0.1421, allocations: 99.97 kB / 0.5009 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004262/0.1464, allocations: 2.206 MB / 0.5031 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/0.1588, allocations: 7.886 MB / 0.5108 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1778/0.3366, allocations: 1.576 MB / 0.5123 GB, free: 39.65 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001883/0.3385, allocations: 0.938 MB / 0.5132 GB, free: 39.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00022/0.3388, allocations: 120.8 kB / 0.5134 GB, free: 39.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001238/0.34, allocations: 0.7753 MB / 0.5141 GB, free: 39.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.216e-06/0.34, allocations: 0 / 0.5141 GB, free: 39.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01363/0.3537, allocations: 6.661 MB / 0.5206 GB, free: 37.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.3538, allocations: 247.2 kB / 0.5208 GB, free: 36.74 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.001888/0.3557, allocations: 1.194 MB / 0.522 GB, free: 36.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.551e-05/0.3558, allocations: 47.23 kB / 0.5221 GB, free: 36.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006186/0.3564, allocations: 0.945 MB / 0.523 GB, free: 35.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/0.3566, allocations: 428.8 kB / 0.5234 GB, free: 35.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000386/0.357, allocations: 249.8 kB / 0.5236 GB, free: 35.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.514e-05/0.3571, allocations: 365.4 kB / 0.524 GB, free: 34.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.3584, allocations: 0.7027 MB / 0.5247 GB, free: 34.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.3597, allocations: 1.093 MB / 0.5257 GB, free: 33.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008135/0.3678, allocations: 3.55 MB / 0.5292 GB, free: 32.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.3679, allocations: 3.719 kB / 0.5292 GB, free: 32.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003887/0.3717, allocations: 2.523 MB / 0.5317 GB, free: 31.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.3718, allocations: 35.73 kB / 0.5317 GB, free: 31.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.3718, allocations: 9.969 kB / 0.5317 GB, free: 31.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.3729, allocations: 0.5052 MB / 0.5322 GB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009403/0.3738, allocations: 294 kB / 0.5325 GB, free: 30.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005694/0.3795, allocations: 8.803 MB / 0.5411 GB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.3807, allocations: 124.5 kB / 0.5412 GB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.74e-05/0.3808, allocations: 68.08 kB / 0.5413 GB, free: 23.34 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.001714/0.3826, allocations: 1.221 MB / 0.5425 GB, free: 22.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001088/0.3837, allocations: 1.072 MB / 0.5435 GB, free: 21.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006956/0.3906, allocations: 3.483 MB / 0.5469 GB, free: 18.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.38e-06/0.3907, allocations: 0 / 0.5469 GB, free: 18.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.003324/0.394, allocations: 2.47 MB / 0.5493 GB, free: 15.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.394, allocations: 49.72 kB / 0.5494 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.394, allocations: 8 kB / 0.5494 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009086/0.395, allocations: 0.5095 MB / 0.5499 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008728/0.3958, allocations: 279.6 kB / 0.5501 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005423/0.4013, allocations: 8.798 MB / 0.5587 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.4026, allocations: 135.9 kB / 0.5589 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.803e-05/0.4027, allocations: 59.94 kB / 0.5589 GB, free: 5.504 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: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (147): * Single equations (assignments): 140 * 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.0003747/0.4031, allocations: 295.1 kB / 0.5592 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.4033, allocations: 143.1 kB / 0.5593 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003209/0.4065, allocations: 2.199 MB / 0.5615 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.4065, allocations: 12 kB / 0.5615 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.4066, allocations: 4 kB / 0.5615 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.4066, allocations: 3.984 kB / 0.5615 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006449/0.413, allocations: 4.586 MB / 0.566 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.4131, allocations: 11.7 kB / 0.566 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008482/0.4139, allocations: 199.7 kB / 0.5662 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00132/0.4152, allocations: 0.5091 MB / 0.5667 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.053e-05/0.4153, allocations: 39.98 kB / 0.5667 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008398/0.4238, allocations: 8.621 MB / 0.5751 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.4238, allocations: 4 kB / 0.5751 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005558/0.4293, allocations: 3.232 MB / 0.5783 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006835/0.43, allocations: 364.1 kB / 0.5786 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/0.4302, allocations: 32 kB / 0.5787 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009289/0.4312, allocations: 103.9 kB / 0.5788 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002649/0.4315, allocations: 104.7 kB / 0.5789 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.4e-05/0.4316, allocations: 39.98 kB / 0.5789 GB, free: 220 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001184/0.4327, allocations: 0.8043 MB / 0.5797 GB, free: 15.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4328, allocations: 0 / 0.5797 GB, free: 15.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002338/0.4351, allocations: 0.746 MB / 0.5804 GB, free: 14.66 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 (98): * Single equations (assignments): 90 * 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.005928/0.441, allocations: 3.859 MB / 0.5842 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01055/0.4516, allocations: 6.682 MB / 0.5907 GB, free: 3.781 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.4516, allocations: 4.625 kB / 0.5907 GB, free: 3.777 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004517/0.4562, allocations: 2.829 MB / 0.5935 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.4581, allocations: 398.2 kB / 0.5939 GB, free: 472 kB / 414.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.01894/0.477, allocations: 12.11 MB / 0.6057 GB, free: 3.891 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.4786, allocations: 1.738 MB / 0.6074 GB, free: 2.117 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001178/0.4798, allocations: 415.6 kB / 0.6078 GB, free: 1.707 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.4808, allocations: 0.7843 MB / 0.6086 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4808, allocations: 4 kB / 0.6086 GB, free: 0.918 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7829/1.264, allocations: 47.76 MB / 0.6552 GB, free: 1.551 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/14.24, allocations: 8.062 kB / 0.6552 GB, free: 1.543 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=0.0001 EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing.fmu > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1)