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.0007885/0.0007886, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.00517/0.00517, allocations: 171 kB / 16.26 MB, free: 6.613 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.269/1.269, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1397/0.1397, allocations: 8.022 MB / 299.5 MB, free: 3.375 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002988, allocations: 7.984 kB / 362.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09786/0.09817, allocations: 52.2 MB / 414.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.1982/0.2964, allocations: 14.12 MB / 428.8 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006241/0.3027, allocations: 3.644 MB / 432.5 MB, free: 34.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001865/0.3046, allocations: 74.03 kB / 432.5 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.3061, allocations: 0.6047 MB / 433.1 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002969/0.3091, allocations: 1.086 MB / 434.2 MB, free: 34.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.3108, allocations: 0.6599 MB / 434.9 MB, free: 34.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004245/0.315, allocations: 5.189 MB / 440.1 MB, free: 33.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002666/0.3177, allocations: 2.857 MB / 442.9 MB, free: 31.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002071/0.3198, allocations: 1.51 MB / 444.4 MB, free: 31.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002237/0.322, allocations: 2.103 MB / 446.5 MB, free: 30.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00038/0.3224, allocations: 231.7 kB / 446.8 MB, free: 30.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007667/0.3232, allocations: 326.2 kB / 447.1 MB, free: 30.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007342/0.3239, allocations: 1.111 MB / 448.2 MB, free: 29.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001705/0.3256, allocations: 1.999 MB / 450.2 MB, free: 28.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003786/0.3294, allocations: 6.517 MB / 456.7 MB, free: 27.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3295, allocations: 0 / 456.7 MB, free: 27.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3295, allocations: 4 kB / 456.7 MB, free: 27.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.719e-05/0.3296, allocations: 0 / 456.7 MB, free: 27.11 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.006325/0.3359, allocations: 3.891 MB / 460.6 MB, free: 25.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.336, allocations: 9.969 kB / 460.6 MB, free: 25.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007041/0.3367, allocations: 0.5176 MB / 461.1 MB, free: 24.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.3377, allocations: 493.2 kB / 461.6 MB, free: 24.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003045/0.3408, allocations: 2.287 MB / 463.9 MB, free: 23.38 MB / 350.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: logic.tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/0.341, allocations: 354.3 kB / 464.3 MB, free: 23.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004732/0.3415, allocations: 376 kB / 464.6 MB, free: 23.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007791/0.3493, allocations: 4.939 MB / 469.6 MB, free: 21.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.319e-05/0.3494, allocations: 14.67 kB / 469.6 MB, free: 21.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003113/0.3497, allocations: 153.2 kB / 469.7 MB, free: 20.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001815/0.3499, allocations: 184.4 kB / 469.9 MB, free: 20.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008282/0.3582, allocations: 4.074 MB / 474 MB, free: 19.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02193/0.3802, allocations: 14.88 MB / 488.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003147/0.3833, allocations: 2.678 MB / 491.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002755/0.3861, allocations: 1.718 MB / 493.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/0.3864, allocations: 139 kB / 493.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.3864, allocations: 56.5 kB / 493.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=171): time 3.477e-06/0.3864, allocations: 0 / 493.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=205): time 0.03035/0.4168, allocations: 13.59 MB / 0.4952 GB, free: 8.969 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.4169, allocations: 124.8 kB / 0.4953 GB, free: 8.824 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.003602/0.4205, allocations: 2.299 MB / 0.4975 GB, free: 6.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001927/0.4207, allocations: 61.7 kB / 0.4976 GB, free: 6.434 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001133/0.4218, allocations: 1.675 MB / 0.4992 GB, free: 4.734 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000554/0.4224, allocations: 0.697 MB / 0.4999 GB, free: 4.027 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002588/0.4226, allocations: 190.5 kB / 0.5001 GB, free: 3.836 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.4228, allocations: 301.1 kB / 0.5004 GB, free: 3.539 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/0.4247, allocations: 1.238 MB / 0.5016 GB, free: 2.297 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002243/0.4269, allocations: 1.892 MB / 0.5034 GB, free: 128 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01353/0.4404, allocations: 6.218 MB / 0.5095 GB, free: 9.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.809e-05/0.4405, allocations: 4 kB / 0.5095 GB, free: 9.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.007643/0.4481, allocations: 4.539 MB / 0.5139 GB, free: 5.012 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005651/0.4487, allocations: 0.6602 MB / 0.5146 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/0.4488, allocations: 24 kB / 0.5146 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002187/0.451, allocations: 1 MB / 0.5156 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/0.4528, allocations: 0.507 MB / 0.5161 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01549/0.4683, allocations: 16.18 MB / 0.5319 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002397/0.4707, allocations: 179.7 kB / 0.532 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002006/0.4709, allocations: 108 kB / 0.5321 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/0.4709, allocations: 10.59 kB / 0.5322 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00659/0.4775, allocations: 4.232 MB / 0.5363 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.004e-05/0.4776, allocations: 20 kB / 0.5363 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002196/0.4798, allocations: 0.9977 MB / 0.5373 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/0.4815, allocations: 0.4992 MB / 0.5378 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/0.4968, allocations: 16.16 MB / 0.5536 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/0.4991, allocations: 167.9 kB / 0.5537 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/0.4993, allocations: 104 kB / 0.5538 GB, free: 9.637 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.002229/0.5016, allocations: 1.208 MB / 0.555 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005365/0.5021, allocations: 248.9 kB / 0.5552 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006482/0.5086, allocations: 3.99 MB / 0.5591 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.5086, allocations: 20 kB / 0.5591 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.5087, allocations: 8 kB / 0.5592 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.961e-05/0.5087, allocations: 11.95 kB / 0.5592 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/0.5223, allocations: 8.29 MB / 0.5673 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/0.5223, allocations: 12.03 kB / 0.5673 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.5236, allocations: 327.5 kB / 0.5676 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00256/0.5261, allocations: 1.035 MB / 0.5686 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/0.5263, allocations: 63.91 kB / 0.5687 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1915/0.7178, allocations: 15.84 MB / 0.5841 GB, free: 114.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.7178, allocations: 13.84 kB / 0.5841 GB, free: 114.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007745/0.7256, allocations: 5.782 MB / 0.5898 GB, free: 113.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/0.7269, allocations: 0.5933 MB / 0.5904 GB, free: 113.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003248/0.7272, allocations: 61.42 kB / 0.5904 GB, free: 113.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.7286, allocations: 161.9 kB / 0.5906 GB, free: 113.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004256/0.7291, allocations: 186.2 kB / 0.5907 GB, free: 113.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.7292, allocations: 77.02 kB / 0.5908 GB, free: 113.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001966/0.7312, allocations: 1.517 MB / 0.5923 GB, free: 113.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7312, allocations: 0 / 0.5923 GB, free: 113.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003753/0.7349, allocations: 1.363 MB / 0.5936 GB, free: 113.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.007414/0.7424, allocations: 6.467 MB / 0.5999 GB, free: 110.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01209/0.7545, allocations: 10.15 MB / 0.6099 GB, free: 104.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/0.7545, allocations: 2.406 kB / 0.6099 GB, free: 104.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00566/0.7602, allocations: 4.295 MB / 0.6141 GB, free: 101.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005299/0.7655, allocations: 0.6508 MB / 0.6147 GB, free: 101.3 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.03998/0.8055, allocations: 27 MB / 0.6411 GB, free: 84.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002258/0.8078, allocations: 2.695 MB / 0.6437 GB, free: 83.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002355/0.8101, allocations: 0.7579 MB / 0.6444 GB, free: 83.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/0.8115, allocations: 1.46 MB / 0.6459 GB, free: 82.49 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.8115, allocations: 0 / 0.6459 GB, free: 82.49 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).