Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) 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.396/2.396, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.742e-05/1.752e-05, allocations: 0 / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3649, allocations: 54.85 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2071/0.572, allocations: 103 MB / 461.1 MB, free: 7.793 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.5723, allocations: 75.91 kB / 461.2 MB, free: 7.719 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5935/1.166, allocations: 63.3 MB / 0.5122 GB, free: 57.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.185e-06/1.166, allocations: 3.938 kB / 0.5122 GB, free: 57.65 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003509/1.166, allocations: 60 kB / 0.5123 GB, free: 57.59 MB / 394.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.01021/1.176, allocations: 3.507 MB / 0.5157 GB, free: 53.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.177, allocations: 15.97 kB / 0.5157 GB, free: 53.97 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/1.179, allocations: 458.8 kB / 0.5161 GB, free: 53.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008493/1.187, allocations: 2.96 MB / 0.519 GB, free: 50.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000438/1.188, allocations: 291.5 kB / 0.5193 GB, free: 50.19 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001904/1.189, allocations: 251.7 kB / 0.5195 GB, free: 49.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00915/1.199, allocations: 3.756 MB / 0.5232 GB, free: 46.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/1.209, allocations: 4.303 MB / 0.5274 GB, free: 41.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.318e-05/1.209, allocations: 7.938 kB / 0.5274 GB, free: 41.81 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006327/1.21, allocations: 47.92 kB / 0.5275 GB, free: 41.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.745e-05/1.21, allocations: 36 kB / 0.5275 GB, free: 41.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02558/1.236, allocations: 9.157 MB / 0.5364 GB, free: 32.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005904/1.241, allocations: 2.484 MB / 0.5389 GB, free: 29.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004893/1.246, allocations: 2.173 MB / 0.541 GB, free: 27.69 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/1.247, allocations: 46.59 kB / 0.541 GB, free: 27.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01026/1.257, allocations: 4.49 MB / 0.5454 GB, free: 23.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=319): time 9.969e-06/1.257, allocations: 0 / 0.5454 GB, free: 23.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=354): time 0.1009/1.358, allocations: 27.33 MB / 0.5721 GB, free: 11.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005056/1.358, allocations: 469.5 kB / 0.5726 GB, free: 11.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01732/1.376, allocations: 5.041 MB / 0.5775 GB, free: 6.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009859/1.377, allocations: 161.6 kB / 0.5776 GB, free: 5.855 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002704/1.38, allocations: 1.044 MB / 0.5787 GB, free: 4.809 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002289/1.382, allocations: 0.9524 MB / 0.5796 GB, free: 3.844 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004442/1.382, allocations: 4 kB / 0.5796 GB, free: 3.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005759/1.383, allocations: 496.9 kB / 0.5801 GB, free: 3.344 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005741/1.389, allocations: 1.325 MB / 0.5814 GB, free: 2.012 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008423/1.397, allocations: 2.815 MB / 0.5841 GB, free: 14.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007866/1.405, allocations: 1.798 MB / 0.5859 GB, free: 12.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.968e-05/1.405, allocations: 15.98 kB / 0.5859 GB, free: 12.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=593) (initialization): time 0.01885/1.424, allocations: 4.18 MB / 0.59 GB, free: 8.488 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001573/1.424, allocations: 84.8 kB / 0.59 GB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001461/1.424, allocations: 52 kB / 0.5901 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000199/1.425, allocations: 80 kB / 0.5902 GB, free: 8.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009498/1.434, allocations: 0.8461 MB / 0.591 GB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/1.436, allocations: 0.7964 MB / 0.5918 GB, free: 6.598 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006945/1.443, allocations: 139.9 kB / 0.5919 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001311/1.444, allocations: 223.9 kB / 0.5921 GB, free: 6.242 MB / 426.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.003595/1.448, allocations: 0.6233 MB / 0.5927 GB, free: 5.609 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03409/1.482, allocations: 12.94 MB / 0.6054 GB, free: 8.625 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002494/1.484, allocations: 419 kB / 0.6058 GB, free: 8.211 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03091/1.515, allocations: 13.21 MB / 0.6187 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-05/1.515, allocations: 36 kB / 0.6187 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/1.515, allocations: 4 kB / 0.6187 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.16e-05/1.516, allocations: 27.88 kB / 0.6187 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3877/1.903, allocations: 19.62 MB / 0.6379 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.752e-05/1.903, allocations: 8.234 kB / 0.6379 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003562/1.907, allocations: 316.5 kB / 0.6382 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-05/1.907, allocations: 12.78 kB / 0.6382 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001489/1.908, allocations: 223.6 kB / 0.6384 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.516e-05/1.908, allocations: 18.83 kB / 0.6384 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/1.908, allocations: 1.484 kB / 0.6384 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03211/1.941, allocations: 15.19 MB / 0.6533 GB, free: 124.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005202/1.946, allocations: 1.449 MB / 0.6547 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00442/1.95, allocations: 1.13 MB / 0.6558 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0141/1.964, allocations: 1.361 MB / 0.6571 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008522/1.965, allocations: 248.2 kB / 0.6574 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001588/1.967, allocations: 295.2 kB / 0.6576 GB, free: 123.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008498/1.975, allocations: 3.811 MB / 0.6614 GB, free: 120.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.82e-07/1.976, allocations: 0 / 0.6614 GB, free: 120.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006419/1.982, allocations: 1.027 MB / 0.6624 GB, free: 119.3 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.03555/2.018, allocations: 17.36 MB / 0.6793 GB, free: 103 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01179/2.029, allocations: 4.269 MB / 0.6835 GB, free: 99.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/2.03, allocations: 3.906 kB / 0.6835 GB, free: 99.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006501/2.036, allocations: 2.542 MB / 0.686 GB, free: 96.63 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003831/2.04, allocations: 247.7 kB / 0.6862 GB, free: 96.42 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03008/2.07, allocations: 9.923 MB / 0.6959 GB, free: 87.99 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003915/2.074, allocations: 2.378 MB / 0.6982 GB, free: 86.13 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004369/2.078, allocations: 1.56 MB / 0.6998 GB, free: 84.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.522e-06/2.079, allocations: 4 kB / 0.6998 GB, free: 84.69 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.001/7.079, allocations: 105 MB / 0.8023 GB, free: 2.984 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets_res.mat does not exist to compare? outputFormat=mat