Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 177.1 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009738/0.0009738, allocations: 91 kB / 292.1 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4272/0.4272, allocations: 44.21 MB / 387.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.000332, allocations: 8 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4114, allocations: 61.9 MB / 0.5096 GB, free: 38.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1693/0.5808, allocations: 114.9 MB / 0.6219 GB, free: 12.13 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.5812, allocations: 99.91 kB / 0.622 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5165/1.098, allocations: 65.64 MB / 0.6861 GB, free: 112.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.717e-06/1.098, allocations: 5.781 kB / 0.6861 GB, free: 112.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005483/1.098, allocations: 56.59 kB / 0.6862 GB, free: 112.1 MB / 490.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.01752/1.116, allocations: 4.21 MB / 0.6903 GB, free: 110.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/1.116, allocations: 8.406 kB / 0.6903 GB, free: 110.2 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001628/1.118, allocations: 243.4 kB / 0.6905 GB, free: 110.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002767/1.12, allocations: 460.1 kB / 0.6909 GB, free: 110 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007792/1.128, allocations: 2.991 MB / 0.6939 GB, free: 109.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004744/1.129, allocations: 380.1 kB / 0.6942 GB, free: 109.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002013/1.131, allocations: 314.1 kB / 0.6945 GB, free: 109.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01953/1.15, allocations: 6.641 MB / 0.701 GB, free: 108.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-05/1.15, allocations: 6.625 kB / 0.701 GB, free: 108.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001129/1.152, allocations: 81 kB / 0.7011 GB, free: 108.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.851e-05/1.152, allocations: 36.88 kB / 0.7011 GB, free: 108.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02037/1.172, allocations: 6.098 MB / 0.7071 GB, free: 107.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0275/1.2, allocations: 9.462 MB / 0.7163 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01606/1.216, allocations: 4.809 MB / 0.721 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002653/1.216, allocations: 37.45 kB / 0.7211 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01915/1.235, allocations: 6.758 MB / 0.7277 GB, free: 99.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=319): time 1.262e-05/1.235, allocations: 0 / 0.7277 GB, free: 99.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=354): time 0.1187/1.354, allocations: 41.15 MB / 0.7678 GB, free: 76.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004476/1.354, allocations: 464 kB / 0.7683 GB, free: 75.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01368/1.368, allocations: 5.271 MB / 0.7734 GB, free: 71.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007849/1.369, allocations: 249.3 kB / 0.7737 GB, free: 71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002285/1.371, allocations: 1.388 MB / 0.775 GB, free: 69.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00159/1.373, allocations: 0.9851 MB / 0.776 GB, free: 68.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004855/1.373, allocations: 96 kB / 0.7761 GB, free: 68.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003699/1.374, allocations: 492.1 kB / 0.7765 GB, free: 68.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003431/1.377, allocations: 1.473 MB / 0.778 GB, free: 66.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003956/1.381, allocations: 2.992 MB / 0.7809 GB, free: 63.06 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003631/1.385, allocations: 1.881 MB / 0.7827 GB, free: 61.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-05/1.385, allocations: 16 kB / 0.7828 GB, free: 61.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=591) (initialization): time 0.009919/1.395, allocations: 4.989 MB / 0.7876 GB, free: 56.17 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.332e-05/1.395, allocations: 29.52 kB / 0.7877 GB, free: 56.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.193e-05/1.395, allocations: 52 kB / 0.7877 GB, free: 56.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001035/1.395, allocations: 80 kB / 0.7878 GB, free: 56.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003926/1.399, allocations: 0.8528 MB / 0.7886 GB, free: 55.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004828/1.4, allocations: 0.7378 MB / 0.7893 GB, free: 54.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004051/1.404, allocations: 224 kB / 0.7896 GB, free: 54.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006658/1.404, allocations: 227.4 kB / 0.7898 GB, free: 53.96 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.004672/1.409, allocations: 1.678 MB / 0.7914 GB, free: 52.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002701/1.412, allocations: 426.9 kB / 0.7918 GB, free: 51.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03951/1.451, allocations: 17.87 MB / 0.8093 GB, free: 33.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-05/1.451, allocations: 44 kB / 0.8093 GB, free: 33.89 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.183e-05/1.451, allocations: 0 / 0.8093 GB, free: 33.89 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.569e-05/1.452, allocations: 23.92 kB / 0.8093 GB, free: 33.87 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09268/1.544, allocations: 24.52 MB / 0.8333 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-05/1.544, allocations: 3.562 kB / 0.8333 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002612/1.547, allocations: 319.6 kB / 0.8336 GB, free: 8.996 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.06e-05/1.547, allocations: 16 kB / 0.8336 GB, free: 8.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002407/1.549, allocations: 247.5 kB / 0.8338 GB, free: 8.738 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.444e-05/1.55, allocations: 23.88 kB / 0.8339 GB, free: 8.715 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.55, allocations: 0 / 0.8339 GB, free: 8.715 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05584/1.605, allocations: 22.12 MB / 0.8555 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006967/1.612, allocations: 1.452 MB / 0.8569 GB, free: 1.004 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004172/1.617, allocations: 1.151 MB / 0.858 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008178/1.625, allocations: 1.381 MB / 0.8593 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009338/1.626, allocations: 262 kB / 0.8596 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001843/1.628, allocations: 287.5 kB / 0.8599 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01038/1.638, allocations: 4.052 MB / 0.8638 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.71e-07/1.638, allocations: 0 / 0.8638 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007756/1.646, allocations: 1.14 MB / 0.8649 GB, free: 8.754 MB / 0.5105 GB 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.3749/2.021, allocations: 24.4 MB / 0.8888 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02093/2.042, allocations: 6.742 MB / 0.8954 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/2.042, allocations: 1.062 kB / 0.8954 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01714/2.059, allocations: 4.873 MB / 0.9001 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004695/2.064, allocations: 287.6 kB / 0.9004 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.101/2.165, allocations: 73.06 MB / 0.9717 GB, free: 75.29 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003238/2.168, allocations: 2.377 MB / 0.9741 GB, free: 74.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002815/2.171, allocations: 0.6591 MB / 0.9747 GB, free: 74.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00316/2.174, allocations: 1.561 MB / 0.9762 GB, free: 72.99 MB / 0.5105 GB Notification: Performance of SimCode: time 1.142e-06/2.174, allocations: 0 / 0.9762 GB, free: 72.99 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.149/2.323, allocations: 97.43 MB / 1.071 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/2.323, allocations: 267.4 kB / 1.072 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.739/9.062, allocations: 0 / 1.072 GB, free: 2.059 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets_res.mat does not exist to compare? outputFormat=mat