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.001423/0.001423, 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.001203/0.001204, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1385/0.1385, allocations: 8.023 MB / 298.4 MB, free: 2.445 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 67.89 kB / 360.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07947/0.08087, allocations: 51.18 MB / 411.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.159/0.2399, allocations: 14.96 MB / 426.9 MB, free: 37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005257/0.2452, allocations: 3.718 MB / 430.6 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.2463, allocations: 90.28 kB / 430.7 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.2475, allocations: 0.7232 MB / 431.4 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.2498, allocations: 1.199 MB / 432.6 MB, free: 35.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.2509, allocations: 0.7535 MB / 433.4 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003125/0.2541, allocations: 4.511 MB / 437.9 MB, free: 33.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00279/0.2569, allocations: 3.476 MB / 441.4 MB, free: 31.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/0.2587, allocations: 1.997 MB / 443.3 MB, free: 30.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00262/0.2613, allocations: 2.491 MB / 445.8 MB, free: 29.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007237/0.2621, allocations: 0.5376 MB / 446.4 MB, free: 29.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.2632, allocations: 0.6226 MB / 447 MB, free: 29.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.2643, allocations: 1.483 MB / 448.5 MB, free: 28.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0021/0.2664, allocations: 2.395 MB / 450.9 MB, free: 27.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004446/0.2708, allocations: 6.905 MB / 457.8 MB, free: 24.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2709, allocations: 4 kB / 457.8 MB, free: 24.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2709, allocations: 0 / 457.8 MB, free: 24.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001322/0.271, allocations: 0 / 457.8 MB, free: 24.65 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.007704/0.2787, allocations: 4.61 MB / 462.4 MB, free: 22.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2788, allocations: 9.25 kB / 462.4 MB, free: 22.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005364/0.2793, allocations: 0.5247 MB / 462.9 MB, free: 21.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.2804, allocations: 487.5 kB / 463.4 MB, free: 21.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003232/0.2837, allocations: 2.281 MB / 465.7 MB, free: 20.38 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.0003212/0.284, allocations: 350.5 kB / 466 MB, free: 20.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005268/0.2845, allocations: 374.5 kB / 466.4 MB, free: 20.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007758/0.2923, allocations: 4.928 MB / 471.3 MB, free: 18.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.111e-05/0.2924, allocations: 13.36 kB / 471.3 MB, free: 18.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003217/0.2927, allocations: 157.3 kB / 471.5 MB, free: 17.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000167/0.2929, allocations: 183.1 kB / 471.7 MB, free: 17.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007093/0.3, allocations: 4.031 MB / 475.7 MB, free: 16.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02211/0.3222, allocations: 14.79 MB / 490.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003444/0.3256, allocations: 2.641 MB / 493.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002435/0.3281, allocations: 1.697 MB / 494.8 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/0.3283, allocations: 135.1 kB / 495 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.3284, allocations: 56.44 kB / 495 MB, free: 3.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=171): time 3.897e-06/0.3284, allocations: 4 kB / 495 MB, free: 3.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=205): time 0.03066/0.3591, allocations: 13.28 MB / 0.4964 GB, free: 5.891 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.3592, allocations: 128.8 kB / 0.4965 GB, free: 5.742 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.003278/0.3624, allocations: 2.299 MB / 0.4988 GB, free: 3.418 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001881/0.3626, allocations: 61.7 kB / 0.4988 GB, free: 3.352 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.3637, allocations: 1.671 MB / 0.5004 GB, free: 1.656 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000542/0.3642, allocations: 0.6971 MB / 0.5011 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006824/0.3649, allocations: 432.4 kB / 0.5015 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.852e-05/0.365, allocations: 305.1 kB / 0.5018 GB, free: 224 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001901/0.3669, allocations: 1.221 MB / 0.503 GB, free: 14.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/0.3692, allocations: 1.876 MB / 0.5049 GB, free: 12.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01393/0.3832, allocations: 6.175 MB / 0.5109 GB, free: 6.383 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.125e-05/0.3832, allocations: 12 kB / 0.5109 GB, free: 6.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.007776/0.391, allocations: 4.503 MB / 0.5153 GB, free: 1.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.3911, allocations: 12 kB / 0.5153 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.117e-05/0.3911, allocations: 20 kB / 0.5153 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002377/0.3935, allocations: 0.9972 MB / 0.5163 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/0.3953, allocations: 0.5031 MB / 0.5168 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/0.4114, allocations: 17.59 MB / 0.534 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/0.4139, allocations: 171.7 kB / 0.5341 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000413/0.4143, allocations: 104 kB / 0.5342 GB, free: 13.25 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.003938/0.4182, allocations: 2.195 MB / 0.5364 GB, free: 11.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002413/0.4207, allocations: 1.849 MB / 0.5382 GB, free: 8.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01411/0.4348, allocations: 6.109 MB / 0.5441 GB, free: 2.551 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.351e-05/0.4349, allocations: 12.09 kB / 0.5442 GB, free: 2.539 MB / 414.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.008044/0.4429, allocations: 4.461 MB / 0.5485 GB, free: 14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.443, allocations: 16.06 kB / 0.5485 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/0.443, allocations: 20 kB / 0.5486 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002284/0.4453, allocations: 1.001 MB / 0.5495 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/0.4472, allocations: 0.4914 MB / 0.55 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01603/0.4632, allocations: 17.61 MB / 0.5672 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/0.4658, allocations: 159.8 kB / 0.5674 GB, free: 9.559 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004419/0.4662, allocations: 99.98 kB / 0.5675 GB, free: 9.461 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.0008674/0.4671, allocations: 391.4 kB / 0.5678 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006817/0.4678, allocations: 252.9 kB / 0.5681 GB, free: 8.836 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006953/0.4748, allocations: 3.943 MB / 0.5719 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.4748, allocations: 20 kB / 0.5719 GB, free: 4.789 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-05/0.4748, allocations: 8 kB / 0.5719 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.4749, allocations: 11.95 kB / 0.572 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1917/0.6666, allocations: 8.264 MB / 0.58 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/0.6666, allocations: 9.656 kB / 0.58 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/0.668, allocations: 328.6 kB / 0.5803 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002335/0.6703, allocations: 1.036 MB / 0.5814 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002111/0.6705, allocations: 64.81 kB / 0.5814 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/0.6822, allocations: 17.24 MB / 0.5983 GB, free: 109.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-06/0.6823, allocations: 8.984 kB / 0.5983 GB, free: 109.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007492/0.6898, allocations: 5.738 MB / 0.6039 GB, free: 106.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.691, allocations: 0.5886 MB / 0.6044 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003807/0.6914, allocations: 63.14 kB / 0.6045 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/0.6929, allocations: 139.6 kB / 0.6046 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003982/0.6933, allocations: 191.2 kB / 0.6048 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/0.6934, allocations: 71.95 kB / 0.6049 GB, free: 106.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001863/0.6953, allocations: 1.513 MB / 0.6064 GB, free: 105.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6953, allocations: 3.031 kB / 0.6064 GB, free: 105.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004034/0.6993, allocations: 1.37 MB / 0.6077 GB, free: 105.7 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.007975/0.7073, allocations: 6.419 MB / 0.614 GB, free: 102.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01643/0.7238, allocations: 11.31 MB / 0.625 GB, free: 96.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/0.7238, allocations: 2.344 kB / 0.625 GB, free: 96.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005735/0.7295, allocations: 4.27 MB / 0.6292 GB, free: 93.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003253/0.7328, allocations: 0.6854 MB / 0.6299 GB, free: 93.48 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.03046/0.7633, allocations: 25.27 MB / 0.6545 GB, free: 75.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0019/0.7652, allocations: 2.688 MB / 0.6572 GB, free: 72.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002238/0.7675, allocations: 0.7622 MB / 0.6579 GB, free: 72.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001424/0.7689, allocations: 1.461 MB / 0.6593 GB, free: 71.08 MB / 446.1 MB Notification: Performance of SimCode: time 9.71e-07/0.7689, allocations: 0 / 0.6593 GB, free: 71.08 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).