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.001175/0.001175, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.16/0.16, allocations: 8.018 MB / 298.4 MB, free: 2.316 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.91 kB / 360.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1064, allocations: 51.19 MB / 411.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.2003/0.3068, allocations: 14.96 MB / 426.9 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007476/0.3144, allocations: 3.711 MB / 430.6 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002874/0.3173, allocations: 93.94 kB / 430.7 MB, free: 36.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.3193, allocations: 0.7203 MB / 431.4 MB, free: 36.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003843/0.3232, allocations: 1.197 MB / 432.6 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.3248, allocations: 0.748 MB / 433.4 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004924/0.3297, allocations: 4.517 MB / 437.9 MB, free: 32.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003039/0.3328, allocations: 3.48 MB / 441.3 MB, free: 31.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002439/0.3353, allocations: 1.999 MB / 443.3 MB, free: 30.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002846/0.3381, allocations: 2.486 MB / 445.8 MB, free: 29.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009171/0.3391, allocations: 0.5371 MB / 446.4 MB, free: 29.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.3404, allocations: 0.6227 MB / 447 MB, free: 29.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.3414, allocations: 1.486 MB / 448.5 MB, free: 28.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002387/0.3438, allocations: 2.393 MB / 450.9 MB, free: 26.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005128/0.349, allocations: 6.907 MB / 457.8 MB, free: 24.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.349, allocations: 0 / 457.8 MB, free: 24.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.349, allocations: 0 / 457.8 MB, free: 24.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001331/0.3492, allocations: 0 / 457.8 MB, free: 24.44 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.008467/0.3576, allocations: 4.616 MB / 462.4 MB, free: 21.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3577, allocations: 9.469 kB / 462.4 MB, free: 21.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006385/0.3583, allocations: 0.5136 MB / 462.9 MB, free: 21.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.3595, allocations: 492.5 kB / 463.4 MB, free: 21.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003847/0.3633, allocations: 2.282 MB / 465.7 MB, free: 20.16 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.0003471/0.3637, allocations: 351.7 kB / 466 MB, free: 19.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006978/0.3644, allocations: 376.3 kB / 466.4 MB, free: 19.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009921/0.3744, allocations: 4.93 MB / 471.3 MB, free: 17.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/0.3745, allocations: 13.53 kB / 471.3 MB, free: 17.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003698/0.3749, allocations: 152.7 kB / 471.5 MB, free: 17.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000207/0.3751, allocations: 181 kB / 471.7 MB, free: 17.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008447/0.3836, allocations: 4.035 MB / 475.7 MB, free: 16.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02501/0.4086, allocations: 14.79 MB / 490.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003538/0.4122, allocations: 2.634 MB / 493.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002338/0.4146, allocations: 1.705 MB / 494.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002527/0.4148, allocations: 127.1 kB / 494.9 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.4149, allocations: 64.42 kB / 495 MB, free: 3.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=171): time 4.428e-06/0.4149, allocations: 4 kB / 495 MB, free: 3.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=205): time 0.03197/0.4469, allocations: 13.29 MB / 0.4964 GB, free: 5.734 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.19e-05/0.447, allocations: 124.8 kB / 0.4965 GB, free: 5.59 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.004568/0.4516, allocations: 2.301 MB / 0.4988 GB, free: 3.266 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002429/0.4518, allocations: 57.7 kB / 0.4988 GB, free: 3.203 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.4531, allocations: 1.671 MB / 0.5004 GB, free: 1.508 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008073/0.4539, allocations: 0.7009 MB / 0.5011 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008055/0.4547, allocations: 424.5 kB / 0.5015 GB, free: 384 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4549, allocations: 301.1 kB / 0.5018 GB, free: 80 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/0.457, allocations: 1.233 MB / 0.503 GB, free: 14.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002529/0.4596, allocations: 1.868 MB / 0.5049 GB, free: 12.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01434/0.4739, allocations: 6.179 MB / 0.5109 GB, free: 6.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.46e-05/0.474, allocations: 8 kB / 0.5109 GB, free: 6.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.008857/0.4828, allocations: 4.499 MB / 0.5153 GB, free: 1.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/0.4829, allocations: 12 kB / 0.5153 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.271e-05/0.4829, allocations: 20 kB / 0.5153 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002386/0.4853, allocations: 1.015 MB / 0.5163 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/0.4874, allocations: 0.5031 MB / 0.5168 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01706/0.5044, allocations: 17.59 MB / 0.534 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00297/0.5075, allocations: 167.7 kB / 0.5341 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005963/0.5081, allocations: 99.98 kB / 0.5342 GB, free: 13.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.005701/0.5138, allocations: 2.199 MB / 0.5364 GB, free: 10.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002746/0.5166, allocations: 1.857 MB / 0.5382 GB, free: 8.766 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01481/0.5314, allocations: 6.094 MB / 0.5441 GB, free: 2.402 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.608e-05/0.5315, allocations: 7.938 kB / 0.5442 GB, free: 2.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.009019/0.5405, allocations: 4.469 MB / 0.5485 GB, free: 13.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.5406, allocations: 12 kB / 0.5485 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.144e-05/0.5406, allocations: 20 kB / 0.5485 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002484/0.5431, allocations: 1.004 MB / 0.5495 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/0.545, allocations: 499.2 kB / 0.55 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01754/0.5626, allocations: 17.6 MB / 0.5672 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/0.565, allocations: 159.8 kB / 0.5673 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003734/0.5654, allocations: 108 kB / 0.5674 GB, free: 9.309 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.0008189/0.5662, allocations: 378.3 kB / 0.5678 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006804/0.5669, allocations: 252.9 kB / 0.5681 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006921/0.5738, allocations: 3.95 MB / 0.5719 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.5739, allocations: 20 kB / 0.5719 GB, free: 4.637 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.948e-05/0.5739, allocations: 8 kB / 0.5719 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.176e-05/0.5739, allocations: 15.95 kB / 0.572 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2178/0.7917, allocations: 8.265 MB / 0.58 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.7917, allocations: 9.938 kB / 0.58 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/0.7929, allocations: 322.6 kB / 0.5803 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002347/0.7953, allocations: 1.044 MB / 0.5814 GB, free: 121 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001627/0.7955, allocations: 64.14 kB / 0.5814 GB, free: 121 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01164/0.8071, allocations: 17.23 MB / 0.5982 GB, free: 109 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.8072, allocations: 15.59 kB / 0.5983 GB, free: 109 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007378/0.8146, allocations: 5.733 MB / 0.6039 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/0.8159, allocations: 0.5874 MB / 0.6044 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004001/0.8163, allocations: 64.08 kB / 0.6045 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/0.8178, allocations: 146.2 kB / 0.6046 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004054/0.8182, allocations: 182.2 kB / 0.6048 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/0.8183, allocations: 70.94 kB / 0.6049 GB, free: 106.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001928/0.8203, allocations: 1.521 MB / 0.6064 GB, free: 105.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.8203, allocations: 0 / 0.6064 GB, free: 105.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004177/0.8245, allocations: 1.369 MB / 0.6077 GB, free: 105.5 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.008128/0.8326, allocations: 6.419 MB / 0.614 GB, free: 102.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01702/0.8497, allocations: 11.32 MB / 0.625 GB, free: 96.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/0.8497, allocations: 2.062 kB / 0.625 GB, free: 96.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006198/0.8559, allocations: 4.261 MB / 0.6292 GB, free: 93.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003544/0.8595, allocations: 0.6781 MB / 0.6299 GB, free: 93.26 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.03302/0.8925, allocations: 25.28 MB / 0.6545 GB, free: 74.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002022/0.8946, allocations: 2.696 MB / 0.6572 GB, free: 72.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002365/0.897, allocations: 0.7572 MB / 0.6579 GB, free: 72.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/0.8984, allocations: 1.463 MB / 0.6593 GB, free: 70.79 MB / 446.1 MB Notification: Performance of SimCode: time 1.292e-06/0.8984, allocations: 0 / 0.6593 GB, free: 70.79 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).