Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.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_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets") translateModel(ModelicaTest.Magnetic.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_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001661/0.001661, allocations: 193.9 kB / 16.1 MB, free: 5.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 226.5 MB / 243.4 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007688/0.000769, allocations: 103.7 kB / 295.5 MB, free: 6.867 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2891/0.2891, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002732/0.0002733, allocations: 12 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2893, allocations: 62.96 MB / 0.5159 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets): time 0.003696/0.2931, allocations: 4.27 MB / 0.5201 GB, free: 34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003761/0.2969, allocations: 3.104 MB / 0.5231 GB, free: 31.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004357/0.2973, allocations: 12 kB / 0.5231 GB, free: 31.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002008/0.2994, allocations: 1.818 MB / 0.5249 GB, free: 31.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.3006, allocations: 465.6 kB / 0.5253 GB, free: 31.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.3018, allocations: 0.5334 MB / 0.5258 GB, free: 31.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002413/0.3043, allocations: 2.656 MB / 0.5284 GB, free: 30.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003227/0.3046, allocations: 192.4 kB / 0.5286 GB, free: 30.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009383/0.3055, allocations: 0.7235 MB / 0.5293 GB, free: 29.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.3068, allocations: 1.518 MB / 0.5308 GB, free: 29.39 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000248/0.3071, allocations: 146.4 kB / 0.5309 GB, free: 29.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006753/0.3077, allocations: 345.3 kB / 0.5313 GB, free: 29.33 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001391/0.3091, allocations: 2.253 MB / 0.5335 GB, free: 28.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002191/0.3113, allocations: 2.347 MB / 0.5358 GB, free: 27.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006505/0.3179, allocations: 5.305 MB / 0.5409 GB, free: 25.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.3179, allocations: 0 / 0.5409 GB, free: 25.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3179, allocations: 5.094 kB / 0.5409 GB, free: 25.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001878/0.3181, allocations: 0 / 0.5409 GB, free: 25.34 MB / 378.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.01005/0.3282, allocations: 4.058 MB / 0.5449 GB, free: 22.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3282, allocations: 9.094 kB / 0.5449 GB, free: 22.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.3304, allocations: 473.9 kB / 0.5454 GB, free: 22.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005585/0.336, allocations: 2.936 MB / 0.5482 GB, free: 20.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003908/0.3364, allocations: 378.5 kB / 0.5486 GB, free: 20.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001437/0.3379, allocations: 309.5 kB / 0.5489 GB, free: 20.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01819/0.3561, allocations: 6.656 MB / 0.5554 GB, free: 16.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-05/0.3562, allocations: 0.9375 kB / 0.5554 GB, free: 16.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005591/0.3568, allocations: 77.48 kB / 0.5555 GB, free: 16.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.909e-05/0.3568, allocations: 37.47 kB / 0.5555 GB, free: 16.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01643/0.3732, allocations: 6.133 MB / 0.5615 GB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01658/0.3899, allocations: 9.274 MB / 0.5706 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01416/0.4041, allocations: 4.798 MB / 0.5752 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01359/0.4177, allocations: 4.449 MB / 0.5796 GB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.4179, allocations: 42.16 kB / 0.5796 GB, free: 7.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01831/0.4362, allocations: 6.766 MB / 0.5862 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of pre-optimization done (n=319): time 1.085e-05/0.4363, allocations: 0 / 0.5862 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of matching and sorting (n=354): time 0.1172/0.5534, allocations: 41.2 MB / 0.6265 GB, free: 7.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004342/0.5539, allocations: 473.5 kB / 0.6269 GB, free: 6.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009235/0.5632, allocations: 5.889 MB / 0.6327 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007384/0.5639, allocations: 249.6 kB / 0.6329 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001707/0.5657, allocations: 1.452 MB / 0.6343 GB, free: 15.24 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001745/0.5674, allocations: 0.9875 MB / 0.6353 GB, free: 14.24 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006317/0.5681, allocations: 96 kB / 0.6354 GB, free: 14.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005309/0.5686, allocations: 0.4884 MB / 0.6359 GB, free: 13.65 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004953/0.5736, allocations: 1.473 MB / 0.6373 GB, free: 12.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006388/0.58, allocations: 3.052 MB / 0.6403 GB, free: 8.383 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0118/0.5919, allocations: 4.678 MB / 0.6448 GB, free: 2.988 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.894e-05/0.592, allocations: 12 kB / 0.6449 GB, free: 2.977 MB / 458.7 MB Notification: Performance of matching and sorting (n=597) (initialization): time 0.01829/0.6103, allocations: 5.027 MB / 0.6498 GB, free: 13.94 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.6105, allocations: 31.94 kB / 0.6498 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001418/0.6106, allocations: 55.98 kB / 0.6498 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/0.6108, allocations: 76 kB / 0.6499 GB, free: 13.78 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007118/0.6179, allocations: 0.8776 MB / 0.6508 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008893/0.6189, allocations: 0.7262 MB / 0.6515 GB, free: 12.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005997/0.6249, allocations: 223.9 kB / 0.6517 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001308/0.6263, allocations: 223.9 kB / 0.6519 GB, free: 11.71 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 437 ($PRE.Core4.bI,Core4.bI,$PRE.Core4.aSavI,Core4.aSavI,$PRE.Core4.bSavI,Core4.bSavI,$PRE.Core4.hmaxI,Core4.hmaxI,$PRE.Core4.bSav[2],Core4.bSav[2],$PRE.Core4.bSav[3],Core4.bSav[3],$PRE.Core4.bSav[4],Core4.bSav[4],$PRE.Core4.bSav[5],Core4.bSav[5],$PRE.Core4.bSav[6],Core4.bSav[6],$PRE.Core4.bSav[7],Core4.bSav[7],$PRE.Core4.bSav[8],Core4.bSav[8],$PRE.Core4.bSav[9],Core4.bSav[9],$PRE.Core4.bSav[10],Core4.bSav[10],$PRE.Core4.bSav[11],Core4.bSav[11],$PRE.Core4.bSav[12],Core4.bSav[12],$PRE.Core4.bSav[13],Core4.bSav[13],$PRE.Core4.bSav[14],Core4.bSav[14],$PRE.Core4.bSav[15],Core4.bSav[15],$PRE.Core4.bSav[16],Core4.bSav[16],$PRE.Core4.bSav[17],Core4.bSav[17],$PRE.Core4.bSav[18],Core4.bSav[18],$PRE.Core4.bSav[19],Core4.bSav[19],$PRE.Core4.bSav[20],Core4.bSav[20],$PRE.Core4.bSav[21],Core4.bSav[21],$PRE.Core4.bSav[22],Core4.bSav[22],$PRE.Core4.bSav[23],Core4.bSav[23],$PRE.Core4.bSav[24],Core4.bSav[24],$PRE.Core4.bSav[25],Core4.bSav[25],$PRE.Core4.bSav[26],Core4.bSav[26],$PRE.Core4.bSav[27],Core4.bSav[27],$PRE.Core4.bSav[28],Core4.bSav[28],$PRE.Core4.bSav[29],Core4.bSav[29],$PRE.Core4.bSav[30],Core4.bSav[30],$PRE.Core4.bSav[31],Core4.bSav[31],$PRE.Core4.bSav[32],Core4.bSav[32],$PRE.Core4.bSav[33],Core4.bSav[33],$PRE.Core4.bSav[34],Core4.bSav[34],$PRE.Core4.bSav[35],Core4.bSav[35],$PRE.Core4.bSav[36],Core4.bSav[36],$PRE.Core4.bSav[37],Core4.bSav[37],$PRE.Core4.bSav[38],Core4.bSav[38],$PRE.Core4.bSav[39],Core4.bSav[39],$PRE.Core4.bSav[40],Core4.bSav[40],$PRE.Core4.bSav[41],Core4.bSav[41],$PRE.Core4.bSav[42],Core4.bSav[42],$PRE.Core4.bSav[43],Core4.bSav[43],$PRE.Core4.bSav[44],Core4.bSav[44],$PRE.Core4.bSav[45],Core4.bSav[45],$PRE.Core4.bSav[46],Core4.bSav[46],$PRE.Core4.bSav[47],Core4.bSav[47],$PRE.Core4.bSav[48],Core4.bSav[48],$PRE.Core4.bSav[49],Core4.bSav[49],$PRE.Core4.bSav[50],Core4.bSav[50],$PRE.Core4.bSav[51],Core4.bSav[51],$PRE.Core4.bSav[52],Core4.bSav[52],$PRE.Core4.bSav[53],Core4.bSav[53],$PRE.Core4.bSav[54],Core4.bSav[54],$PRE.Core4.bSav[55],Core4.bSav[55],$PRE.Core4.bSav[56],Core4.bSav[56],$PRE.Core4.bSav[57],Core4.bSav[57],$PRE.Core4.bSav[58],Core4.bSav[58],$PRE.Core4.bSav[59],Core4.bSav[59],$PRE.Core4.bSav[60],Core4.bSav[60],$PRE.Core4.bSav[61],Core4.bSav[61],$PRE.Core4.bSav[62],Core4.bSav[62],$PRE.Core4.bSav[63],Core4.bSav[63],$PRE.Core4.bSav[64],Core4.bSav[64],$PRE.Core4.bSav[65],Core4.bSav[65],$PRE.Core4.bSav[66],Core4.bSav[66],$PRE.Core4.bSav[67],Core4.bSav[67],$PRE.Core4.bSav[68],Core4.bSav[68],$PRE.Core4.bSav[69],Core4.bSav[69],$PRE.Core4.bSav[70],Core4.bSav[70],$PRE.Core4.bSav[71],Core4.bSav[71],$PRE.Core4.bSav[72],Core4.bSav[72],$PRE.Core4.bSav[73],Core4.bSav[73],$PRE.Core4.bSav[74],Core4.bSav[74],$PRE.Core4.bSav[75],Core4.bSav[75],$PRE.Core4.bSav[76],Core4.bSav[76],$PRE.Core4.bSav[77],Core4.bSav[77],$PRE.Core4.bSav[78],Core4.bSav[78],$PRE.Core4.bSav[79],Core4.bSav[79],$PRE.Core4.bSav[80],Core4.bSav[80],$PRE.Core4.bSav[81],Core4.bSav[81],$PRE.Core4.bSav[82],Core4.bSav[82],$PRE.Core4.bSav[83],Core4.bSav[83],$PRE.Core4.bSav[84],Core4.bSav[84],$PRE.Core4.bSav[85],Core4.bSav[85],$PRE.Core4.bSav[86],Core4.bSav[86],$PRE.Core4.bSav[87],Core4.bSav[87],$PRE.Core4.bSav[88],Core4.bSav[88],$PRE.Core4.bSav[89],Core4.bSav[89],$PRE.Core4.bSav[90],Core4.bSav[90],$PRE.Core4.bSav[91],Core4.bSav[91],$PRE.Core4.bSav[92],Core4.bSav[92],$PRE.Core4.bSav[93],Core4.bSav[93],$PRE.Core4.bSav[94],Core4.bSav[94],$PRE.Core4.bSav[95],Core4.bSav[95],$PRE.Core4.bSav[96],Core4.bSav[96],$PRE.Core4.bSav[97],Core4.bSav[97],$PRE.Core4.bSav[98],Core4.bSav[98],$PRE.Core4.bSav[99],Core4.bSav[99],$PRE.Core4.bSav[100],Core4.bSav[100],$PRE.Core4.aSav[2],Core4.aSav[2],$PRE.Core4.aSav[3],Core4.aSav[3],$PRE.Core4.aSav[4],Core4.aSav[4],$PRE.Core4.aSav[5],Core4.aSav[5],$PRE.Core4.aSav[6],Core4.aSav[6],$PRE.Core4.aSav[7],Core4.aSav[7],$PRE.Core4.aSav[8],Core4.aSav[8],$PRE.Core4.aSav[9],Core4.aSav[9],$PRE.Core4.aSav[10],Core4.aSav[10],$PRE.Core4.aSav[11],Core4.aSav[11],$PRE.Core4.aSav[12],Core4.aSav[12],$PRE.Core4.aSav[13],Core4.aSav[13],$PRE.Core4.aSav[14],Core4.aSav[14],$PRE.Core4.aSav[15],Core4.aSav[15],$PRE.Core4.aSav[16],Core4.aSav[16],$PRE.Core4.aSav[17],Core4.aSav[17],$PRE.Core4.aSav[18],Core4.aSav[18],$PRE.Core4.aSav[19],Core4.aSav[19],$PRE.Core4.aSav[20],Core4.aSav[20],$PRE.Core4.aSav[21],Core4.aSav[21],$PRE.Core4.aSav[22],Core4.aSav[22],$PRE.Core4.aSav[23],Core4.aSav[23],$PRE.Core4.aSav[24],Core4.aSav[24],$PRE.Core4.aSav[25],Core4.aSav[25],$PRE.Core4.aSav[26],Core4.aSav[26],$PRE.Core4.aSav[27],Core4.aSav[27],$PRE.Core4.aSav[28],Core4.aSav[28],$PRE.Core4.aSav[29],Core4.aSav[29],$PRE.Core4.aSav[30],Core4.aSav[30],$PRE.Core4.aSav[31],Core4.aSav[31],$PRE.Core4.aSav[32],Core4.aSav[32],$PRE.Core4.aSav[33],Core4.aSav[33],$PRE.Core4.aSav[34],Core4.aSav[34],$PRE.Core4.aSav[35],Core4.aSav[35],$PRE.Core4.aSav[36],Core4.aSav[36],$PRE.Core4.aSav[37],Core4.aSav[37],$PRE.Core4.aSav[38],Core4.aSav[38],$PRE.Core4.aSav[39],Core4.aSav[39],$PRE.Core4.aSav[40],Core4.aSav[40],$PRE.Core4.aSav[41],Core4.aSav[41],$PRE.Core4.aSav[42],Core4.aSav[42],$PRE.Core4.aSav[43],Core4.aSav[43],$PRE.Core4.aSav[44],Core4.aSav[44],$PRE.Core4.aSav[45],Core4.aSav[45],$PRE.Core4.aSav[46],Core4.aSav[46],$PRE.Core4.aSav[47],Core4.aSav[47],$PRE.Core4.aSav[48],Core4.aSav[48],$PRE.Core4.aSav[49],Core4.aSav[49],$PRE.Core4.aSav[50],Core4.aSav[50],$PRE.Core4.aSav[51],Core4.aSav[51],$PRE.Core4.aSav[52],Core4.aSav[52],$PRE.Core4.aSav[53],Core4.aSav[53],$PRE.Core4.aSav[54],Core4.aSav[54],$PRE.Core4.aSav[55],Core4.aSav[55],$PRE.Core4.aSav[56],Core4.aSav[56],$PRE.Core4.aSav[57],Core4.aSav[57],$PRE.Core4.aSav[58],Core4.aSav[58],$PRE.Core4.aSav[59],Core4.aSav[59],$PRE.Core4.aSav[60],Core4.aSav[60],$PRE.Core4.aSav[61],Core4.aSav[61],$PRE.Core4.aSav[62],Core4.aSav[62],$PRE.Core4.aSav[63],Core4.aSav[63],$PRE.Core4.aSav[64],Core4.aSav[64],$PRE.Core4.aSav[65],Core4.aSav[65],$PRE.Core4.aSav[66],Core4.aSav[66],$PRE.Core4.aSav[67],Core4.aSav[67],$PRE.Core4.aSav[68],Core4.aSav[68],$PRE.Core4.aSav[69],Core4.aSav[69],$PRE.Core4.aSav[70],Core4.aSav[70],$PRE.Core4.aSav[71],Core4.aSav[71],$PRE.Core4.aSav[72],Core4.aSav[72],$PRE.Core4.aSav[73],Core4.aSav[73],$PRE.Core4.aSav[74],Core4.aSav[74],$PRE.Core4.aSav[75],Core4.aSav[75],$PRE.Core4.aSav[76],Core4.aSav[76],$PRE.Core4.aSav[77],Core4.aSav[77],$PRE.Core4.aSav[78],Core4.aSav[78],$PRE.Core4.aSav[79],Core4.aSav[79],$PRE.Core4.aSav[80],Core4.aSav[80],$PRE.Core4.aSav[81],Core4.aSav[81],$PRE.Core4.aSav[82],Core4.aSav[82],$PRE.Core4.aSav[83],Core4.aSav[83],$PRE.Core4.aSav[84],Core4.aSav[84],$PRE.Core4.aSav[85],Core4.aSav[85],$PRE.Core4.aSav[86],Core4.aSav[86],$PRE.Core4.aSav[87],Core4.aSav[87],$PRE.Core4.aSav[88],Core4.aSav[88],$PRE.Core4.aSav[89],Core4.aSav[89],$PRE.Core4.aSav[90],Core4.aSav[90],$PRE.Core4.aSav[91],Core4.aSav[91],$PRE.Core4.aSav[92],Core4.aSav[92],$PRE.Core4.aSav[93],Core4.aSav[93],$PRE.Core4.aSav[94],Core4.aSav[94],$PRE.Core4.aSav[95],Core4.aSav[95],$PRE.Core4.aSav[96],Core4.aSav[96],$PRE.Core4.aSav[97],Core4.aSav[97],$PRE.Core4.aSav[98],Core4.aSav[98],$PRE.Core4.aSav[99],Core4.aSav[99],$PRE.Core4.aSav[100],Core4.aSav[100],Core1.asc,PM.asc,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,Core.asc,Core2.asc,Core3.asc,$PRE.Core4.hmax,Core4.hmax,$PRE.Core4.asc,Core4.asc,Core4.asc2,Core4.delAsc,Core4.delDesc,Core4.del,$PRE.Core4.init,Core4.init,Core4.evInit,Core4.evAsc,Core4.evDesc,$PRE.Core4.aSav[1],Core4.aSav[1],$PRE.Core4.bSav[1],Core4.bSav[1],$PRE.Core4.init2,Core4.init2,Core4.init3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (597): * Single equations (assignments): 596 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008084/0.6344, allocations: 1.672 MB / 0.6535 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003496/0.6379, allocations: 414.9 kB / 0.6539 GB, free: 9.613 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06787/0.7058, allocations: 17.87 MB / 0.6714 GB, free: 7.691 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.424e-05/0.706, allocations: 43.88 kB / 0.6714 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.53e-05/0.706, allocations: 7.938 kB / 0.6714 GB, free: 7.641 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.128e-05/0.7061, allocations: 19.92 kB / 0.6715 GB, free: 7.621 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.313/1.019, allocations: 23.93 MB / 0.6948 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.369e-05/1.019, allocations: 2.656 kB / 0.6948 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003048/1.022, allocations: 316.6 kB / 0.6951 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-05/1.022, allocations: 18.47 kB / 0.6951 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002441/1.025, allocations: 245.5 kB / 0.6954 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.508e-05/1.025, allocations: 14.53 kB / 0.6954 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.025, allocations: 4.969 kB / 0.6954 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05446/1.079, allocations: 21.94 MB / 0.7168 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004762/1.084, allocations: 1.272 MB / 0.7181 GB, free: 118.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004137/1.088, allocations: 1.148 MB / 0.7192 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00832/1.097, allocations: 1.374 MB / 0.7205 GB, free: 116.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006633/1.097, allocations: 256 kB / 0.7208 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001733/1.099, allocations: 364.5 kB / 0.7211 GB, free: 115.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005832/1.105, allocations: 4.201 MB / 0.7252 GB, free: 112.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.105, allocations: 0 / 0.7252 GB, free: 112.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005943/1.111, allocations: 1.012 MB / 0.7262 GB, free: 111.3 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.004158/1.115, allocations: 1.376 MB / 0.7276 GB, free: 110.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01857/1.134, allocations: 6.76 MB / 0.7342 GB, free: 103.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/1.134, allocations: 0 / 0.7342 GB, free: 103.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01361/1.147, allocations: 4.866 MB / 0.7389 GB, free: 98.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006073/1.154, allocations: 351.6 kB / 0.7392 GB, free: 98.17 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02563/1.179, allocations: 12.81 MB / 0.7518 GB, free: 85.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/1.181, allocations: 2.322 MB / 0.754 GB, free: 82.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001709/1.183, allocations: 251.3 kB / 0.7543 GB, free: 82.73 MB / 490.7 MB Notification: Performance of SimCode: time 9.91e-07/1.183, allocations: 0 / 0.7543 GB, free: 82.73 MB / 490.7 MB Notification: Performance of Templates: time 0.09749/1.28, allocations: 75.15 MB / 0.8277 GB, free: 7.445 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/HysteresisAndMagnets/HysteresisAndMagnets.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches