Running command: translateModel(ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Core.B|Core.MagRel|Core1.B|Core1.MagRel|Core2.B|Core2.MagRel|Core3.B|Core3.MagRel|Core4.J|Core4.MagRel|Core4.beta|Core4.v|Core4.x|PM.B|PM.MagRel|PM1.B",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets") Notification: Performance of loadModel(ModelicaTest): time 2.475/2.475, allocations: 234.9 MB / 249.4 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.792e-05/3.796e-05, allocations: 4 kB / 308 MB, free: 15.12 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3854, allocations: 54.87 MB / 362.9 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets): time 0.01018/0.3957, allocations: 3.803 MB / 366.7 MB, free: 7.891 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.4059, allocations: 2.704 MB / 369.4 MB, free: 5.172 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.407, allocations: 15.94 kB / 369.4 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006569/0.4137, allocations: 2.152 MB / 371.6 MB, free: 3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003295/0.417, allocations: 446.5 kB / 372 MB, free: 2.562 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002833/0.4199, allocations: 399.2 kB / 372.4 MB, free: 2.172 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005147/0.4251, allocations: 1.556 MB / 373.9 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004463/0.4256, allocations: 94.14 kB / 374 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001744/0.4274, allocations: 0.6512 MB / 374.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003854/0.4313, allocations: 1.408 MB / 376.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/0.4336, allocations: 327.8 kB / 376.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001331/0.435, allocations: 148 kB / 376.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00441/0.4395, allocations: 2.199 MB / 378.8 MB, free: 11.79 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002571/0.4421, allocations: 304 kB / 379.1 MB, free: 11.49 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008009/0.4502, allocations: 5.267 MB / 384.3 MB, free: 6.215 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4502, allocations: 4 kB / 384.3 MB, free: 6.211 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.088e-06/0.4502, allocations: 0 / 384.3 MB, free: 6.211 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001368/0.4504, allocations: 0 / 384.3 MB, free: 6.211 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 389 * Number of variables: 389 Notification: Performance of Generate backend data structure: time 0.01163/0.462, allocations: 3.371 MB / 387.7 MB, free: 2.738 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.4621, allocations: 8.031 kB / 387.7 MB, free: 2.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002805/0.4649, allocations: 454.9 kB / 388.1 MB, free: 2.281 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008617/0.4736, allocations: 2.759 MB / 390.9 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000648/0.4743, allocations: 373.5 kB / 391.3 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002147/0.4764, allocations: 323.6 kB / 391.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03321/0.5097, allocations: 6.642 MB / 398.2 MB, free: 8.039 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.277e-05/0.5098, allocations: 4 kB / 398.2 MB, free: 8.035 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006606/0.5104, allocations: 75.92 kB / 398.3 MB, free: 7.961 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.953e-05/0.5105, allocations: 39.94 kB / 398.3 MB, free: 7.922 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03252/0.543, allocations: 6.134 MB / 404.5 MB, free: 1.777 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03266/0.5757, allocations: 9.254 MB / 413.7 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02774/0.6035, allocations: 4.809 MB / 418.5 MB, free: 3.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002082/0.6038, allocations: 38.16 kB / 418.6 MB, free: 3.461 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03348/0.6373, allocations: 6.766 MB / 425.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=319): time 1.151e-05/0.6374, allocations: 0 / 425.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=354): time 0.2151/0.8524, allocations: 41.16 MB / 466.5 MB, free: 3.258 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006156/0.8531, allocations: 477.4 kB / 467 MB, free: 2.734 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01229/0.8654, allocations: 5.432 MB / 472.4 MB, free: 13.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009905/0.8665, allocations: 253.8 kB / 472.6 MB, free: 13.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002347/0.8688, allocations: 1.37 MB / 474 MB, free: 11.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001733/0.8706, allocations: 0.9875 MB / 475 MB, free: 10.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004053/0.871, allocations: 96 kB / 475.1 MB, free: 10.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004038/0.8715, allocations: 496.2 kB / 475.6 MB, free: 10.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00646/0.8779, allocations: 1.477 MB / 477.1 MB, free: 8.617 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009916/0.8879, allocations: 3.044 MB / 480.1 MB, free: 4.852 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009534/0.8975, allocations: 1.946 MB / 482.1 MB, free: 2.887 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001397/0.8977, allocations: 16 kB / 482.1 MB, free: 2.871 MB / 410.7 MB Notification: Performance of matching and sorting (n=599) (initialization): time 0.4265/1.324, allocations: 5.083 MB / 487.2 MB, free: 105.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/1.324, allocations: 80.34 kB / 487.2 MB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001301/1.325, allocations: 51.25 kB / 487.3 MB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000178/1.325, allocations: 84.5 kB / 487.4 MB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007476/1.332, allocations: 0.8693 MB / 488.2 MB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000707/1.333, allocations: 0.7299 MB / 489 MB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005368/1.338, allocations: 237.1 kB / 489.2 MB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008474/1.339, allocations: 224 kB / 489.4 MB, free: 104.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 437 ($PRE.Core4.bI,Core4.bI,$PRE.Core4.aSavI,Core4.aSavI,$PRE.Core4.bSavI,Core4.bSavI,$PRE.Core4.hmaxI,Core4.hmaxI,$PRE.Core4.bSav[2],Core4.bSav[2],$PRE.Core4.bSav[3],Core4.bSav[3],$PRE.Core4.bSav[4],Core4.bSav[4],$PRE.Core4.bSav[5],Core4.bSav[5],$PRE.Core4.bSav[6],Core4.bSav[6],$PRE.Core4.bSav[7],Core4.bSav[7],$PRE.Core4.bSav[8],Core4.bSav[8],$PRE.Core4.bSav[9],Core4.bSav[9],$PRE.Core4.bSav[10],Core4.bSav[10],$PRE.Core4.bSav[11],Core4.bSav[11],$PRE.Core4.bSav[12],Core4.bSav[12],$PRE.Core4.bSav[13],Core4.bSav[13],$PRE.Core4.bSav[14],Core4.bSav[14],$PRE.Core4.bSav[15],Core4.bSav[15],$PRE.Core4.bSav[16],Core4.bSav[16],$PRE.Core4.bSav[17],Core4.bSav[17],$PRE.Core4.bSav[18],Core4.bSav[18],$PRE.Core4.bSav[19],Core4.bSav[19],$PRE.Core4.bSav[20],Core4.bSav[20],$PRE.Core4.bSav[21],Core4.bSav[21],$PRE.Core4.bSav[22],Core4.bSav[22],$PRE.Core4.bSav[23],Core4.bSav[23],$PRE.Core4.bSav[24],Core4.bSav[24],$PRE.Core4.bSav[25],Core4.bSav[25],$PRE.Core4.bSav[26],Core4.bSav[26],$PRE.Core4.bSav[27],Core4.bSav[27],$PRE.Core4.bSav[28],Core4.bSav[28],$PRE.Core4.bSav[29],Core4.bSav[29],$PRE.Core4.bSav[30],Core4.bSav[30],$PRE.Core4.bSav[31],Core4.bSav[31],$PRE.Core4.bSav[32],Core4.bSav[32],$PRE.Core4.bSav[33],Core4.bSav[33],$PRE.Core4.bSav[34],Core4.bSav[34],$PRE.Core4.bSav[35],Core4.bSav[35],$PRE.Core4.bSav[36],Core4.bSav[36],$PRE.Core4.bSav[37],Core4.bSav[37],$PRE.Core4.bSav[38],Core4.bSav[38],$PRE.Core4.bSav[39],Core4.bSav[39],$PRE.Core4.bSav[40],Core4.bSav[40],$PRE.Core4.bSav[41],Core4.bSav[41],$PRE.Core4.bSav[42],Core4.bSav[42],$PRE.Core4.bSav[43],Core4.bSav[43],$PRE.Core4.bSav[44],Core4.bSav[44],$PRE.Core4.bSav[45],Core4.bSav[45],$PRE.Core4.bSav[46],Core4.bSav[46],$PRE.Core4.bSav[47],Core4.bSav[47],$PRE.Core4.bSav[48],Core4.bSav[48],$PRE.Core4.bSav[49],Core4.bSav[49],$PRE.Core4.bSav[50],Core4.bSav[50],$PRE.Core4.bSav[51],Core4.bSav[51],$PRE.Core4.bSav[52],Core4.bSav[52],$PRE.Core4.bSav[53],Core4.bSav[53],$PRE.Core4.bSav[54],Core4.bSav[54],$PRE.Core4.bSav[55],Core4.bSav[55],$PRE.Core4.bSav[56],Core4.bSav[56],$PRE.Core4.bSav[57],Core4.bSav[57],$PRE.Core4.bSav[58],Core4.bSav[58],$PRE.Core4.bSav[59],Core4.bSav[59],$PRE.Core4.bSav[60],Core4.bSav[60],$PRE.Core4.bSav[61],Core4.bSav[61],$PRE.Core4.bSav[62],Core4.bSav[62],$PRE.Core4.bSav[63],Core4.bSav[63],$PRE.Core4.bSav[64],Core4.bSav[64],$PRE.Core4.bSav[65],Core4.bSav[65],$PRE.Core4.bSav[66],Core4.bSav[66],$PRE.Core4.bSav[67],Core4.bSav[67],$PRE.Core4.bSav[68],Core4.bSav[68],$PRE.Core4.bSav[69],Core4.bSav[69],$PRE.Core4.bSav[70],Core4.bSav[70],$PRE.Core4.bSav[71],Core4.bSav[71],$PRE.Core4.bSav[72],Core4.bSav[72],$PRE.Core4.bSav[73],Core4.bSav[73],$PRE.Core4.bSav[74],Core4.bSav[74],$PRE.Core4.bSav[75],Core4.bSav[75],$PRE.Core4.bSav[76],Core4.bSav[76],$PRE.Core4.bSav[77],Core4.bSav[77],$PRE.Core4.bSav[78],Core4.bSav[78],$PRE.Core4.bSav[79],Core4.bSav[79],$PRE.Core4.bSav[80],Core4.bSav[80],$PRE.Core4.bSav[81],Core4.bSav[81],$PRE.Core4.bSav[82],Core4.bSav[82],$PRE.Core4.bSav[83],Core4.bSav[83],$PRE.Core4.bSav[84],Core4.bSav[84],$PRE.Core4.bSav[85],Core4.bSav[85],$PRE.Core4.bSav[86],Core4.bSav[86],$PRE.Core4.bSav[87],Core4.bSav[87],$PRE.Core4.bSav[88],Core4.bSav[88],$PRE.Core4.bSav[89],Core4.bSav[89],$PRE.Core4.bSav[90],Core4.bSav[90],$PRE.Core4.bSav[91],Core4.bSav[91],$PRE.Core4.bSav[92],Core4.bSav[92],$PRE.Core4.bSav[93],Core4.bSav[93],$PRE.Core4.bSav[94],Core4.bSav[94],$PRE.Core4.bSav[95],Core4.bSav[95],$PRE.Core4.bSav[96],Core4.bSav[96],$PRE.Core4.bSav[97],Core4.bSav[97],$PRE.Core4.bSav[98],Core4.bSav[98],$PRE.Core4.bSav[99],Core4.bSav[99],$PRE.Core4.bSav[100],Core4.bSav[100],$PRE.Core4.aSav[2],Core4.aSav[2],$PRE.Core4.aSav[3],Core4.aSav[3],$PRE.Core4.aSav[4],Core4.aSav[4],$PRE.Core4.aSav[5],Core4.aSav[5],$PRE.Core4.aSav[6],Core4.aSav[6],$PRE.Core4.aSav[7],Core4.aSav[7],$PRE.Core4.aSav[8],Core4.aSav[8],$PRE.Core4.aSav[9],Core4.aSav[9],$PRE.Core4.aSav[10],Core4.aSav[10],$PRE.Core4.aSav[11],Core4.aSav[11],$PRE.Core4.aSav[12],Core4.aSav[12],$PRE.Core4.aSav[13],Core4.aSav[13],$PRE.Core4.aSav[14],Core4.aSav[14],$PRE.Core4.aSav[15],Core4.aSav[15],$PRE.Core4.aSav[16],Core4.aSav[16],$PRE.Core4.aSav[17],Core4.aSav[17],$PRE.Core4.aSav[18],Core4.aSav[18],$PRE.Core4.aSav[19],Core4.aSav[19],$PRE.Core4.aSav[20],Core4.aSav[20],$PRE.Core4.aSav[21],Core4.aSav[21],$PRE.Core4.aSav[22],Core4.aSav[22],$PRE.Core4.aSav[23],Core4.aSav[23],$PRE.Core4.aSav[24],Core4.aSav[24],$PRE.Core4.aSav[25],Core4.aSav[25],$PRE.Core4.aSav[26],Core4.aSav[26],$PRE.Core4.aSav[27],Core4.aSav[27],$PRE.Core4.aSav[28],Core4.aSav[28],$PRE.Core4.aSav[29],Core4.aSav[29],$PRE.Core4.aSav[30],Core4.aSav[30],$PRE.Core4.aSav[31],Core4.aSav[31],$PRE.Core4.aSav[32],Core4.aSav[32],$PRE.Core4.aSav[33],Core4.aSav[33],$PRE.Core4.aSav[34],Core4.aSav[34],$PRE.Core4.aSav[35],Core4.aSav[35],$PRE.Core4.aSav[36],Core4.aSav[36],$PRE.Core4.aSav[37],Core4.aSav[37],$PRE.Core4.aSav[38],Core4.aSav[38],$PRE.Core4.aSav[39],Core4.aSav[39],$PRE.Core4.aSav[40],Core4.aSav[40],$PRE.Core4.aSav[41],Core4.aSav[41],$PRE.Core4.aSav[42],Core4.aSav[42],$PRE.Core4.aSav[43],Core4.aSav[43],$PRE.Core4.aSav[44],Core4.aSav[44],$PRE.Core4.aSav[45],Core4.aSav[45],$PRE.Core4.aSav[46],Core4.aSav[46],$PRE.Core4.aSav[47],Core4.aSav[47],$PRE.Core4.aSav[48],Core4.aSav[48],$PRE.Core4.aSav[49],Core4.aSav[49],$PRE.Core4.aSav[50],Core4.aSav[50],$PRE.Core4.aSav[51],Core4.aSav[51],$PRE.Core4.aSav[52],Core4.aSav[52],$PRE.Core4.aSav[53],Core4.aSav[53],$PRE.Core4.aSav[54],Core4.aSav[54],$PRE.Core4.aSav[55],Core4.aSav[55],$PRE.Core4.aSav[56],Core4.aSav[56],$PRE.Core4.aSav[57],Core4.aSav[57],$PRE.Core4.aSav[58],Core4.aSav[58],$PRE.Core4.aSav[59],Core4.aSav[59],$PRE.Core4.aSav[60],Core4.aSav[60],$PRE.Core4.aSav[61],Core4.aSav[61],$PRE.Core4.aSav[62],Core4.aSav[62],$PRE.Core4.aSav[63],Core4.aSav[63],$PRE.Core4.aSav[64],Core4.aSav[64],$PRE.Core4.aSav[65],Core4.aSav[65],$PRE.Core4.aSav[66],Core4.aSav[66],$PRE.Core4.aSav[67],Core4.aSav[67],$PRE.Core4.aSav[68],Core4.aSav[68],$PRE.Core4.aSav[69],Core4.aSav[69],$PRE.Core4.aSav[70],Core4.aSav[70],$PRE.Core4.aSav[71],Core4.aSav[71],$PRE.Core4.aSav[72],Core4.aSav[72],$PRE.Core4.aSav[73],Core4.aSav[73],$PRE.Core4.aSav[74],Core4.aSav[74],$PRE.Core4.aSav[75],Core4.aSav[75],$PRE.Core4.aSav[76],Core4.aSav[76],$PRE.Core4.aSav[77],Core4.aSav[77],$PRE.Core4.aSav[78],Core4.aSav[78],$PRE.Core4.aSav[79],Core4.aSav[79],$PRE.Core4.aSav[80],Core4.aSav[80],$PRE.Core4.aSav[81],Core4.aSav[81],$PRE.Core4.aSav[82],Core4.aSav[82],$PRE.Core4.aSav[83],Core4.aSav[83],$PRE.Core4.aSav[84],Core4.aSav[84],$PRE.Core4.aSav[85],Core4.aSav[85],$PRE.Core4.aSav[86],Core4.aSav[86],$PRE.Core4.aSav[87],Core4.aSav[87],$PRE.Core4.aSav[88],Core4.aSav[88],$PRE.Core4.aSav[89],Core4.aSav[89],$PRE.Core4.aSav[90],Core4.aSav[90],$PRE.Core4.aSav[91],Core4.aSav[91],$PRE.Core4.aSav[92],Core4.aSav[92],$PRE.Core4.aSav[93],Core4.aSav[93],$PRE.Core4.aSav[94],Core4.aSav[94],$PRE.Core4.aSav[95],Core4.aSav[95],$PRE.Core4.aSav[96],Core4.aSav[96],$PRE.Core4.aSav[97],Core4.aSav[97],$PRE.Core4.aSav[98],Core4.aSav[98],$PRE.Core4.aSav[99],Core4.aSav[99],$PRE.Core4.aSav[100],Core4.aSav[100],Core1.asc,PM.asc,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,Core.asc,Core2.asc,Core3.asc,$PRE.Core4.hmax,Core4.hmax,$PRE.Core4.asc,Core4.asc,Core4.asc2,Core4.delAsc,Core4.delDesc,Core4.del,$PRE.Core4.init,Core4.init,Core4.evInit,Core4.evAsc,Core4.evDesc,$PRE.Core4.aSav[1],Core4.aSav[1],$PRE.Core4.bSav[1],Core4.bSav[1],$PRE.Core4.init2,Core4.init2,Core4.init3) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (599): * Single equations (assignments): 596 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005625/1.345, allocations: 1.665 MB / 491.1 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001815/1.347, allocations: 411 kB / 491.5 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06683/1.414, allocations: 17.88 MB / 0.4974 GB, free: 90.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-05/1.414, allocations: 36 kB / 0.4975 GB, free: 90.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.21e-05/1.414, allocations: 14.58 kB / 0.4975 GB, free: 90.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-05/1.414, allocations: 19.94 kB / 0.4975 GB, free: 90.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09931/1.513, allocations: 23.91 MB / 0.5208 GB, free: 66.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.343e-05/1.513, allocations: 4 kB / 0.5208 GB, free: 66.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003642/1.517, allocations: 324.8 kB / 0.5211 GB, free: 66.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.989e-05/1.517, allocations: 16 kB / 0.5212 GB, free: 66.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002071/1.519, allocations: 239.5 kB / 0.5214 GB, free: 66.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.775e-05/1.519, allocations: 19.95 kB / 0.5214 GB, free: 66.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/1.519, allocations: 5.812 kB / 0.5214 GB, free: 66.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09117/1.61, allocations: 22.11 MB / 0.543 GB, free: 44.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004816/1.615, allocations: 1.269 MB / 0.5443 GB, free: 42.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004704/1.62, allocations: 1.151 MB / 0.5454 GB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01404/1.634, allocations: 1.381 MB / 0.5467 GB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008605/1.635, allocations: 250 kB / 0.547 GB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001775/1.637, allocations: 367.5 kB / 0.5473 GB, free: 39.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.008459/1.645, allocations: 4.173 MB / 0.5514 GB, free: 35.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.02e-07/1.645, allocations: 4 kB / 0.5514 GB, free: 35.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007246/1.653, allocations: 1.019 MB / 0.5524 GB, free: 34.63 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 15 (Core.MagRel,Core2.MagRel,Core3.MagRel,Core4.MagRel,Core1.MagRel,PM.MagRel,Core1.B,PM.B,Core.B,Core2.B,Core3.B,Core4.J,Core4.beta,Core4.v,Core4.x) * Number of discrete variables: 229 (Core1.asc,PM.asc,Core4.init3,Core4.evDesc,Core4.evAsc,Core4.del,Core4.evInit,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,Core.asc,Core2.asc,Core3.asc,Core4.hmax,Core4.asc,Core4.asc2,Core4.delAsc,Core4.delDesc,Core4.init,Core4.aSav[1],Core4.aSav[2],Core4.aSav[3],Core4.aSav[4],Core4.aSav[5],Core4.aSav[6],Core4.aSav[7],Core4.aSav[8],Core4.aSav[9],Core4.aSav[10],Core4.aSav[11],Core4.aSav[12],Core4.aSav[13],Core4.aSav[14],Core4.aSav[15],Core4.aSav[16],Core4.aSav[17],Core4.aSav[18],Core4.aSav[19],Core4.aSav[20],Core4.aSav[21],Core4.aSav[22],Core4.aSav[23],Core4.aSav[24],Core4.aSav[25],Core4.aSav[26],Core4.aSav[27],Core4.aSav[28],Core4.aSav[29],Core4.aSav[30],Core4.aSav[31],Core4.aSav[32],Core4.aSav[33],Core4.aSav[34],Core4.aSav[35],Core4.aSav[36],Core4.aSav[37],Core4.aSav[38],Core4.aSav[39],Core4.aSav[40],Core4.aSav[41],Core4.aSav[42],Core4.aSav[43],Core4.aSav[44],Core4.aSav[45],Core4.aSav[46],Core4.aSav[47],Core4.aSav[48],Core4.aSav[49],Core4.aSav[50],Core4.aSav[51],Core4.aSav[52],Core4.aSav[53],Core4.aSav[54],Core4.aSav[55],Core4.aSav[56],Core4.aSav[57],Core4.aSav[58],Core4.aSav[59],Core4.aSav[60],Core4.aSav[61],Core4.aSav[62],Core4.aSav[63],Core4.aSav[64],Core4.aSav[65],Core4.aSav[66],Core4.aSav[67],Core4.aSav[68],Core4.aSav[69],Core4.aSav[70],Core4.aSav[71],Core4.aSav[72],Core4.aSav[73],Core4.aSav[74],Core4.aSav[75],Core4.aSav[76],Core4.aSav[77],Core4.aSav[78],Core4.aSav[79],Core4.aSav[80],Core4.aSav[81],Core4.aSav[82],Core4.aSav[83],Core4.aSav[84],Core4.aSav[85],Core4.aSav[86],Core4.aSav[87],Core4.aSav[88],Core4.aSav[89],Core4.aSav[90],Core4.aSav[91],Core4.aSav[92],Core4.aSav[93],Core4.aSav[94],Core4.aSav[95],Core4.aSav[96],Core4.aSav[97],Core4.aSav[98],Core4.aSav[99],Core4.aSav[100],Core4.bSav[1],Core4.bSav[2],Core4.bSav[3],Core4.bSav[4],Core4.bSav[5],Core4.bSav[6],Core4.bSav[7],Core4.bSav[8],Core4.bSav[9],Core4.bSav[10],Core4.bSav[11],Core4.bSav[12],Core4.bSav[13],Core4.bSav[14],Core4.bSav[15],Core4.bSav[16],Core4.bSav[17],Core4.bSav[18],Core4.bSav[19],Core4.bSav[20],Core4.bSav[21],Core4.bSav[22],Core4.bSav[23],Core4.bSav[24],Core4.bSav[25],Core4.bSav[26],Core4.bSav[27],Core4.bSav[28],Core4.bSav[29],Core4.bSav[30],Core4.bSav[31],Core4.bSav[32],Core4.bSav[33],Core4.bSav[34],Core4.bSav[35],Core4.bSav[36],Core4.bSav[37],Core4.bSav[38],Core4.bSav[39],Core4.bSav[40],Core4.bSav[41],Core4.bSav[42],Core4.bSav[43],Core4.bSav[44],Core4.bSav[45],Core4.bSav[46],Core4.bSav[47],Core4.bSav[48],Core4.bSav[49],Core4.bSav[50],Core4.bSav[51],Core4.bSav[52],Core4.bSav[53],Core4.bSav[54],Core4.bSav[55],Core4.bSav[56],Core4.bSav[57],Core4.bSav[58],Core4.bSav[59],Core4.bSav[60],Core4.bSav[61],Core4.bSav[62],Core4.bSav[63],Core4.bSav[64],Core4.bSav[65],Core4.bSav[66],Core4.bSav[67],Core4.bSav[68],Core4.bSav[69],Core4.bSav[70],Core4.bSav[71],Core4.bSav[72],Core4.bSav[73],Core4.bSav[74],Core4.bSav[75],Core4.bSav[76],Core4.bSav[77],Core4.bSav[78],Core4.bSav[79],Core4.bSav[80],Core4.bSav[81],Core4.bSav[82],Core4.bSav[83],Core4.bSav[84],Core4.bSav[85],Core4.bSav[86],Core4.bSav[87],Core4.bSav[88],Core4.bSav[89],Core4.bSav[90],Core4.bSav[91],Core4.bSav[92],Core4.bSav[93],Core4.bSav[94],Core4.bSav[95],Core4.bSav[96],Core4.bSav[97],Core4.bSav[98],Core4.bSav[99],Core4.bSav[100],Core4.init2,Core4.aSavI,Core4.bSavI,Core4.bI,Core4.hmaxI) * Number of discrete states: 204 (Core4.hmax,Core4.init,Core4.bSav[1],Core4.aSav[1],Core4.asc,Core4.init2,Core4.aSav[99],Core4.aSav[100],Core4.aSav[98],Core4.aSav[97],Core4.aSav[96],Core4.aSav[95],Core4.aSav[94],Core4.aSav[93],Core4.aSav[92],Core4.aSav[91],Core4.aSav[90],Core4.aSav[89],Core4.aSav[88],Core4.aSav[87],Core4.aSav[86],Core4.aSav[85],Core4.aSav[84],Core4.aSav[83],Core4.aSav[82],Core4.aSav[81],Core4.aSav[80],Core4.aSav[79],Core4.aSav[78],Core4.aSav[77],Core4.aSav[76],Core4.aSav[75],Core4.aSav[74],Core4.aSav[73],Core4.aSav[72],Core4.aSav[71],Core4.aSav[70],Core4.aSav[69],Core4.aSav[68],Core4.aSav[67],Core4.aSav[66],Core4.aSav[65],Core4.aSav[64],Core4.aSav[63],Core4.aSav[62],Core4.aSav[61],Core4.aSav[60],Core4.aSav[59],Core4.aSav[58],Core4.aSav[57],Core4.aSav[56],Core4.aSav[55],Core4.aSav[54],Core4.aSav[53],Core4.aSav[52],Core4.aSav[51],Core4.aSav[50],Core4.aSav[49],Core4.aSav[48],Core4.aSav[47],Core4.aSav[46],Core4.aSav[45],Core4.aSav[44],Core4.aSav[43],Core4.aSav[42],Core4.aSav[41],Core4.aSav[40],Core4.aSav[39],Core4.aSav[38],Core4.aSav[37],Core4.aSav[36],Core4.aSav[35],Core4.aSav[34],Core4.aSav[33],Core4.aSav[32],Core4.aSav[31],Core4.aSav[30],Core4.aSav[29],Core4.aSav[28],Core4.aSav[27],Core4.aSav[26],Core4.aSav[25],Core4.aSav[24],Core4.aSav[23],Core4.aSav[22],Core4.aSav[21],Core4.aSav[20],Core4.aSav[19],Core4.aSav[18],Core4.aSav[17],Core4.aSav[16],Core4.aSav[15],Core4.aSav[14],Core4.aSav[13],Core4.aSav[12],Core4.aSav[11],Core4.aSav[10],Core4.aSav[9],Core4.aSav[8],Core4.aSav[7],Core4.aSav[6],Core4.aSav[5],Core4.aSav[4],Core4.aSav[3],Core4.aSav[2],Core4.bSav[99],Core4.bSav[100],Core4.bSav[98],Core4.bSav[97],Core4.bSav[96],Core4.bSav[95],Core4.bSav[94],Core4.bSav[93],Core4.bSav[92],Core4.bSav[91],Core4.bSav[90],Core4.bSav[89],Core4.bSav[88],Core4.bSav[87],Core4.bSav[86],Core4.bSav[85],Core4.bSav[84],Core4.bSav[83],Core4.bSav[82],Core4.bSav[81],Core4.bSav[80],Core4.bSav[79],Core4.bSav[78],Core4.bSav[77],Core4.bSav[76],Core4.bSav[75],Core4.bSav[74],Core4.bSav[73],Core4.bSav[72],Core4.bSav[71],Core4.bSav[70],Core4.bSav[69],Core4.bSav[68],Core4.bSav[67],Core4.bSav[66],Core4.bSav[65],Core4.bSav[64],Core4.bSav[63],Core4.bSav[62],Core4.bSav[61],Core4.bSav[60],Core4.bSav[59],Core4.bSav[58],Core4.bSav[57],Core4.bSav[56],Core4.bSav[55],Core4.bSav[54],Core4.bSav[53],Core4.bSav[52],Core4.bSav[51],Core4.bSav[50],Core4.bSav[49],Core4.bSav[48],Core4.bSav[47],Core4.bSav[46],Core4.bSav[45],Core4.bSav[44],Core4.bSav[43],Core4.bSav[42],Core4.bSav[41],Core4.bSav[40],Core4.bSav[39],Core4.bSav[38],Core4.bSav[37],Core4.bSav[36],Core4.bSav[35],Core4.bSav[34],Core4.bSav[33],Core4.bSav[32],Core4.bSav[31],Core4.bSav[30],Core4.bSav[29],Core4.bSav[28],Core4.bSav[27],Core4.bSav[26],Core4.bSav[25],Core4.bSav[24],Core4.bSav[23],Core4.bSav[22],Core4.bSav[21],Core4.bSav[20],Core4.bSav[19],Core4.bSav[18],Core4.bSav[17],Core4.bSav[16],Core4.bSav[15],Core4.bSav[14],Core4.bSav[13],Core4.bSav[12],Core4.bSav[11],Core4.bSav[10],Core4.bSav[9],Core4.bSav[8],Core4.bSav[7],Core4.bSav[6],Core4.bSav[5],Core4.bSav[4],Core4.bSav[3],Core4.bSav[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (382): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 205 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004966/1.658, allocations: 1.333 MB / 0.5537 GB, free: 33.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.03254/1.69, allocations: 6.873 MB / 0.5604 GB, free: 26.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.69, allocations: 3.938 kB / 0.5604 GB, free: 26.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02631/1.717, allocations: 4.873 MB / 0.5652 GB, free: 21.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003576/1.72, allocations: 264.2 kB / 0.5654 GB, free: 21.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04329/1.764, allocations: 12.47 MB / 0.5776 GB, free: 8.836 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002614/1.766, allocations: 2.373 MB / 0.5799 GB, free: 6.438 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00294/1.769, allocations: 0.5408 MB / 0.5804 GB, free: 5.891 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001704/1.771, allocations: 247.3 kB / 0.5807 GB, free: 5.648 MB / 410.7 MB Notification: Performance of SimCode: time 1.683e-06/1.771, allocations: 0 / 0.5807 GB, free: 5.648 MB / 410.7 MB Notification: Performance of Templates: time 0.153/1.924, allocations: 54.63 MB / 0.634 GB, free: 14.94 MB / 474.7 MB