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.001065/0.001065, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001178, allocations: 193.2 kB / 16.13 MB, free: 6.656 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.265/1.265, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1289/0.1289, allocations: 8.028 MB / 298 MB, free: 2.5 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 59.91 kB / 360.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08516/0.08624, allocations: 51.19 MB / 411.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.1645/0.2507, allocations: 14.8 MB / 426.1 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005592/0.2564, allocations: 3.67 MB / 429.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.2577, allocations: 84.53 kB / 429.8 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.259, allocations: 0.5983 MB / 430.4 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002166/0.2612, allocations: 1.09 MB / 431.5 MB, free: 36.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.2622, allocations: 0.6626 MB / 432.2 MB, free: 35.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003102/0.2653, allocations: 5.196 MB / 437.4 MB, free: 33.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00225/0.2676, allocations: 2.881 MB / 440.2 MB, free: 32.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/0.2692, allocations: 1.742 MB / 442 MB, free: 31.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.2714, allocations: 2.39 MB / 444.4 MB, free: 30.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004677/0.2718, allocations: 333.7 kB / 444.7 MB, free: 30.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008085/0.2726, allocations: 435.9 kB / 445.1 MB, free: 30.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007785/0.2734, allocations: 1.267 MB / 446.4 MB, free: 29.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001548/0.275, allocations: 2.163 MB / 448.5 MB, free: 28.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00349/0.2785, allocations: 6.726 MB / 455.3 MB, free: 26.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2785, allocations: 0 / 455.3 MB, free: 26.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2785, allocations: 0 / 455.3 MB, free: 26.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.772e-05/0.2786, allocations: 4 kB / 455.3 MB, free: 26.36 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.007059/0.2857, allocations: 4.617 MB / 459.9 MB, free: 23.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2857, allocations: 13.03 kB / 459.9 MB, free: 23.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005127/0.2863, allocations: 0.5129 MB / 460.4 MB, free: 23.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.2873, allocations: 495.2 kB / 460.9 MB, free: 23.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003337/0.2907, allocations: 2.285 MB / 463.2 MB, free: 22.08 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.0002446/0.2909, allocations: 356.2 kB / 463.5 MB, free: 21.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000459/0.2914, allocations: 373.3 kB / 463.9 MB, free: 21.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007696/0.2991, allocations: 4.924 MB / 468.8 MB, free: 19.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.462e-05/0.2992, allocations: 13.95 kB / 468.8 MB, free: 19.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002978/0.2995, allocations: 153.8 kB / 469 MB, free: 19.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00018/0.2997, allocations: 180.7 kB / 469.2 MB, free: 19.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006156/0.3059, allocations: 4.036 MB / 473.2 MB, free: 18.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01842/0.3243, allocations: 14.79 MB / 488 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00287/0.3272, allocations: 2.637 MB / 490.6 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002264/0.3295, allocations: 1.705 MB / 492.3 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002129/0.3297, allocations: 131.1 kB / 492.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.3297, allocations: 56.48 kB / 492.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=171): time 3.326e-06/0.3297, allocations: 0 / 492.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=205): time 0.02741/0.3571, allocations: 13.28 MB / 0.4939 GB, free: 8.215 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.3572, allocations: 128.8 kB / 0.4941 GB, free: 8.066 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.003079/0.3603, allocations: 2.307 MB / 0.4963 GB, free: 5.734 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001637/0.3605, allocations: 57.7 kB / 0.4964 GB, free: 5.672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.3615, allocations: 1.675 MB / 0.498 GB, free: 3.973 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004967/0.362, allocations: 0.697 MB / 0.4987 GB, free: 3.266 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006246/0.3627, allocations: 424.5 kB / 0.4991 GB, free: 2.844 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.905e-05/0.3627, allocations: 309.1 kB / 0.4994 GB, free: 2.539 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/0.3645, allocations: 1.229 MB / 0.5006 GB, free: 1.301 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/0.3667, allocations: 1.865 MB / 0.5024 GB, free: 15.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01331/0.38, allocations: 6.156 MB / 0.5084 GB, free: 8.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.929e-05/0.38, allocations: 8 kB / 0.5084 GB, free: 8.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.00719/0.3872, allocations: 4.503 MB / 0.5128 GB, free: 4.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.3873, allocations: 14.34 kB / 0.5128 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/0.3873, allocations: 20 kB / 0.5129 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002262/0.3896, allocations: 1 MB / 0.5138 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/0.3913, allocations: 0.4992 MB / 0.5143 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01389/0.4052, allocations: 16.15 MB / 0.5301 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/0.4073, allocations: 175.7 kB / 0.5303 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003404/0.4077, allocations: 108 kB / 0.5304 GB, free: 1.082 MB / 398.1 MB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] inertia0.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real aimc0.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003512/0.4112, allocations: 2.199 MB / 0.5325 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002154/0.4134, allocations: 1.853 MB / 0.5343 GB, free: 12.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0138/0.4272, allocations: 6.074 MB / 0.5402 GB, free: 6.402 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.206e-05/0.4272, allocations: 4 kB / 0.5402 GB, free: 6.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.007685/0.4349, allocations: 4.453 MB / 0.5446 GB, free: 1.871 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.435, allocations: 12 kB / 0.5446 GB, free: 1.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/0.435, allocations: 20.78 kB / 0.5446 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002317/0.4374, allocations: 1.004 MB / 0.5456 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/0.4391, allocations: 0.4914 MB / 0.5461 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/0.454, allocations: 16.15 MB / 0.5619 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/0.4562, allocations: 163.8 kB / 0.562 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003734/0.4566, allocations: 104 kB / 0.5621 GB, free: 14.82 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.0007418/0.4573, allocations: 364 kB / 0.5625 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006152/0.458, allocations: 256.9 kB / 0.5627 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006357/0.4643, allocations: 3.95 MB / 0.5666 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.4644, allocations: 23.98 kB / 0.5666 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.446e-05/0.4644, allocations: 8 kB / 0.5666 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/0.4644, allocations: 11.97 kB / 0.5666 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01364/0.4781, allocations: 8.262 MB / 0.5747 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.4781, allocations: 8 kB / 0.5747 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/0.4794, allocations: 332.3 kB / 0.575 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002582/0.482, allocations: 1.036 MB / 0.576 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001774/0.4822, allocations: 71.95 kB / 0.5761 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1668/0.649, allocations: 15.8 MB / 0.5915 GB, free: 112.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.649, allocations: 11.91 kB / 0.5915 GB, free: 112.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006936/0.656, allocations: 5.745 MB / 0.5971 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/0.6572, allocations: 0.588 MB / 0.5977 GB, free: 110 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003991/0.6576, allocations: 53.88 kB / 0.5978 GB, free: 109.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.6589, allocations: 146.2 kB / 0.5979 GB, free: 109.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004437/0.6594, allocations: 194.9 kB / 0.5981 GB, free: 109.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/0.6595, allocations: 66.44 kB / 0.5982 GB, free: 109.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001897/0.6614, allocations: 1.518 MB / 0.5996 GB, free: 109.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6615, allocations: 0 / 0.5996 GB, free: 109.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004023/0.6655, allocations: 1.365 MB / 0.601 GB, free: 109.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 13 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],aimc0.inertiaRotor.w,aimc0.idq_sr[1],aimc0.idq_sr[2],aimc0.idq_rr[1],aimc0.idq_rr[2],inertia.phi,inertia0.phi,actuator.integrator.y) * Number of discrete variables: 3 (logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%), (2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007459/0.673, allocations: 6.421 MB / 0.6072 GB, free: 106.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01224/0.6852, allocations: 10.08 MB / 0.6171 GB, free: 100.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.6852, allocations: 1.375 kB / 0.6171 GB, free: 100.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005083/0.6903, allocations: 4.263 MB / 0.6213 GB, free: 97.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003043/0.6934, allocations: 0.652 MB / 0.6219 GB, free: 97.08 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1941:3-1941:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03823/0.7316, allocations: 26.74 MB / 0.648 GB, free: 80.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002016/0.7337, allocations: 2.695 MB / 0.6506 GB, free: 78.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002134/0.7358, allocations: 0.7634 MB / 0.6514 GB, free: 78.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001272/0.7371, allocations: 1.461 MB / 0.6528 GB, free: 76.92 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.7371, allocations: 0 / 0.6528 GB, free: 76.92 MB / 446.1 MB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 2.898223593858831 / (6.283185307179586 * aimc.fsNominal). [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 0.1017764061411688 / (6.283185307179586 * aimc.fsNominal). [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 2.898223593858831 / (6.283185307179586 * aimc0.fsNominal). [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 0.1017764061411688 / (6.283185307179586 * aimc0.fsNominal).