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.00119/0.00119, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001202/0.001202, allocations: 195.3 kB / 16.14 MB, free: 6.688 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.269/1.269, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1688/0.1688, allocations: 8.027 MB / 298 MB, free: 2.426 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 59.91 kB / 360.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09009/0.09123, allocations: 51.19 MB / 411.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.1836/0.2749, allocations: 14.8 MB / 426 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006025/0.2809, allocations: 3.67 MB / 429.7 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.2828, allocations: 82 kB / 429.8 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001684/0.2845, allocations: 0.602 MB / 430.4 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003051/0.2876, allocations: 1.087 MB / 431.5 MB, free: 35.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.289, allocations: 0.6699 MB / 432.2 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004113/0.2931, allocations: 5.187 MB / 437.3 MB, free: 33.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003153/0.2963, allocations: 2.881 MB / 440.2 MB, free: 32.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002343/0.2987, allocations: 1.743 MB / 442 MB, free: 31.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003217/0.3019, allocations: 2.388 MB / 444.4 MB, free: 30.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007395/0.3026, allocations: 335.6 kB / 444.7 MB, free: 30.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.3039, allocations: 432.6 kB / 445.1 MB, free: 30.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009349/0.3048, allocations: 1.269 MB / 446.4 MB, free: 29.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00204/0.3069, allocations: 2.163 MB / 448.5 MB, free: 28.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004356/0.3113, allocations: 6.725 MB / 455.3 MB, free: 26.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3113, allocations: 0.75 kB / 455.3 MB, free: 26.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3113, allocations: 0 / 455.3 MB, free: 26.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000121/0.3114, allocations: 0 / 455.3 MB, free: 26.29 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.007681/0.3191, allocations: 4.62 MB / 459.9 MB, free: 23.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3192, allocations: 9.031 kB / 459.9 MB, free: 23.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005346/0.3197, allocations: 0.5196 MB / 460.4 MB, free: 23.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.3208, allocations: 488.7 kB / 460.9 MB, free: 23.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003256/0.324, allocations: 2.282 MB / 463.2 MB, free: 22.05 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.0003085/0.3243, allocations: 355 kB / 463.5 MB, free: 21.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005334/0.3249, allocations: 374.7 kB / 463.9 MB, free: 21.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007961/0.3329, allocations: 4.923 MB / 468.8 MB, free: 19.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.874e-05/0.333, allocations: 19.14 kB / 468.8 MB, free: 19.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003057/0.3333, allocations: 161.1 kB / 469 MB, free: 19.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001971/0.3335, allocations: 180.4 kB / 469.2 MB, free: 19.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006422/0.3399, allocations: 4.032 MB / 473.2 MB, free: 18.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02209/0.362, allocations: 14.78 MB / 488 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003407/0.3655, allocations: 2.645 MB / 490.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002658/0.3681, allocations: 1.693 MB / 492.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/0.3684, allocations: 131.1 kB / 492.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.3685, allocations: 60.38 kB / 492.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=171): time 3.777e-06/0.3685, allocations: 0 / 492.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=205): time 0.02975/0.3983, allocations: 13.28 MB / 0.4939 GB, free: 8.246 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.3984, allocations: 128.8 kB / 0.4941 GB, free: 8.098 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.005134/0.4035, allocations: 2.302 MB / 0.4963 GB, free: 5.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003525/0.4039, allocations: 57.7 kB / 0.4964 GB, free: 5.707 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001428/0.4053, allocations: 1.675 MB / 0.498 GB, free: 4.008 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009035/0.4063, allocations: 0.6931 MB / 0.4987 GB, free: 3.305 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001068/0.4073, allocations: 428.4 kB / 0.4991 GB, free: 2.879 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4075, allocations: 305.1 kB / 0.4994 GB, free: 2.578 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/0.4097, allocations: 1.233 MB / 0.5006 GB, free: 1.336 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00248/0.4122, allocations: 1.865 MB / 0.5024 GB, free: 15.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01381/0.426, allocations: 6.156 MB / 0.5084 GB, free: 8.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.076e-05/0.426, allocations: 8 kB / 0.5084 GB, free: 8.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.007482/0.4335, allocations: 4.507 MB / 0.5128 GB, free: 4.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.4336, allocations: 14.66 kB / 0.5128 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/0.4336, allocations: 20 kB / 0.5128 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/0.4359, allocations: 0.993 MB / 0.5138 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.4376, allocations: 0.5031 MB / 0.5143 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01456/0.4522, allocations: 16.16 MB / 0.5301 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/0.4545, allocations: 171.8 kB / 0.5302 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004197/0.4549, allocations: 99.98 kB / 0.5303 GB, free: 1.121 MB / 398.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.003959/0.4589, allocations: 2.203 MB / 0.5325 GB, free: 14.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002342/0.4613, allocations: 1.849 MB / 0.5343 GB, free: 12.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01335/0.4746, allocations: 6.082 MB / 0.5402 GB, free: 6.434 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.74e-05/0.4747, allocations: 4 kB / 0.5402 GB, free: 6.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.007295/0.482, allocations: 4.457 MB / 0.5446 GB, free: 1.898 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.482, allocations: 12 kB / 0.5446 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.12e-05/0.4821, allocations: 20 kB / 0.5446 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002225/0.4843, allocations: 1 MB / 0.5456 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.486, allocations: 499.2 kB / 0.5461 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/0.5002, allocations: 16.16 MB / 0.5619 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/0.5024, allocations: 159.8 kB / 0.562 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003677/0.5028, allocations: 104 kB / 0.5621 GB, free: 14.86 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.000762/0.5035, allocations: 376.5 kB / 0.5625 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006517/0.5042, allocations: 252.9 kB / 0.5627 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006398/0.5106, allocations: 3.95 MB / 0.5666 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.5106, allocations: 20 kB / 0.5666 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.774e-05/0.5107, allocations: 8 kB / 0.5666 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.5107, allocations: 11.97 kB / 0.5666 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/0.5258, allocations: 8.274 MB / 0.5747 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/0.5258, allocations: 8 kB / 0.5747 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/0.5271, allocations: 320.3 kB / 0.575 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002597/0.5297, allocations: 1.037 MB / 0.576 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000169/0.5299, allocations: 63.97 kB / 0.5761 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.181/0.7109, allocations: 15.82 MB / 0.5915 GB, free: 112.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.711, allocations: 13.06 kB / 0.5915 GB, free: 112.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007214/0.7182, allocations: 5.738 MB / 0.5971 GB, free: 110.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/0.7194, allocations: 0.5833 MB / 0.5977 GB, free: 109.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003381/0.7198, allocations: 61.17 kB / 0.5978 GB, free: 109.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.7211, allocations: 148.6 kB / 0.5979 GB, free: 109.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004068/0.7215, allocations: 189.5 kB / 0.5981 GB, free: 109.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/0.7216, allocations: 70.69 kB / 0.5982 GB, free: 109.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001733/0.7234, allocations: 1.515 MB / 0.5996 GB, free: 109.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7234, allocations: 0 / 0.5996 GB, free: 109.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003731/0.7271, allocations: 1.368 MB / 0.601 GB, free: 109.1 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.007238/0.7344, allocations: 6.419 MB / 0.6072 GB, free: 106 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01333/0.7477, allocations: 10.09 MB / 0.6171 GB, free: 100 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.7477, allocations: 1.812 kB / 0.6171 GB, free: 100 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005672/0.7534, allocations: 4.26 MB / 0.6213 GB, free: 97.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003376/0.7568, allocations: 0.6485 MB / 0.6219 GB, free: 97.03 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1941:3-1941:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03981/0.7966, allocations: 26.75 MB / 0.648 GB, free: 80.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/0.7991, allocations: 2.694 MB / 0.6506 GB, free: 78.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002484/0.8016, allocations: 0.7612 MB / 0.6514 GB, free: 78.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/0.8032, allocations: 1.459 MB / 0.6528 GB, free: 76.93 MB / 446.1 MB Notification: Performance of SimCode: time 1.533e-06/0.8032, allocations: 4 kB / 0.6528 GB, free: 76.93 MB / 446.1 MB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 2.898223593858831 / (6.283185307179586 * aimc.fsNominal). [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 0.1017764061411688 / (6.283185307179586 * aimc.fsNominal). [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 2.898223593858831 / (6.283185307179586 * aimc0.fsNominal). [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 0.1017764061411688 / (6.283185307179586 * aimc0.fsNominal).