Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets") Notification: Performance of loadModel(ModelicaTest): time 2.614/2.614, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.015e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1254, allocations: 61.9 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets): time 0.006312/0.1317, allocations: 3.869 MB / 414.8 MB, free: 8.977 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006203/0.138, allocations: 2.722 MB / 417.5 MB, free: 6.246 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006653/0.1387, allocations: 15.94 kB / 417.5 MB, free: 6.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00408/0.1428, allocations: 2.152 MB / 419.7 MB, free: 4.074 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.1446, allocations: 450.4 kB / 420.1 MB, free: 3.633 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.1465, allocations: 0.5106 MB / 420.6 MB, free: 3.121 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003385/0.1499, allocations: 1.591 MB / 422.2 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002855/0.1503, allocations: 90.14 kB / 422.3 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.1513, allocations: 0.6473 MB / 423 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3177/0.4691, allocations: 1.404 MB / 424.4 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001921/0.4711, allocations: 328 kB / 424.7 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008126/0.4719, allocations: 149.8 kB / 424.8 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003574/0.4755, allocations: 2.202 MB / 427 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002737/0.4783, allocations: 302.2 kB / 427.3 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009428/0.4877, allocations: 5.279 MB / 432.6 MB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4878, allocations: 0 / 432.6 MB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.4878, allocations: 1.281 kB / 432.6 MB, free: 4.418 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001893/0.488, allocations: 0 / 432.6 MB, free: 4.418 MB / 346.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.01278/0.5008, allocations: 3.323 MB / 435.9 MB, free: 2.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.5009, allocations: 12.77 kB / 436 MB, free: 2.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003409/0.5043, allocations: 444.8 kB / 436.4 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009739/0.5141, allocations: 2.773 MB / 439.2 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007035/0.5148, allocations: 377.8 kB / 439.5 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003247/0.5181, allocations: 318.7 kB / 439.8 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03753/0.5556, allocations: 6.64 MB / 446.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/0.5558, allocations: 5.969 kB / 446.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001191/0.557, allocations: 80.67 kB / 446.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.536e-05/0.5571, allocations: 37.19 kB / 446.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03305/0.5901, allocations: 6.13 MB / 452.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03148/0.6217, allocations: 9.252 MB / 462 MB, free: 3.859 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02808/0.6498, allocations: 4.816 MB / 466.8 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002039/0.65, allocations: 45.78 kB / 466.8 MB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03395/0.684, allocations: 6.76 MB / 473.6 MB, free: 8.113 MB / 378.7 MB Notification: Performance of pre-optimization done (n=319): time 1.235e-05/0.6841, allocations: 0 / 473.6 MB, free: 8.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=354): time 0.233/0.9171, allocations: 41.17 MB / 0.5027 GB, free: 14.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005525/0.9177, allocations: 468.7 kB / 0.5032 GB, free: 14.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01335/0.9311, allocations: 5.449 MB / 0.5085 GB, free: 8.867 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00106/0.9322, allocations: 253.5 kB / 0.5087 GB, free: 8.613 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002225/0.9344, allocations: 1.158 MB / 0.5098 GB, free: 7.453 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001703/0.9362, allocations: 0.9918 MB / 0.5108 GB, free: 6.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004254/0.9366, allocations: 96 kB / 0.5109 GB, free: 6.387 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003992/0.937, allocations: 497 kB / 0.5114 GB, free: 5.891 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005077/0.9421, allocations: 1.477 MB / 0.5128 GB, free: 4.406 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006579/0.9487, allocations: 3.035 MB / 0.5158 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006259/0.955, allocations: 1.896 MB / 0.5176 GB, free: 14.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.613e-05/0.9551, allocations: 16 kB / 0.5177 GB, free: 14.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=597) (initialization): time 0.01558/0.9707, allocations: 4.754 MB / 0.5223 GB, free: 10.13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.982e-05/0.9708, allocations: 32 kB / 0.5223 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000102/0.9709, allocations: 52 kB / 0.5224 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001405/0.9711, allocations: 87.95 kB / 0.5225 GB, free: 9.961 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007209/0.9783, allocations: 0.8615 MB / 0.5233 GB, free: 9.098 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000663/0.979, allocations: 0.7302 MB / 0.524 GB, free: 8.344 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005426/0.9845, allocations: 227.9 kB / 0.5242 GB, free: 8.121 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001046/0.9856, allocations: 223.9 kB / 0.5244 GB, free: 7.902 MB / 442.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 (597): * Single equations (assignments): 596 * Array equations: 0 * Algorithm blocks: 0 * 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.006668/0.9922, allocations: 1.673 MB / 0.5261 GB, free: 6.223 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002767/0.995, allocations: 414.9 kB / 0.5265 GB, free: 5.812 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07496/1.07, allocations: 17.88 MB / 0.5439 GB, free: 3.879 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.903e-05/1.07, allocations: 36 kB / 0.544 GB, free: 3.844 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/1.07, allocations: 4 kB / 0.544 GB, free: 3.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-05/1.07, allocations: 15.94 kB / 0.544 GB, free: 3.824 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1106/1.181, allocations: 23.92 MB / 0.5674 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.481e-05/1.181, allocations: 0 / 0.5674 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00367/1.185, allocations: 325.6 kB / 0.5677 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.279e-05/1.185, allocations: 12 kB / 0.5677 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002125/1.187, allocations: 243.5 kB / 0.5679 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.461e-05/1.187, allocations: 23.92 kB / 0.5679 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.187, allocations: 0 / 0.5679 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1021/1.289, allocations: 22.11 MB / 0.5895 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006008/1.295, allocations: 1.268 MB / 0.5908 GB, free: 3.754 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006121/1.301, allocations: 1.147 MB / 0.5919 GB, free: 2.605 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01564/1.317, allocations: 1.373 MB / 0.5932 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009839/1.318, allocations: 265.9 kB / 0.5935 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002507/1.32, allocations: 363.5 kB / 0.5938 GB, free: 0.6133 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01148/1.332, allocations: 4.194 MB / 0.5979 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.01e-07/1.332, allocations: 0 / 0.5979 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008121/1.34, allocations: 1.015 MB / 0.5989 GB, free: 11.48 MB / 0.5105 GB 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.005897/1.346, allocations: 1.366 MB / 0.6002 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03713/1.383, allocations: 6.755 MB / 0.6068 GB, free: 3.457 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.383, allocations: 0 / 0.6068 GB, free: 3.457 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.3647/1.748, allocations: 4.861 MB / 0.6116 GB, free: 178.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004679/1.753, allocations: 272.9 kB / 0.6118 GB, free: 178.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05172/1.805, allocations: 12.7 MB / 0.6243 GB, free: 174.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004793/1.809, allocations: 2.38 MB / 0.6266 GB, free: 173.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002455/1.812, allocations: 255.2 kB / 0.6268 GB, free: 173.3 MB / 0.5105 GB Notification: Performance of SimCode: time 2.384e-06/1.812, allocations: 0 / 0.6268 GB, free: 173.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.1532/1.965, allocations: 73.01 MB / 0.6981 GB, free: 106.6 MB / 0.5105 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnetsCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnetsCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnetsCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnetsFunctions.cpp:198:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp911.getData(), table_.getDim(1), table_.getDim(2), ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:269:23: note: candidate function not viable: 6th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTable1D_init2(_In_z_ const char* fileName, ^ 1 error generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnetsCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnetsCalcHelperMain.o] Error 1