Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.conf.json 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/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-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) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 194.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1767/0.1767, allocations: 8.03 MB / 298.1 MB, free: 2.359 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 67.89 kB / 360.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09387/0.0951, allocations: 51.19 MB / 411.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.1839/0.2791, allocations: 14.8 MB / 426.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007672/0.2868, allocations: 3.657 MB / 429.9 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002406/0.2892, allocations: 84.75 kB / 430 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.2909, allocations: 0.5942 MB / 430.6 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003097/0.294, allocations: 1.077 MB / 431.6 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.2953, allocations: 0.6622 MB / 432.3 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003695/0.2991, allocations: 4.527 MB / 436.8 MB, free: 33.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002867/0.3019, allocations: 3.472 MB / 440.3 MB, free: 32.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/0.3041, allocations: 2.018 MB / 442.3 MB, free: 31.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002275/0.3064, allocations: 2.529 MB / 444.9 MB, free: 30.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006107/0.307, allocations: 0.5404 MB / 445.4 MB, free: 30.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009572/0.308, allocations: 0.6216 MB / 446 MB, free: 30 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009502/0.3089, allocations: 1.494 MB / 447.5 MB, free: 29.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001984/0.3109, allocations: 2.393 MB / 449.9 MB, free: 27.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004835/0.3158, allocations: 6.908 MB / 456.8 MB, free: 25.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3158, allocations: 0 / 456.8 MB, free: 25.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3158, allocations: 0 / 456.8 MB, free: 25.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001406/0.3159, allocations: 0 / 456.8 MB, free: 25.18 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 978 * Number of variables: 978 Notification: Performance of Generate backend data structure: time 0.008825/0.3248, allocations: 4.605 MB / 461.4 MB, free: 22.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3248, allocations: 9.406 kB / 461.4 MB, free: 22.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005783/0.3254, allocations: 0.5236 MB / 461.9 MB, free: 22.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.3266, allocations: 487.8 kB / 462.4 MB, free: 22.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003308/0.3299, allocations: 2.289 MB / 464.7 MB, free: 20.91 MB / 350.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.0003255/0.3302, allocations: 346.8 kB / 465 MB, free: 20.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005223/0.3308, allocations: 385.3 kB / 465.4 MB, free: 20.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008936/0.3397, allocations: 4.926 MB / 470.4 MB, free: 18.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/0.3399, allocations: 14.44 kB / 470.4 MB, free: 18.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003274/0.3402, allocations: 157.4 kB / 470.5 MB, free: 18.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001861/0.3404, allocations: 185.8 kB / 470.7 MB, free: 18.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007284/0.3477, allocations: 4.031 MB / 474.7 MB, free: 17.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02651/0.3742, allocations: 14.79 MB / 489.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003453/0.3777, allocations: 2.649 MB / 492.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002251/0.38, allocations: 1.697 MB / 493.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002463/0.3803, allocations: 135 kB / 494 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.3803, allocations: 56.5 kB / 494.1 MB, free: 4.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=171): time 3.447e-06/0.3803, allocations: 0 / 494.1 MB, free: 4.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=205): time 0.02897/0.4093, allocations: 13.28 MB / 0.4954 GB, free: 6.742 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.899e-05/0.4094, allocations: 124.8 kB / 0.4956 GB, free: 6.598 MB / 366.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 aimc0.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:39:3-41:67:writable] Warning: Parameter aimc0.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) 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 aimc0.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 aimc0.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 aimc0.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc0.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 aimc0.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=2.898223593858831 / (6.283185307179586 * aimc0.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 aimc0.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 aimc0.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 aimc0.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 aimc0.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc0.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc0.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) 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 aimc0.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 aimc0.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 aimc0.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 aimc0.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 aimc0.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/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:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) 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.1017764061411688 / (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.1017764061411688 / (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:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) 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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003371/0.4128, allocations: 2.305 MB / 0.4978 GB, free: 4.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002592/0.4131, allocations: 65.7 kB / 0.4979 GB, free: 4.199 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.4141, allocations: 1.671 MB / 0.4995 GB, free: 2.504 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006044/0.4147, allocations: 0.6931 MB / 0.5002 GB, free: 1.801 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006536/0.4154, allocations: 432.4 kB / 0.5006 GB, free: 1.371 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.974e-05/0.4155, allocations: 305.1 kB / 0.5009 GB, free: 1.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/0.4173, allocations: 1.225 MB / 0.5021 GB, free: 15.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.4196, allocations: 1.868 MB / 0.5039 GB, free: 13.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01351/0.4331, allocations: 6.179 MB / 0.5099 GB, free: 7.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.088e-05/0.4331, allocations: 4 kB / 0.5099 GB, free: 7.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.007603/0.4408, allocations: 4.508 MB / 0.5143 GB, free: 2.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.4408, allocations: 16 kB / 0.5144 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/0.4409, allocations: 20 kB / 0.5144 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002204/0.4431, allocations: 1.007 MB / 0.5154 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/0.4448, allocations: 0.4992 MB / 0.5159 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01485/0.4597, allocations: 17.59 MB / 0.533 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/0.4619, allocations: 175.8 kB / 0.5332 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/0.4621, allocations: 104 kB / 0.5333 GB, free: 14.1 MB / 414.1 MB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" 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] inertia0.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real aimc0.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc0.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.003352/0.4655, allocations: 2.205 MB / 0.5354 GB, free: 11.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002133/0.4676, allocations: 1.849 MB / 0.5373 GB, free: 9.766 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0129/0.4805, allocations: 6.105 MB / 0.5432 GB, free: 3.387 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.193e-05/0.4806, allocations: 7.938 kB / 0.5432 GB, free: 3.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.007387/0.488, allocations: 4.46 MB / 0.5476 GB, free: 14.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.488, allocations: 12 kB / 0.5476 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.155e-05/0.4881, allocations: 20 kB / 0.5476 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002207/0.4903, allocations: 0.9938 MB / 0.5486 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.4921, allocations: 0.4914 MB / 0.5491 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01464/0.5067, allocations: 17.61 MB / 0.5663 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/0.509, allocations: 163.8 kB / 0.5664 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002202/0.5093, allocations: 99.98 kB / 0.5665 GB, free: 10.31 MB / 446.1 MB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" 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] inertia0.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real aimc0.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc0.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: 87 * Number of states: 0 () * Number of discrete variables: 4 (logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,actuator.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 8 systems {(2,12,100.0%), (1,6,100.0%), (2,1,100.0%), (1,1,100.0%), (2,12,100.0%), (1,6,100.0%), (2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006292/0.5099, allocations: 372.2 kB / 0.5669 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004121/0.5103, allocations: 256.9 kB / 0.5671 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006207/0.5165, allocations: 3.954 MB / 0.571 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.5166, allocations: 20 kB / 0.571 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.5166, allocations: 8 kB / 0.571 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.28e-05/0.5166, allocations: 7.969 kB / 0.571 GB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2067/0.7233, allocations: 8.266 MB / 0.5791 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/0.7234, allocations: 11.75 kB / 0.5791 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.7246, allocations: 325 kB / 0.5794 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002371/0.727, allocations: 1.043 MB / 0.5804 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001594/0.7272, allocations: 66.69 kB / 0.5805 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/0.7387, allocations: 17.23 MB / 0.5973 GB, free: 109.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.7388, allocations: 12.62 kB / 0.5973 GB, free: 109.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007356/0.7461, allocations: 5.737 MB / 0.6029 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/0.7475, allocations: 0.5856 MB / 0.6035 GB, free: 106.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004533/0.7479, allocations: 64.53 kB / 0.6036 GB, free: 106.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/0.7494, allocations: 148.4 kB / 0.6037 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004204/0.7498, allocations: 179.1 kB / 0.6039 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/0.75, allocations: 76.25 kB / 0.6039 GB, free: 106.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001853/0.7518, allocations: 1.518 MB / 0.6054 GB, free: 106 MB / 446.1 MB Notification: Performance of sort global known variables: time 3e-07/0.7518, allocations: 0 / 0.6054 GB, free: 106 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005195/0.757, allocations: 1.368 MB / 0.6068 GB, free: 105.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 13 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],aimc0.inertiaRotor.w,aimc0.idq_sr[1],aimc0.idq_sr[2],aimc0.idq_rr[1],aimc0.idq_rr[2],inertia.phi,inertia0.phi,actuator.integrator.y) * Number of discrete variables: 3 (logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 8 systems {(2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%), (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.007802/0.7649, allocations: 6.419 MB / 0.613 GB, free: 102.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01743/0.7823, allocations: 11.32 MB / 0.6241 GB, free: 96.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.085e-05/0.7824, allocations: 2.5 kB / 0.6241 GB, free: 96.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006369/0.7888, allocations: 4.263 MB / 0.6282 GB, free: 93.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003728/0.7925, allocations: 0.6799 MB / 0.6289 GB, free: 93.68 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1962:3-1962:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04144/0.834, allocations: 26.77 MB / 0.6551 GB, free: 74.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00332/0.8373, allocations: 2.693 MB / 0.6577 GB, free: 72.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002902/0.8403, allocations: 0.7621 MB / 0.6584 GB, free: 71.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002119/0.8424, allocations: 1.462 MB / 0.6599 GB, free: 70.38 MB / 446.1 MB Notification: Performance of SimCode: time 1.683e-06/0.8424, allocations: 0 / 0.6599 GB, free: 70.38 MB / 446.1 MB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 2.898223593858831 / (6.283185307179586 * aimc.fsNominal). [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 0.1017764061411688 / (6.283185307179586 * aimc.fsNominal). [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 2.898223593858831 / (6.283185307179586 * aimc0.fsNominal). [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 0.1017764061411688 / (6.283185307179586 * aimc0.fsNominal).