Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Core.B|Core.MagRel|Core1.B|Core1.MagRel|Core2.B|Core2.MagRel|Core3.B|Core3.MagRel|Core4.J|Core4.MagRel|Core4.beta|Core4.v|Core4.x|PM.B|PM.MagRel|PM1.B",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets") translateModel(ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Core.B|Core.MagRel|Core1.B|Core1.MagRel|Core2.B|Core2.MagRel|Core3.B|Core3.MagRel|Core4.J|Core4.MagRel|Core4.beta|Core4.v|Core4.x|PM.B|PM.MagRel|PM1.B",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002201/0.002201, allocations: 185.5 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.4 MB / 222.5 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 88.44 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.496/0.496, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006533/0.0006533, allocations: 16 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1256, allocations: 58.84 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5199/0.6455, allocations: 109.3 MB / 0.5855 GB, free: 9.359 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.6459, allocations: 75.97 kB / 0.5856 GB, free: 9.285 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3116/0.9575, allocations: 64.9 MB / 0.6489 GB, free: 8.086 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.526e-06/0.9576, allocations: 0 / 0.6489 GB, free: 8.086 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004198/0.958, allocations: 56 kB / 0.649 GB, free: 8.031 MB / 474.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.01461/0.9726, allocations: 4.21 MB / 0.6531 GB, free: 3.727 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.9727, allocations: 12.03 kB / 0.6531 GB, free: 3.715 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/0.975, allocations: 446.9 kB / 0.6535 GB, free: 3.273 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.9852, allocations: 2.99 MB / 0.6565 GB, free: 236 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007073/0.986, allocations: 373.5 kB / 0.6568 GB, free: 15.83 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002481/0.9885, allocations: 327.6 kB / 0.6571 GB, free: 15.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03454/1.023, allocations: 6.638 MB / 0.6636 GB, free: 8.801 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.001e-05/1.023, allocations: 7.938 kB / 0.6636 GB, free: 8.793 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001038/1.024, allocations: 75.92 kB / 0.6637 GB, free: 8.719 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-05/1.024, allocations: 36 kB / 0.6637 GB, free: 8.684 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03299/1.057, allocations: 6.098 MB / 0.6697 GB, free: 2.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3548/1.412, allocations: 9.436 MB / 0.6789 GB, free: 110.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02629/1.439, allocations: 4.81 MB / 0.6836 GB, free: 110 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000207/1.439, allocations: 49.88 kB / 0.6836 GB, free: 110 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03136/1.47, allocations: 6.744 MB / 0.6902 GB, free: 109.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=319): time 1.242e-05/1.47, allocations: 3.062 kB / 0.6902 GB, free: 109.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=354): time 0.1999/1.67, allocations: 41.15 MB / 0.7304 GB, free: 100.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004253/1.671, allocations: 468.3 kB / 0.7309 GB, free: 99.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01584/1.686, allocations: 5.268 MB / 0.736 GB, free: 98.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008772/1.687, allocations: 248.6 kB / 0.7362 GB, free: 98.19 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001836/1.689, allocations: 1.099 MB / 0.7373 GB, free: 97.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001466/1.691, allocations: 0.9944 MB / 0.7383 GB, free: 96.58 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004574/1.691, allocations: 91.12 kB / 0.7384 GB, free: 96.51 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003473/1.692, allocations: 0.4922 MB / 0.7389 GB, free: 96.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004581/1.696, allocations: 1.462 MB / 0.7403 GB, free: 95.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005834/1.702, allocations: 2.998 MB / 0.7432 GB, free: 93.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008205/1.71, allocations: 1.888 MB / 0.7451 GB, free: 92.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.742e-05/1.71, allocations: 15.62 kB / 0.7451 GB, free: 92.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=591) (initialization): time 0.02027/1.731, allocations: 4.708 MB / 0.7497 GB, free: 88.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.114e-05/1.731, allocations: 25.56 kB / 0.7497 GB, free: 88.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001375/1.731, allocations: 57.91 kB / 0.7498 GB, free: 88.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001496/1.731, allocations: 83.56 kB / 0.7498 GB, free: 88.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00869/1.74, allocations: 0.8532 MB / 0.7507 GB, free: 87.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007292/1.741, allocations: 0.7366 MB / 0.7514 GB, free: 86.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006958/1.748, allocations: 229.3 kB / 0.7516 GB, free: 86.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001211/1.749, allocations: 215.1 kB / 0.7518 GB, free: 86.27 MB / 490.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (591): * Single equations (assignments): 590 * 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.00713/1.756, allocations: 1.674 MB / 0.7534 GB, free: 84.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00341/1.76, allocations: 423.6 kB / 0.7538 GB, free: 84.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08373/1.843, allocations: 17.87 MB / 0.7713 GB, free: 68.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.816e-05/1.844, allocations: 40 kB / 0.7713 GB, free: 68.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/1.844, allocations: 0 / 0.7713 GB, free: 68.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-05/1.844, allocations: 27.69 kB / 0.7714 GB, free: 68.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09868/1.942, allocations: 24.52 MB / 0.7953 GB, free: 48.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.937e-05/1.942, allocations: 7.328 kB / 0.7953 GB, free: 48.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003547/1.946, allocations: 320.8 kB / 0.7956 GB, free: 48.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.502e-05/1.946, allocations: 12 kB / 0.7956 GB, free: 48.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001715/1.948, allocations: 248 kB / 0.7959 GB, free: 48.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.163e-05/1.948, allocations: 16 kB / 0.7959 GB, free: 48.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.948, allocations: 0 / 0.7959 GB, free: 48.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09462/2.042, allocations: 22.12 MB / 0.8175 GB, free: 27.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005178/2.048, allocations: 1.465 MB / 0.8189 GB, free: 26.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004419/2.052, allocations: 1.148 MB / 0.82 GB, free: 25.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0138/2.066, allocations: 1.381 MB / 0.8214 GB, free: 23.63 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009455/2.067, allocations: 265.8 kB / 0.8216 GB, free: 23.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001447/2.068, allocations: 291.5 kB / 0.8219 GB, free: 23.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009567/2.078, allocations: 4.052 MB / 0.8259 GB, free: 19.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.31e-07/2.078, allocations: 0 / 0.8259 GB, free: 19.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006679/2.085, allocations: 1.14 MB / 0.827 GB, free: 17.93 MB / 490.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]) * Number of clocked states: 0 () * 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.004703/2.09, allocations: 1.42 MB / 0.8284 GB, free: 16.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03243/2.122, allocations: 6.748 MB / 0.835 GB, free: 9.918 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/2.122, allocations: 4 kB / 0.835 GB, free: 9.914 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02619/2.148, allocations: 4.866 MB / 0.8397 GB, free: 5.062 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003817/2.152, allocations: 295.4 kB / 0.84 GB, free: 4.773 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04765/2.2, allocations: 13.06 MB / 0.8528 GB, free: 7.746 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004416/2.204, allocations: 2.38 MB / 0.8551 GB, free: 5.34 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00241/2.207, allocations: 299.3 kB / 0.8554 GB, free: 5.047 MB / 0.4949 GB Notification: Performance of SimCode: time 3.487e-06/2.207, allocations: 0 / 0.8554 GB, free: 5.047 MB / 0.4949 GB Notification: Performance of Templates: time 0.4952/2.702, allocations: 75.79 MB / 0.9294 GB, free: 103.8 MB / 0.4949 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/HysteresisAndMagnets/HysteresisAndMagnets.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches