Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009217/0.0009218, allocations: 185.7 kB / 7.803 MB, free: 2.125 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.073/1.073, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0008392/0.000839, allocations: 97.09 kB / 261.4 MB, free: 13.61 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.1479/0.1479, allocations: 43.49 MB / 352.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.861e-06/5.901e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2249, allocations: 58.83 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.3522, allocations: 108.5 MB / 0.5713 GB, free: 6.398 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.3525, allocations: 79.45 kB / 0.5714 GB, free: 6.324 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.166/0.5186, allocations: 64.28 MB / 0.6342 GB, free: 5.645 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002049/0.5188, allocations: 59.98 kB / 0.6343 GB, free: 5.586 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.007344/0.5262, allocations: 3.452 MB / 0.6376 GB, free: 2.051 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.5262, allocations: 8.031 kB / 0.6376 GB, free: 2.043 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.5275, allocations: 450.9 kB / 0.6381 GB, free: 1.598 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1337/0.6612, allocations: 2.956 MB / 0.641 GB, free: 179.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002533/0.6615, allocations: 287.4 kB / 0.6412 GB, free: 179.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009194/0.6625, allocations: 266.6 kB / 0.6415 GB, free: 179.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005097/0.6676, allocations: 3.765 MB / 0.6452 GB, free: 179.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005756/0.6733, allocations: 4.372 MB / 0.6494 GB, free: 179.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.874e-05/0.6734, allocations: 6.875 kB / 0.6494 GB, free: 179.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003786/0.6738, allocations: 53.03 kB / 0.6495 GB, free: 179.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.6738, allocations: 35.72 kB / 0.6495 GB, free: 179.1 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/0.6859, allocations: 8.463 MB / 0.6578 GB, free: 176.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002682/0.6886, allocations: 2.412 MB / 0.6601 GB, free: 175.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002378/0.691, allocations: 2.185 MB / 0.6623 GB, free: 174.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.373e-05/0.6911, allocations: 43.53 kB / 0.6623 GB, free: 174.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004828/0.6959, allocations: 4.548 MB / 0.6668 GB, free: 172.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=319): time 7.294e-06/0.6959, allocations: 0.875 kB / 0.6668 GB, free: 172.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=354): time 0.03884/0.7348, allocations: 14.68 MB / 0.6811 GB, free: 166.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002847/0.7351, allocations: 487.9 kB / 0.6816 GB, free: 165.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009418/0.7445, allocations: 5.046 MB / 0.6865 GB, free: 164.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006898/0.7452, allocations: 169.8 kB / 0.6866 GB, free: 164.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004522/0.7457, allocations: 0.5801 MB / 0.6872 GB, free: 163.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001049/0.7467, allocations: 0.951 MB / 0.6881 GB, free: 163.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.747, allocations: 0 / 0.6881 GB, free: 163.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000234/0.7472, allocations: 499.6 kB / 0.6886 GB, free: 162.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00241/0.7496, allocations: 1.354 MB / 0.6899 GB, free: 162.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003014/0.7527, allocations: 2.856 MB / 0.6927 GB, free: 159.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002936/0.7556, allocations: 1.835 MB / 0.6945 GB, free: 158.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-05/0.7556, allocations: 21.55 kB / 0.6945 GB, free: 158.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=591) (initialization): time 0.007081/0.7627, allocations: 4.501 MB / 0.6989 GB, free: 154.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.7628, allocations: 4 kB / 0.6989 GB, free: 154.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.511e-05/0.7628, allocations: 55.75 kB / 0.699 GB, free: 154.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.131e-05/0.7629, allocations: 82.44 kB / 0.6991 GB, free: 154 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003331/0.7662, allocations: 0.8619 MB / 0.6999 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000532/0.7668, allocations: 0.7988 MB / 0.7007 GB, free: 152.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003012/0.7698, allocations: 129.2 kB / 0.7008 GB, free: 152.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002741/0.7701, allocations: 223.5 kB / 0.701 GB, free: 152.2 MB / 474.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 (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.001525/0.7716, allocations: 0.594 MB / 0.7016 GB, free: 151.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009336/0.7726, allocations: 414.2 kB / 0.702 GB, free: 151.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007346/0.7799, allocations: 4.799 MB / 0.7067 GB, free: 147.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/0.78, allocations: 39.75 kB / 0.7067 GB, free: 147 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.78, allocations: 8.422 kB / 0.7067 GB, free: 147 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-05/0.78, allocations: 19.12 kB / 0.7068 GB, free: 147 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02856/0.8086, allocations: 12.18 MB / 0.7187 GB, free: 136.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.8087, allocations: 4 kB / 0.7187 GB, free: 136.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001893/0.8106, allocations: 327.6 kB / 0.719 GB, free: 136.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.42e-05/0.8106, allocations: 12 kB / 0.719 GB, free: 136.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000591/0.8112, allocations: 227.5 kB / 0.7192 GB, free: 136.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-05/0.8112, allocations: 16 kB / 0.7192 GB, free: 136.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.8112, allocations: 3.938 kB / 0.7192 GB, free: 136.3 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01056/0.8218, allocations: 7.554 MB / 0.7266 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003303/0.8252, allocations: 1.456 MB / 0.728 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00243/0.8276, allocations: 1.239 MB / 0.7292 GB, free: 126 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006962/0.8346, allocations: 1.467 MB / 0.7307 GB, free: 124.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004029/0.835, allocations: 230.1 kB / 0.7309 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000584/0.8356, allocations: 291.5 kB / 0.7312 GB, free: 124 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004476/0.8401, allocations: 3.822 MB / 0.7349 GB, free: 120.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004591/0.8447, allocations: 1.01 MB / 0.7359 GB, free: 119.2 MB / 474.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.002447/0.8471, allocations: 1.342 MB / 0.7372 GB, free: 118 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006244/0.8534, allocations: 4.265 MB / 0.7414 GB, free: 113.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.8534, allocations: 0 / 0.7414 GB, free: 113.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002984/0.8564, allocations: 2.58 MB / 0.7439 GB, free: 111.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/0.8592, allocations: 241.5 kB / 0.7441 GB, free: 110.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/0.8743, allocations: 8.973 MB / 0.7529 GB, free: 102 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002687/0.877, allocations: 2.691 MB / 0.7555 GB, free: 99.26 MB / 474.7 MB Notification: Performance of SimCode: time 9.12e-07/0.877, allocations: 0 / 0.7555 GB, free: 99.26 MB / 474.7 MB Notification: Performance of Templates: time 0.07474/0.9518, allocations: 56.75 MB / 0.8109 GB, free: 42.72 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets_res.mat","/var/lib/jenkins/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_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches