Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_main_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.0009783/0.0009783, allocations: 108 kB / 15.57 MB, free: 196 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.0009873/0.0009874, allocations: 197.5 kB / 16.5 MB, free: 6.332 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.179/1.179, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.118/0.118, allocations: 8.027 MB / 298.4 MB, free: 2.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 63.91 kB / 360.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07465/0.07574, allocations: 51.19 MB / 411.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.1396/0.2154, allocations: 14.95 MB / 426.8 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005522/0.2209, allocations: 3.719 MB / 430.5 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.2224, allocations: 92.44 kB / 430.6 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.2236, allocations: 0.7214 MB / 431.3 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.2256, allocations: 1.204 MB / 432.5 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009517/0.2265, allocations: 0.7403 MB / 433.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002337/0.2289, allocations: 4.517 MB / 437.8 MB, free: 33.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002381/0.2312, allocations: 3.472 MB / 441.3 MB, free: 31.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.2325, allocations: 2.003 MB / 443.3 MB, free: 30.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.2342, allocations: 2.481 MB / 445.7 MB, free: 29.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004992/0.2347, allocations: 0.5363 MB / 446.3 MB, free: 29.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000776/0.2355, allocations: 0.6254 MB / 446.9 MB, free: 29.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008119/0.2363, allocations: 1.482 MB / 448.4 MB, free: 28.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001428/0.2378, allocations: 2.397 MB / 450.8 MB, free: 26.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00331/0.2411, allocations: 6.9 MB / 457.7 MB, free: 24.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2411, allocations: 4 kB / 457.7 MB, free: 24.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2411, allocations: 0 / 457.7 MB, free: 24.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.96e-05/0.2411, allocations: 3.062 kB / 457.7 MB, free: 24.52 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.006119/0.2473, allocations: 4.612 MB / 462.3 MB, free: 22.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.2473, allocations: 9.344 kB / 462.3 MB, free: 22.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004556/0.2478, allocations: 0.5182 MB / 462.8 MB, free: 21.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009154/0.2487, allocations: 486 kB / 463.3 MB, free: 21.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003231/0.2519, allocations: 2.291 MB / 465.6 MB, free: 20.24 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.0002503/0.2522, allocations: 343.7 kB / 465.9 MB, free: 20.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004667/0.2527, allocations: 383.3 kB / 466.3 MB, free: 19.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006481/0.2592, allocations: 4.927 MB / 471.2 MB, free: 17.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.398e-05/0.2593, allocations: 13.84 kB / 471.3 MB, free: 17.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002737/0.2595, allocations: 158.2 kB / 471.4 MB, free: 17.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001541/0.2597, allocations: 180.9 kB / 471.6 MB, free: 17.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005541/0.2652, allocations: 4.037 MB / 475.6 MB, free: 16.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0171/0.2824, allocations: 14.78 MB / 490.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002782/0.2852, allocations: 2.636 MB / 493 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002055/0.2872, allocations: 1.701 MB / 494.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000213/0.2875, allocations: 143 kB / 494.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.2875, allocations: 52.5 kB / 494.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=171): time 3.277e-06/0.2875, allocations: 0 / 494.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=205): time 0.02554/0.313, allocations: 13.29 MB / 0.4963 GB, free: 5.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.3131, allocations: 128.8 kB / 0.4964 GB, free: 5.621 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.002789/0.3159, allocations: 2.305 MB / 0.4987 GB, free: 3.293 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001305/0.3161, allocations: 61.7 kB / 0.4987 GB, free: 3.227 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009418/0.317, allocations: 1.671 MB / 0.5004 GB, free: 1.531 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004544/0.3175, allocations: 0.7009 MB / 0.5011 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006037/0.3181, allocations: 424.5 kB / 0.5015 GB, free: 408 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.036e-05/0.3182, allocations: 309.1 kB / 0.5018 GB, free: 96 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001666/0.3198, allocations: 1.225 MB / 0.5029 GB, free: 14.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001947/0.3218, allocations: 1.868 MB / 0.5048 GB, free: 12.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01208/0.3339, allocations: 6.175 MB / 0.5108 GB, free: 6.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/0.3339, allocations: 12 kB / 0.5108 GB, free: 6.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.006264/0.3402, allocations: 4.503 MB / 0.5152 GB, free: 1.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.3402, allocations: 12 kB / 0.5152 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/0.3403, allocations: 23.98 kB / 0.5152 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002009/0.3423, allocations: 1.006 MB / 0.5162 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.3438, allocations: 0.4953 MB / 0.5167 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01377/0.3576, allocations: 17.6 MB / 0.5339 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.3592, allocations: 167.7 kB / 0.5341 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/0.3594, allocations: 104 kB / 0.5342 GB, free: 13.13 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.002994/0.3624, allocations: 2.194 MB / 0.5363 GB, free: 10.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001937/0.3644, allocations: 1.853 MB / 0.5381 GB, free: 8.801 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01186/0.3762, allocations: 6.101 MB / 0.5441 GB, free: 2.426 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.612e-05/0.3763, allocations: 11.94 kB / 0.5441 GB, free: 2.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.006036/0.3823, allocations: 4.457 MB / 0.5484 GB, free: 13.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3823, allocations: 16.06 kB / 0.5484 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.3824, allocations: 24 kB / 0.5485 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001958/0.3843, allocations: 1.002 MB / 0.5494 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.3859, allocations: 0.4914 MB / 0.5499 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01365/0.3995, allocations: 17.6 MB / 0.5671 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.4011, allocations: 159.8 kB / 0.5673 GB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.4012, allocations: 99.98 kB / 0.5674 GB, free: 9.348 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.0004964/0.4018, allocations: 387.7 kB / 0.5677 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003412/0.4021, allocations: 252.9 kB / 0.568 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005793/0.4079, allocations: 3.954 MB / 0.5718 GB, free: 4.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.4079, allocations: 20 kB / 0.5719 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.4079, allocations: 8 kB / 0.5719 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.408, allocations: 7.969 kB / 0.5719 GB, free: 4.645 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1383/0.5462, allocations: 8.262 MB / 0.5799 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.5463, allocations: 10.56 kB / 0.5799 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.5474, allocations: 332.2 kB / 0.5803 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002056/0.5494, allocations: 1.036 MB / 0.5813 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/0.5496, allocations: 65.88 kB / 0.5813 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009929/0.5595, allocations: 17.24 MB / 0.5982 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.5595, allocations: 12.56 kB / 0.5982 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006142/0.5657, allocations: 5.734 MB / 0.6038 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.5668, allocations: 0.5859 MB / 0.6044 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002641/0.567, allocations: 53.55 kB / 0.6044 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.5683, allocations: 149.3 kB / 0.6046 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002935/0.5686, allocations: 188.7 kB / 0.6047 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.5687, allocations: 71.69 kB / 0.6048 GB, free: 106.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001567/0.5703, allocations: 1.515 MB / 0.6063 GB, free: 105.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5703, allocations: 0 / 0.6063 GB, free: 105.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003303/0.5736, allocations: 1.372 MB / 0.6076 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.006652/0.5802, allocations: 6.422 MB / 0.6139 GB, free: 102.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01402/0.5943, allocations: 11.31 MB / 0.6249 GB, free: 96.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.5943, allocations: 2.594 kB / 0.6249 GB, free: 96.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004879/0.5992, allocations: 4.267 MB / 0.6291 GB, free: 93.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/0.6019, allocations: 0.6886 MB / 0.6298 GB, free: 93.52 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.03/0.6319, allocations: 25.2 MB / 0.6544 GB, free: 75.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/0.6335, allocations: 2.691 MB / 0.657 GB, free: 72.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001932/0.6355, allocations: 0.7609 MB / 0.6578 GB, free: 72.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/0.6367, allocations: 1.46 MB / 0.6592 GB, free: 71.05 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.6367, allocations: 0 / 0.6592 GB, free: 71.05 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).