Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, 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.000971/0.0009711, allocations: 195.5 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.232/1.232, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.13/0.13, allocations: 8.023 MB / 298.4 MB, free: 2.402 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 67.89 kB / 360.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08407/0.08522, allocations: 51.2 MB / 411.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.1606/0.2458, allocations: 14.96 MB / 426.9 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005349/0.2512, allocations: 3.722 MB / 430.6 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009416/0.2522, allocations: 86.25 kB / 430.7 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.2533, allocations: 0.7181 MB / 431.4 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.2553, allocations: 1.201 MB / 432.6 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.2563, allocations: 0.7412 MB / 433.3 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002572/0.2589, allocations: 4.524 MB / 437.9 MB, free: 32.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002519/0.2614, allocations: 3.474 MB / 441.3 MB, free: 31.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.263, allocations: 2 MB / 443.3 MB, free: 30.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.2649, allocations: 2.486 MB / 445.8 MB, free: 29.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005275/0.2655, allocations: 0.5384 MB / 446.4 MB, free: 29.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008512/0.2663, allocations: 0.6229 MB / 447 MB, free: 29.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009405/0.2673, allocations: 1.486 MB / 448.5 MB, free: 28.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001996/0.2693, allocations: 2.39 MB / 450.9 MB, free: 26.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004275/0.2736, allocations: 6.905 MB / 457.8 MB, free: 24.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2736, allocations: 0 / 457.8 MB, free: 24.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2736, allocations: 0 / 457.8 MB, free: 24.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001189/0.2737, allocations: 0 / 457.8 MB, free: 24.5 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.007819/0.2816, allocations: 4.613 MB / 462.4 MB, free: 22.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2816, allocations: 9.625 kB / 462.4 MB, free: 22.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005081/0.2821, allocations: 0.5168 MB / 462.9 MB, free: 21.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.2832, allocations: 493 kB / 463.4 MB, free: 21.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/0.2862, allocations: 2.283 MB / 465.7 MB, free: 20.22 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.0002934/0.2865, allocations: 351.3 kB / 466 MB, free: 20.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00047/0.287, allocations: 376.9 kB / 466.4 MB, free: 19.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007151/0.2942, allocations: 4.928 MB / 471.3 MB, free: 17.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.281e-05/0.2943, allocations: 14.77 kB / 471.3 MB, free: 17.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002873/0.2946, allocations: 153.3 kB / 471.5 MB, free: 17.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001629/0.2948, allocations: 182 kB / 471.7 MB, free: 17.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006279/0.301, allocations: 4.031 MB / 475.7 MB, free: 16.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01988/0.3209, allocations: 14.79 MB / 490.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/0.324, allocations: 2.642 MB / 493.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002166/0.3262, allocations: 1.701 MB / 494.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002141/0.3264, allocations: 127.1 kB / 494.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.3264, allocations: 68.5 kB / 495 MB, free: 3.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=171): time 3.587e-06/0.3265, allocations: 0 / 495 MB, free: 3.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=205): time 0.04375/0.3702, allocations: 13.29 MB / 0.4964 GB, free: 5.781 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.3703, allocations: 124.8 kB / 0.4965 GB, free: 5.637 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.004883/0.3752, allocations: 2.3 MB / 0.4988 GB, free: 3.312 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004264/0.3757, allocations: 69.64 kB / 0.4988 GB, free: 3.238 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001716/0.3774, allocations: 1.663 MB / 0.5004 GB, free: 1.551 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001019/0.3785, allocations: 0.697 MB / 0.5011 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/0.3795, allocations: 428.5 kB / 0.5015 GB, free: 428 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.3797, allocations: 305.1 kB / 0.5018 GB, free: 120 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003389/0.3831, allocations: 1.233 MB / 0.503 GB, free: 14.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003971/0.3871, allocations: 1.865 MB / 0.5049 GB, free: 12.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02391/0.411, allocations: 6.179 MB / 0.5109 GB, free: 6.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.447e-05/0.4111, allocations: 4 kB / 0.5109 GB, free: 6.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.01042/0.4215, allocations: 4.5 MB / 0.5153 GB, free: 1.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.4216, allocations: 16 kB / 0.5153 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.823e-05/0.4216, allocations: 24.03 kB / 0.5153 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002137/0.4237, allocations: 1.01 MB / 0.5163 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.4254, allocations: 0.4992 MB / 0.5168 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01526/0.4407, allocations: 17.59 MB / 0.534 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/0.443, allocations: 167.7 kB / 0.5341 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003852/0.4434, allocations: 104 kB / 0.5342 GB, free: 13.14 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.003678/0.4471, allocations: 2.19 MB / 0.5364 GB, free: 10.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002323/0.4494, allocations: 1.857 MB / 0.5382 GB, free: 8.816 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01291/0.4624, allocations: 6.101 MB / 0.5441 GB, free: 2.445 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.871e-05/0.4624, allocations: 7.938 kB / 0.5442 GB, free: 2.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.006977/0.4694, allocations: 4.468 MB / 0.5485 GB, free: 13.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.4694, allocations: 12 kB / 0.5485 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/0.4695, allocations: 20 kB / 0.5486 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002105/0.4716, allocations: 1.005 MB / 0.5495 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.4732, allocations: 499.2 kB / 0.55 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0148/0.488, allocations: 17.61 MB / 0.5672 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/0.4902, allocations: 155.9 kB / 0.5674 GB, free: 9.457 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003195/0.4905, allocations: 99.98 kB / 0.5674 GB, free: 9.359 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.0007378/0.4912, allocations: 377.7 kB / 0.5678 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006547/0.4919, allocations: 252.9 kB / 0.568 GB, free: 8.742 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006406/0.4983, allocations: 3.954 MB / 0.5719 GB, free: 4.703 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.4983, allocations: 20 kB / 0.5719 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.34e-05/0.4984, allocations: 8 kB / 0.5719 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.861e-05/0.4984, allocations: 11.95 kB / 0.5719 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1864/0.6848, allocations: 8.26 MB / 0.58 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.6849, allocations: 13.44 kB / 0.58 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.686, allocations: 331.3 kB / 0.5803 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00213/0.6882, allocations: 1.044 MB / 0.5814 GB, free: 121 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/0.6883, allocations: 64.81 kB / 0.5814 GB, free: 121 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0106/0.6989, allocations: 17.24 MB / 0.5983 GB, free: 109 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.6989, allocations: 12.81 kB / 0.5983 GB, free: 109 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006766/0.7057, allocations: 5.732 MB / 0.6039 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/0.7069, allocations: 0.5885 MB / 0.6044 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003156/0.7073, allocations: 57.23 kB / 0.6045 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/0.7086, allocations: 146.1 kB / 0.6046 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004049/0.709, allocations: 185.2 kB / 0.6048 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.7092, allocations: 76.97 kB / 0.6049 GB, free: 106.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001678/0.7108, allocations: 1.516 MB / 0.6064 GB, free: 105.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.7108, allocations: 3.156 kB / 0.6064 GB, free: 105.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003615/0.7145, allocations: 1.373 MB / 0.6077 GB, free: 105.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 13 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],aimc0.inertiaRotor.w,aimc0.idq_sr[1],aimc0.idq_sr[2],aimc0.idq_rr[1],aimc0.idq_rr[2],inertia.phi,inertia0.phi,actuator.integrator.y) * Number of discrete variables: 3 (logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%), (2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007205/0.7217, allocations: 6.414 MB / 0.614 GB, free: 102.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01524/0.7369, allocations: 11.31 MB / 0.625 GB, free: 96.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/0.737, allocations: 6.281 kB / 0.625 GB, free: 96.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005368/0.7424, allocations: 4.258 MB / 0.6292 GB, free: 93.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003098/0.7455, allocations: 0.689 MB / 0.6299 GB, free: 93.28 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.02809/0.7736, allocations: 25.27 MB / 0.6545 GB, free: 74.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001698/0.7753, allocations: 2.697 MB / 0.6572 GB, free: 72.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002027/0.7773, allocations: 0.7619 MB / 0.6579 GB, free: 72.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/0.7785, allocations: 1.462 MB / 0.6593 GB, free: 70.87 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.7786, allocations: 4 kB / 0.6593 GB, free: 70.86 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).