Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007542/0.0007539, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.00466/0.00466, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.359/1.359, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1859/0.1859, allocations: 8.026 MB / 299.5 MB, free: 3.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.000334, allocations: 12 kB / 362.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1084, allocations: 52.17 MB / 414.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.2347/0.3431, allocations: 14.13 MB / 428.8 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007134/0.3503, allocations: 3.652 MB / 432.5 MB, free: 34.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.3525, allocations: 77.84 kB / 432.5 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.3541, allocations: 0.5982 MB / 433.1 MB, free: 34.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003394/0.3575, allocations: 1.089 MB / 434.2 MB, free: 34.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.3592, allocations: 0.6635 MB / 434.9 MB, free: 34.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005915/0.3652, allocations: 5.188 MB / 440.1 MB, free: 32.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006454/0.3716, allocations: 2.846 MB / 442.9 MB, free: 31.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004078/0.3758, allocations: 1.516 MB / 444.4 MB, free: 31.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00544/0.3812, allocations: 2.102 MB / 446.5 MB, free: 30.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001612/0.3829, allocations: 233.2 kB / 446.8 MB, free: 30.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002433/0.3854, allocations: 326.8 kB / 447.1 MB, free: 30.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001889/0.3873, allocations: 1.111 MB / 448.2 MB, free: 29.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00439/0.3917, allocations: 2.005 MB / 450.2 MB, free: 28.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005809/0.3975, allocations: 6.516 MB / 456.7 MB, free: 26.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3976, allocations: 0 / 456.7 MB, free: 26.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.3976, allocations: 0 / 456.7 MB, free: 26.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002096/0.3978, allocations: 0 / 456.7 MB, free: 26.98 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.008008/0.4058, allocations: 3.89 MB / 460.6 MB, free: 25.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.4059, allocations: 6.656 kB / 460.6 MB, free: 25.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001543/0.4075, allocations: 0.5203 MB / 461.1 MB, free: 24.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.4089, allocations: 493.2 kB / 461.6 MB, free: 24.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003901/0.4128, allocations: 2.285 MB / 463.9 MB, free: 23.25 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.00027/0.4131, allocations: 354.6 kB / 464.3 MB, free: 23.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005529/0.4137, allocations: 377.8 kB / 464.6 MB, free: 22.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01025/0.424, allocations: 4.947 MB / 469.6 MB, free: 20.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/0.4241, allocations: 10.12 kB / 469.6 MB, free: 20.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003581/0.4245, allocations: 156.5 kB / 469.7 MB, free: 20.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002088/0.4247, allocations: 181 kB / 469.9 MB, free: 20.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009708/0.4344, allocations: 4.07 MB / 474 MB, free: 19.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02601/0.4604, allocations: 14.87 MB / 488.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003498/0.464, allocations: 2.684 MB / 491.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002692/0.4667, allocations: 1.721 MB / 493.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002343/0.4669, allocations: 127.1 kB / 493.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.467, allocations: 64.48 kB / 493.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=171): time 4.148e-06/0.467, allocations: 3.984 kB / 493.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=205): time 0.02995/0.497, allocations: 13.58 MB / 0.4951 GB, free: 9.016 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.918e-05/0.4971, allocations: 136.8 kB / 0.4953 GB, free: 8.859 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.003672/0.5008, allocations: 2.299 MB / 0.4975 GB, free: 6.535 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003016/0.5011, allocations: 61.69 kB / 0.4976 GB, free: 6.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001324/0.5024, allocations: 1.671 MB / 0.4992 GB, free: 4.773 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008187/0.5032, allocations: 0.7009 MB / 0.4999 GB, free: 4.062 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002859/0.5035, allocations: 194.5 kB / 0.5001 GB, free: 3.867 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5037, allocations: 309.1 kB / 0.5004 GB, free: 3.562 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/0.5058, allocations: 1.23 MB / 0.5016 GB, free: 2.328 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002486/0.5083, allocations: 1.888 MB / 0.5034 GB, free: 164 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01434/0.5226, allocations: 6.214 MB / 0.5095 GB, free: 9.676 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.728e-05/0.5227, allocations: 8 kB / 0.5095 GB, free: 9.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.009038/0.5317, allocations: 4.535 MB / 0.5139 GB, free: 5.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005379/0.5323, allocations: 0.6644 MB / 0.5146 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/0.5323, allocations: 20 kB / 0.5146 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002472/0.5348, allocations: 0.9963 MB / 0.5156 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00193/0.5367, allocations: 0.507 MB / 0.5161 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/0.5524, allocations: 16.19 MB / 0.5319 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002469/0.5549, allocations: 187.8 kB / 0.5321 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002998/0.5552, allocations: 99.98 kB / 0.5321 GB, free: 1.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.5552, allocations: 10.75 kB / 0.5322 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009566/0.5648, allocations: 4.227 MB / 0.5363 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.585e-05/0.5649, allocations: 20 kB / 0.5363 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00323/0.5681, allocations: 0.9963 MB / 0.5373 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002878/0.571, allocations: 0.4992 MB / 0.5378 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02098/0.592, allocations: 16.16 MB / 0.5535 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003509/0.5956, allocations: 163.8 kB / 0.5537 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005265/0.5961, allocations: 108 kB / 0.5538 GB, free: 9.672 MB / 430.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.003955/0.6001, allocations: 1.206 MB / 0.555 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009138/0.601, allocations: 252.9 kB / 0.5552 GB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008294/0.6093, allocations: 3.982 MB / 0.5591 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.258e-05/0.6094, allocations: 20 kB / 0.5591 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.198e-05/0.6094, allocations: 8 kB / 0.5591 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.721e-05/0.6095, allocations: 11.97 kB / 0.5592 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/0.6244, allocations: 8.298 MB / 0.5673 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.6244, allocations: 4 kB / 0.5673 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.6257, allocations: 340.1 kB / 0.5676 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002547/0.6283, allocations: 1.04 MB / 0.5686 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001632/0.6285, allocations: 71.89 kB / 0.5687 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1991/0.8276, allocations: 15.82 MB / 0.5841 GB, free: 113.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.8277, allocations: 13.84 kB / 0.5841 GB, free: 113.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008152/0.8358, allocations: 5.788 MB / 0.5898 GB, free: 113.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/0.8372, allocations: 0.5843 MB / 0.5904 GB, free: 113.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003175/0.8375, allocations: 64.48 kB / 0.5904 GB, free: 113.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/0.8389, allocations: 159.3 kB / 0.5906 GB, free: 113.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004194/0.8393, allocations: 184.3 kB / 0.5907 GB, free: 113.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.8395, allocations: 79.61 kB / 0.5908 GB, free: 113.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002122/0.8416, allocations: 1.514 MB / 0.5923 GB, free: 112.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8416, allocations: 0 / 0.5923 GB, free: 112.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004441/0.846, allocations: 1.364 MB / 0.5936 GB, free: 112.9 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.007113/0.8532, allocations: 6.468 MB / 0.6 GB, free: 110.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01228/0.8655, allocations: 10.15 MB / 0.6099 GB, free: 104.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/0.8655, allocations: 1.062 kB / 0.6099 GB, free: 104.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005967/0.8715, allocations: 4.298 MB / 0.6141 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005418/0.8769, allocations: 0.6504 MB / 0.6147 GB, free: 101.2 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1914:3-1914:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03979/0.9167, allocations: 27.01 MB / 0.6411 GB, free: 84.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002491/0.9192, allocations: 2.69 MB / 0.6437 GB, free: 83.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002377/0.9216, allocations: 0.7532 MB / 0.6444 GB, free: 83.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001368/0.923, allocations: 1.459 MB / 0.6459 GB, free: 82.37 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.923, allocations: 3.938 kB / 0.6459 GB, free: 82.37 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).