Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_latest_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.001099/0.001099, allocations: 108 kB / 15.61 MB, free: 152 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.001185/0.001185, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1552/0.1552, allocations: 8.028 MB / 298.4 MB, free: 2.355 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 63.89 kB / 360.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1354, allocations: 51.19 MB / 411.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.2294/0.3649, allocations: 14.95 MB / 426.9 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006589/0.3715, allocations: 3.719 MB / 430.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001974/0.3735, allocations: 85.16 kB / 430.7 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.3752, allocations: 0.7276 MB / 431.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00301/0.3782, allocations: 1.2 MB / 432.6 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.3796, allocations: 0.751 MB / 433.4 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003601/0.3832, allocations: 4.513 MB / 437.9 MB, free: 33.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002923/0.3862, allocations: 3.473 MB / 441.4 MB, free: 31.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002411/0.3886, allocations: 2.005 MB / 443.4 MB, free: 30.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/0.3915, allocations: 2.479 MB / 445.8 MB, free: 29.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000908/0.3924, allocations: 0.5405 MB / 446.4 MB, free: 29.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.3937, allocations: 0.618 MB / 447 MB, free: 29.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.3948, allocations: 1.49 MB / 448.5 MB, free: 28.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002315/0.3971, allocations: 2.396 MB / 450.9 MB, free: 27.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0053/0.4024, allocations: 6.897 MB / 457.8 MB, free: 24.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.4024, allocations: 8.344 kB / 457.8 MB, free: 24.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4024, allocations: 0 / 457.8 MB, free: 24.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001954/0.4026, allocations: 0 / 457.8 MB, free: 24.64 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.01074/0.4134, allocations: 4.608 MB / 462.4 MB, free: 22.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.4135, allocations: 9.281 kB / 462.4 MB, free: 22.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006144/0.4141, allocations: 0.5202 MB / 462.9 MB, free: 21.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.4153, allocations: 492.3 kB / 463.4 MB, free: 21.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003873/0.4192, allocations: 2.289 MB / 465.7 MB, free: 20.36 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.0003451/0.4195, allocations: 343.1 kB / 466 MB, free: 20.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005667/0.4201, allocations: 375 kB / 466.4 MB, free: 20.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00882/0.4289, allocations: 4.926 MB / 471.3 MB, free: 18.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.62e-05/0.429, allocations: 12.83 kB / 471.3 MB, free: 18.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003184/0.4294, allocations: 157.1 kB / 471.5 MB, free: 17.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001612/0.4295, allocations: 185 kB / 471.7 MB, free: 17.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007537/0.4371, allocations: 4.033 MB / 475.7 MB, free: 16.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02248/0.4596, allocations: 14.79 MB / 490.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003261/0.4629, allocations: 2.648 MB / 493.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002333/0.4653, allocations: 1.693 MB / 494.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/0.4655, allocations: 135.1 kB / 495 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.4655, allocations: 56.5 kB / 495 MB, free: 3.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=171): time 3.467e-06/0.4656, allocations: 0 / 495 MB, free: 3.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=205): time 0.03086/0.4964, allocations: 13.29 MB / 0.4964 GB, free: 5.824 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/0.4965, allocations: 124.8 kB / 0.4965 GB, free: 5.68 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.004441/0.501, allocations: 2.303 MB / 0.4988 GB, free: 3.352 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003781/0.5014, allocations: 65.64 kB / 0.4988 GB, free: 3.281 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001404/0.5028, allocations: 1.675 MB / 0.5005 GB, free: 1.582 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000849/0.5037, allocations: 0.6931 MB / 0.5011 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009892/0.5047, allocations: 436.4 kB / 0.5015 GB, free: 456 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.5048, allocations: 301.1 kB / 0.5018 GB, free: 152 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002084/0.5069, allocations: 1.225 MB / 0.503 GB, free: 14.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00254/0.5094, allocations: 1.872 MB / 0.5049 GB, free: 12.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01436/0.5238, allocations: 6.183 MB / 0.5109 GB, free: 6.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.652e-05/0.5239, allocations: 8 kB / 0.5109 GB, free: 6.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.00797/0.5319, allocations: 4.503 MB / 0.5153 GB, free: 1.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.5319, allocations: 12 kB / 0.5153 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.313e-05/0.532, allocations: 20 kB / 0.5153 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002331/0.5343, allocations: 1 MB / 0.5163 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/0.5361, allocations: 0.4953 MB / 0.5168 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01684/0.553, allocations: 17.6 MB / 0.534 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/0.5553, allocations: 167.7 kB / 0.5341 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000444/0.5557, allocations: 108 kB / 0.5342 GB, free: 13.18 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.004465/0.5602, allocations: 2.193 MB / 0.5364 GB, free: 10.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002604/0.5628, allocations: 1.845 MB / 0.5382 GB, free: 8.855 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01362/0.5765, allocations: 6.113 MB / 0.5442 GB, free: 2.473 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.878e-05/0.5765, allocations: 11.94 kB / 0.5442 GB, free: 2.461 MB / 414.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.007564/0.5841, allocations: 4.453 MB / 0.5485 GB, free: 13.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.5841, allocations: 16.62 kB / 0.5485 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/0.5842, allocations: 24 kB / 0.5486 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002243/0.5864, allocations: 1 MB / 0.5495 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/0.5882, allocations: 0.4914 MB / 0.55 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01723/0.6055, allocations: 17.6 MB / 0.5672 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/0.608, allocations: 159.8 kB / 0.5673 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005397/0.6086, allocations: 104 kB / 0.5674 GB, free: 9.387 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.001032/0.6096, allocations: 376.5 kB / 0.5678 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008628/0.6105, allocations: 252.9 kB / 0.568 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007298/0.6178, allocations: 3.954 MB / 0.5719 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.6179, allocations: 20 kB / 0.5719 GB, free: 4.711 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.119e-05/0.6179, allocations: 8 kB / 0.5719 GB, free: 4.703 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-05/0.6179, allocations: 11.97 kB / 0.5719 GB, free: 4.691 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2179/0.8359, allocations: 8.26 MB / 0.58 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/0.8359, allocations: 13.47 kB / 0.58 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/0.8371, allocations: 329.3 kB / 0.5803 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002296/0.8394, allocations: 1.039 MB / 0.5814 GB, free: 121.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/0.8396, allocations: 63.12 kB / 0.5814 GB, free: 121.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01157/0.8512, allocations: 17.23 MB / 0.5982 GB, free: 109.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.128e-06/0.8512, allocations: 13.47 kB / 0.5983 GB, free: 109.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007451/0.8587, allocations: 5.738 MB / 0.6039 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/0.8603, allocations: 0.5883 MB / 0.6044 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004342/0.8607, allocations: 56.67 kB / 0.6045 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/0.8622, allocations: 149.2 kB / 0.6046 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004056/0.8626, allocations: 178.5 kB / 0.6048 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/0.8627, allocations: 72.31 kB / 0.6049 GB, free: 106.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001949/0.8647, allocations: 1.522 MB / 0.6064 GB, free: 105.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8647, allocations: 0 / 0.6064 GB, free: 105.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004196/0.8689, allocations: 1.367 MB / 0.6077 GB, free: 105.8 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.008286/0.8772, allocations: 6.425 MB / 0.614 GB, free: 102.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01665/0.8939, allocations: 11.32 MB / 0.625 GB, free: 96.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/0.8939, allocations: 2.469 kB / 0.625 GB, free: 96.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005887/0.8998, allocations: 4.26 MB / 0.6292 GB, free: 93.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/0.9032, allocations: 0.6918 MB / 0.6299 GB, free: 93.62 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.03383/0.937, allocations: 25.26 MB / 0.6545 GB, free: 75.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002173/0.9392, allocations: 2.692 MB / 0.6572 GB, free: 73.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002399/0.9416, allocations: 0.7665 MB / 0.6579 GB, free: 72.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/0.9431, allocations: 1.465 MB / 0.6593 GB, free: 71.14 MB / 446.1 MB Notification: Performance of SimCode: time 2.765e-06/0.9431, allocations: 0 / 0.6593 GB, free: 71.14 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).