Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Shapes_HysteresisAndMagnets",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.399/2.399, allocations: 235 MB / 247.6 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.855e-05/3.862e-05, allocations: 7.984 kB / 305 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3929, allocations: 54.85 MB / 359.9 MB, free: 2.223 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1854/0.5784, allocations: 103.6 MB / 463.5 MB, free: 9.238 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.5787, allocations: 75.95 kB / 463.6 MB, free: 9.164 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3107/0.8895, allocations: 64.27 MB / 0.5155 GB, free: 8.527 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.8895, allocations: 0 / 0.5155 GB, free: 8.527 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000424/0.89, allocations: 59.98 kB / 0.5155 GB, free: 8.469 MB / 458.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.01493/0.9049, allocations: 3.523 MB / 0.519 GB, free: 4.852 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.584e-05/0.905, allocations: 8.031 kB / 0.519 GB, free: 4.844 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001688/0.9067, allocations: 247.7 kB / 0.5192 GB, free: 4.59 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002763/0.9095, allocations: 454.9 kB / 0.5196 GB, free: 4.141 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01416/0.9237, allocations: 2.949 MB / 0.5225 GB, free: 1.137 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009414/0.9247, allocations: 381.4 kB / 0.5229 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002977/0.9277, allocations: 319.7 kB / 0.5232 GB, free: 432 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3321/1.26, allocations: 4.446 MB / 0.5275 GB, free: 120 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.573e-05/1.26, allocations: 6.875 kB / 0.5275 GB, free: 120 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006826/1.261, allocations: 75.39 kB / 0.5276 GB, free: 120 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.757e-05/1.261, allocations: 37.34 kB / 0.5276 GB, free: 120 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01231/1.273, allocations: 3.843 MB / 0.5314 GB, free: 120 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0326/1.306, allocations: 9.452 MB / 0.5406 GB, free: 117.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007604/1.313, allocations: 2.57 MB / 0.5431 GB, free: 116.1 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006684/1.32, allocations: 2.253 MB / 0.5453 GB, free: 115.1 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/1.32, allocations: 36.34 kB / 0.5454 GB, free: 115 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01296/1.333, allocations: 4.577 MB / 0.5498 GB, free: 113.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=319): time 1.414e-05/1.333, allocations: 0 / 0.5498 GB, free: 113.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=354): time 0.09289/1.426, allocations: 28.05 MB / 0.5772 GB, free: 103.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000365/1.427, allocations: 473.4 kB / 0.5777 GB, free: 102.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01507/1.442, allocations: 5.206 MB / 0.5828 GB, free: 97.96 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008644/1.443, allocations: 250.5 kB / 0.583 GB, free: 97.73 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001788/1.445, allocations: 1.089 MB / 0.5841 GB, free: 96.68 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001441/1.446, allocations: 0.9877 MB / 0.585 GB, free: 95.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003166/1.446, allocations: 99.31 kB / 0.5851 GB, free: 95.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002623/1.447, allocations: 499.6 kB / 0.5856 GB, free: 95.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003808/1.45, allocations: 1.411 MB / 0.587 GB, free: 94.06 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004728/1.455, allocations: 2.912 MB / 0.5898 GB, free: 90.68 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004961/1.46, allocations: 1.886 MB / 0.5917 GB, free: 89.11 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-05/1.46, allocations: 18.16 kB / 0.5917 GB, free: 89.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=593) (initialization): time 0.01203/1.472, allocations: 4.525 MB / 0.5961 GB, free: 85.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.582e-05/1.472, allocations: 83.23 kB / 0.5962 GB, free: 84.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.603e-05/1.473, allocations: 52.12 kB / 0.5962 GB, free: 84.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001186/1.473, allocations: 84 kB / 0.5963 GB, free: 84.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006776/1.479, allocations: 0.8489 MB / 0.5972 GB, free: 84.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005241/1.48, allocations: 0.7358 MB / 0.5979 GB, free: 83.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005166/1.485, allocations: 231.6 kB / 0.5981 GB, free: 83.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007799/1.486, allocations: 218.3 kB / 0.5983 GB, free: 82.99 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 225 * 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 (593): * Single equations (assignments): 590 * 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.002369/1.488, allocations: 0.7335 MB / 0.599 GB, free: 82.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001732/1.49, allocations: 425.7 kB / 0.5994 GB, free: 81.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02715/1.517, allocations: 13.43 MB / 0.6125 GB, free: 69.19 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.353e-05/1.517, allocations: 37.25 kB / 0.6126 GB, free: 69.15 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-05/1.517, allocations: 4.75 kB / 0.6126 GB, free: 69.15 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.423e-05/1.518, allocations: 22.75 kB / 0.6126 GB, free: 69.14 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06112/1.579, allocations: 20.07 MB / 0.6322 GB, free: 52.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.607e-05/1.579, allocations: 0 / 0.6322 GB, free: 52.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003635/1.582, allocations: 323.5 kB / 0.6325 GB, free: 52.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.933e-05/1.582, allocations: 16 kB / 0.6325 GB, free: 52.03 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001527/1.584, allocations: 245 kB / 0.6328 GB, free: 51.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.506e-05/1.584, allocations: 15.17 kB / 0.6328 GB, free: 51.89 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.584, allocations: 10.3 kB / 0.6328 GB, free: 51.88 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03316/1.617, allocations: 15.45 MB / 0.6479 GB, free: 36.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005305/1.623, allocations: 1.45 MB / 0.6493 GB, free: 35.01 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00362/1.626, allocations: 1.147 MB / 0.6504 GB, free: 33.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01348/1.64, allocations: 1.397 MB / 0.6518 GB, free: 32.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006366/1.64, allocations: 253.9 kB / 0.652 GB, free: 32.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009984/1.641, allocations: 291.5 kB / 0.6523 GB, free: 31.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007668/1.649, allocations: 3.989 MB / 0.6562 GB, free: 27.96 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.12e-07/1.649, allocations: 3.938 kB / 0.6562 GB, free: 27.95 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006644/1.656, allocations: 1.154 MB / 0.6573 GB, free: 26.82 MB / 458.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.03354/1.689, allocations: 17.68 MB / 0.6746 GB, free: 9.176 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01233/1.702, allocations: 4.428 MB / 0.6789 GB, free: 4.723 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/1.702, allocations: 0 / 0.6789 GB, free: 4.723 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007199/1.709, allocations: 2.622 MB / 0.6815 GB, free: 2.117 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00353/1.713, allocations: 276.8 kB / 0.6817 GB, free: 1.844 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03383/1.747, allocations: 10.18 MB / 0.6917 GB, free: 7.703 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003625/1.75, allocations: 2.368 MB / 0.694 GB, free: 5.305 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004496/1.755, allocations: 1.565 MB / 0.6955 GB, free: 3.738 MB / 474.7 MB Notification: Performance of SimCode: time 1.884e-06/1.755, allocations: 4 kB / 0.6955 GB, free: 3.734 MB / 474.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Shapes_HysteresisAndMagnetsCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Shapes_HysteresisAndMagnetsCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Shapes_HysteresisAndMagnetsCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Shapes_HysteresisAndMagnetsFMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning generated. clang++ -shared -o ModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Shapes_HysteresisAndMagnets.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Shapes_HysteresisAndMagnetsCalcHelperMain.o -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp" -Wl,--no-undefined -lOMCppSystem_static -lOMCppMath_static -lOMCppModelicaUtilities_static -lOMCppFMU_static -lOMCppNewton_static -lOMCppDgesvSolver_static -lOMCppSolver_static -lOMCppExtensionUtilities_static -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" "-L/var/lib/hudson/.openmodelica/binaries/Modelica" -Wl,-rpath="/var/lib/hudson/.openmodelica/binaries/Modelica" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library" -lModelicaStandardTables -lModelicaIO -lModelicaMatIO -lzlib -lOMCppModelicaUtilities_static -lOMCppDgesv_static /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp/libModelicaMatIO.a(ModelicaMatIO.c.o): In function `Mat_VarDelete': /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:4972: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp/libModelicaMatIO.a(ModelicaMatIO.c.o): In function `strdup_vprintf': /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1469: undefined reference to `rpl_vsnprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1476: undefined reference to `rpl_vsnprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1469: undefined reference to `rpl_vsnprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1476: undefined reference to `rpl_vsnprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp/libModelicaMatIO.a(ModelicaMatIO.c.o): In function `Mat_Create5': /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:7716: undefined reference to `rpl_snprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:7711: undefined reference to `rpl_snprintf' clang: error: linker command failed with exit code 1 (use -v to see invocation) ModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Shapes_HysteresisAndMagnets_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Shapes_HysteresisAndMagnets.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Shapes_HysteresisAndMagnets.fmu] Error 1