Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008866/0.0008866, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9379/0.9379, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2889/0.2889, allocations: 34.25 MB / 294.9 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.982e-05, allocations: 6.281 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets): time 0.1757/0.1757, allocations: 4.446 MB / 446.6 MB, free: 42.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00381/0.1795, allocations: 3.164 MB / 449.8 MB, free: 40.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004764/0.18, allocations: 13.75 kB / 449.8 MB, free: 40.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002148/0.1822, allocations: 2.789 MB / 452.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.1833, allocations: 0.5798 MB / 453.2 MB, free: 39.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.1844, allocations: 0.6994 MB / 453.9 MB, free: 39.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001881/0.1863, allocations: 2.829 MB / 456.7 MB, free: 38.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002348/0.1865, allocations: 138.9 kB / 456.8 MB, free: 38.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007544/0.1873, allocations: 0.9372 MB / 457.8 MB, free: 37.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000785/0.188, allocations: 1.231 MB / 459 MB, free: 37.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002271/0.1883, allocations: 251.8 kB / 459.2 MB, free: 37.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005999/0.1889, allocations: 462.1 kB / 459.7 MB, free: 37.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008371/0.1897, allocations: 2.249 MB / 461.9 MB, free: 36.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008856/0.1906, allocations: 1.696 MB / 463.6 MB, free: 35.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004008/0.1946, allocations: 7.383 MB / 471 MB, free: 33.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1946, allocations: 4 kB / 471 MB, free: 33.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1946, allocations: 3.062 kB / 471 MB, free: 33.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001159/0.1947, allocations: 0 / 471 MB, free: 33.05 MB / 410.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.007961/0.2027, allocations: 5.29 MB / 476.3 MB, free: 30.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.2027, allocations: 15.12 kB / 476.3 MB, free: 30.23 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004234/0.2032, allocations: 242.2 kB / 476.6 MB, free: 30.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.2042, allocations: 493.6 kB / 477.1 MB, free: 29.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004454/0.2087, allocations: 2.911 MB / 480 MB, free: 28.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003326/0.209, allocations: 0.6285 MB / 480.6 MB, free: 27.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009747/0.21, allocations: 316.3 kB / 480.9 MB, free: 27.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01354/0.2235, allocations: 5.992 MB / 486.9 MB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.838e-05/0.2236, allocations: 3.359 kB / 486.9 MB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003225/0.2239, allocations: 76.64 kB / 487 MB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.258e-05/0.2239, allocations: 37.66 kB / 487 MB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.2344, allocations: 5.345 MB / 492.4 MB, free: 23.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0126/0.247, allocations: 7.8 MB / 0.4884 GB, free: 18.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008705/0.2557, allocations: 3.844 MB / 0.4922 GB, free: 16.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008176/0.2638, allocations: 3.488 MB / 0.4956 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.264, allocations: 39.17 kB / 0.4956 GB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01124/0.2752, allocations: 6.083 MB / 0.5016 GB, free: 8.996 MB / 410.7 MB Notification: Performance of pre-optimization done (n=319): time 8.747e-06/0.2752, allocations: 2.344 kB / 0.5016 GB, free: 8.996 MB / 410.7 MB Notification: Performance of matching and sorting (n=354): time 0.06154/0.3368, allocations: 29.16 MB / 0.5301 GB, free: 11.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000283/0.337, allocations: 469.5 kB / 0.5305 GB, free: 11.19 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006016/0.3431, allocations: 5.906 MB / 0.5363 GB, free: 5.301 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009933/0.3441, allocations: 249.6 kB / 0.5365 GB, free: 5.051 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.3453, allocations: 1.453 MB / 0.5379 GB, free: 3.594 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001469/0.3468, allocations: 1.027 MB / 0.5389 GB, free: 2.559 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009791/0.3478, allocations: 0.8207 MB / 0.5397 GB, free: 1.727 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.852e-05/0.3479, allocations: 301.1 kB / 0.54 GB, free: 1.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002616/0.3505, allocations: 1.477 MB / 0.5415 GB, free: 15.95 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002882/0.3534, allocations: 3.056 MB / 0.5444 GB, free: 12.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006026/0.3594, allocations: 4.663 MB / 0.549 GB, free: 6.785 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.663e-05/0.3594, allocations: 16 kB / 0.549 GB, free: 6.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=597) (initialization): time 0.007817/0.3673, allocations: 5.053 MB / 0.5539 GB, free: 1.715 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.246e-05/0.3673, allocations: 24 kB / 0.554 GB, free: 1.691 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.308e-05/0.3674, allocations: 52 kB / 0.554 GB, free: 1.641 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.825e-05/0.3675, allocations: 76.66 kB / 0.5541 GB, free: 1.566 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/0.3695, allocations: 0.8491 MB / 0.5549 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000475/0.37, allocations: 0.7341 MB / 0.5556 GB, free: 15.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/0.3723, allocations: 211.9 kB / 0.5558 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/0.3725, allocations: 219.9 kB / 0.556 GB, free: 15.54 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 (Core4.bI,$PRE.Core4.bI,Core4.aSavI,$PRE.Core4.aSavI,Core4.bSavI,$PRE.Core4.bSavI,Core4.hmaxI,$PRE.Core4.hmaxI,Core4.bSav[2],$PRE.Core4.bSav[2],Core4.bSav[3],$PRE.Core4.bSav[3],Core4.bSav[4],$PRE.Core4.bSav[4],Core4.bSav[5],$PRE.Core4.bSav[5],Core4.bSav[6],$PRE.Core4.bSav[6],Core4.bSav[7],$PRE.Core4.bSav[7],Core4.bSav[8],$PRE.Core4.bSav[8],Core4.bSav[9],$PRE.Core4.bSav[9],Core4.bSav[10],$PRE.Core4.bSav[10],Core4.bSav[11],$PRE.Core4.bSav[11],Core4.bSav[12],$PRE.Core4.bSav[12],Core4.bSav[13],$PRE.Core4.bSav[13],Core4.bSav[14],$PRE.Core4.bSav[14],Core4.bSav[15],$PRE.Core4.bSav[15],Core4.bSav[16],$PRE.Core4.bSav[16],Core4.bSav[17],$PRE.Core4.bSav[17],Core4.bSav[18],$PRE.Core4.bSav[18],Core4.bSav[19],$PRE.Core4.bSav[19],Core4.bSav[20],$PRE.Core4.bSav[20],Core4.bSav[21],$PRE.Core4.bSav[21],Core4.bSav[22],$PRE.Core4.bSav[22],Core4.bSav[23],$PRE.Core4.bSav[23],Core4.bSav[24],$PRE.Core4.bSav[24],Core4.bSav[25],$PRE.Core4.bSav[25],Core4.bSav[26],$PRE.Core4.bSav[26],Core4.bSav[27],$PRE.Core4.bSav[27],Core4.bSav[28],$PRE.Core4.bSav[28],Core4.bSav[29],$PRE.Core4.bSav[29],Core4.bSav[30],$PRE.Core4.bSav[30],Core4.bSav[31],$PRE.Core4.bSav[31],Core4.bSav[32],$PRE.Core4.bSav[32],Core4.bSav[33],$PRE.Core4.bSav[33],Core4.bSav[34],$PRE.Core4.bSav[34],Core4.bSav[35],$PRE.Core4.bSav[35],Core4.bSav[36],$PRE.Core4.bSav[36],Core4.bSav[37],$PRE.Core4.bSav[37],Core4.bSav[38],$PRE.Core4.bSav[38],Core4.bSav[39],$PRE.Core4.bSav[39],Core4.bSav[40],$PRE.Core4.bSav[40],Core4.bSav[41],$PRE.Core4.bSav[41],Core4.bSav[42],$PRE.Core4.bSav[42],Core4.bSav[43],$PRE.Core4.bSav[43],Core4.bSav[44],$PRE.Core4.bSav[44],Core4.bSav[45],$PRE.Core4.bSav[45],Core4.bSav[46],$PRE.Core4.bSav[46],Core4.bSav[47],$PRE.Core4.bSav[47],Core4.bSav[48],$PRE.Core4.bSav[48],Core4.bSav[49],$PRE.Core4.bSav[49],Core4.bSav[50],$PRE.Core4.bSav[50],Core4.bSav[51],$PRE.Core4.bSav[51],Core4.bSav[52],$PRE.Core4.bSav[52],Core4.bSav[53],$PRE.Core4.bSav[53],Core4.bSav[54],$PRE.Core4.bSav[54],Core4.bSav[55],$PRE.Core4.bSav[55],Core4.bSav[56],$PRE.Core4.bSav[56],Core4.bSav[57],$PRE.Core4.bSav[57],Core4.bSav[58],$PRE.Core4.bSav[58],Core4.bSav[59],$PRE.Core4.bSav[59],Core4.bSav[60],$PRE.Core4.bSav[60],Core4.bSav[61],$PRE.Core4.bSav[61],Core4.bSav[62],$PRE.Core4.bSav[62],Core4.bSav[63],$PRE.Core4.bSav[63],Core4.bSav[64],$PRE.Core4.bSav[64],Core4.bSav[65],$PRE.Core4.bSav[65],Core4.bSav[66],$PRE.Core4.bSav[66],Core4.bSav[67],$PRE.Core4.bSav[67],Core4.bSav[68],$PRE.Core4.bSav[68],Core4.bSav[69],$PRE.Core4.bSav[69],Core4.bSav[70],$PRE.Core4.bSav[70],Core4.bSav[71],$PRE.Core4.bSav[71],Core4.bSav[72],$PRE.Core4.bSav[72],Core4.bSav[73],$PRE.Core4.bSav[73],Core4.bSav[74],$PRE.Core4.bSav[74],Core4.bSav[75],$PRE.Core4.bSav[75],Core4.bSav[76],$PRE.Core4.bSav[76],Core4.bSav[77],$PRE.Core4.bSav[77],Core4.bSav[78],$PRE.Core4.bSav[78],Core4.bSav[79],$PRE.Core4.bSav[79],Core4.bSav[80],$PRE.Core4.bSav[80],Core4.bSav[81],$PRE.Core4.bSav[81],Core4.bSav[82],$PRE.Core4.bSav[82],Core4.bSav[83],$PRE.Core4.bSav[83],Core4.bSav[84],$PRE.Core4.bSav[84],Core4.bSav[85],$PRE.Core4.bSav[85],Core4.bSav[86],$PRE.Core4.bSav[86],Core4.bSav[87],$PRE.Core4.bSav[87],Core4.bSav[88],$PRE.Core4.bSav[88],Core4.bSav[89],$PRE.Core4.bSav[89],Core4.bSav[90],$PRE.Core4.bSav[90],Core4.bSav[91],$PRE.Core4.bSav[91],Core4.bSav[92],$PRE.Core4.bSav[92],Core4.bSav[93],$PRE.Core4.bSav[93],Core4.bSav[94],$PRE.Core4.bSav[94],Core4.bSav[95],$PRE.Core4.bSav[95],Core4.bSav[96],$PRE.Core4.bSav[96],Core4.bSav[97],$PRE.Core4.bSav[97],Core4.bSav[98],$PRE.Core4.bSav[98],Core4.bSav[99],$PRE.Core4.bSav[99],Core4.bSav[100],$PRE.Core4.bSav[100],Core4.aSav[2],$PRE.Core4.aSav[2],Core4.aSav[3],$PRE.Core4.aSav[3],Core4.aSav[4],$PRE.Core4.aSav[4],Core4.aSav[5],$PRE.Core4.aSav[5],Core4.aSav[6],$PRE.Core4.aSav[6],Core4.aSav[7],$PRE.Core4.aSav[7],Core4.aSav[8],$PRE.Core4.aSav[8],Core4.aSav[9],$PRE.Core4.aSav[9],Core4.aSav[10],$PRE.Core4.aSav[10],Core4.aSav[11],$PRE.Core4.aSav[11],Core4.aSav[12],$PRE.Core4.aSav[12],Core4.aSav[13],$PRE.Core4.aSav[13],Core4.aSav[14],$PRE.Core4.aSav[14],Core4.aSav[15],$PRE.Core4.aSav[15],Core4.aSav[16],$PRE.Core4.aSav[16],Core4.aSav[17],$PRE.Core4.aSav[17],Core4.aSav[18],$PRE.Core4.aSav[18],Core4.aSav[19],$PRE.Core4.aSav[19],Core4.aSav[20],$PRE.Core4.aSav[20],Core4.aSav[21],$PRE.Core4.aSav[21],Core4.aSav[22],$PRE.Core4.aSav[22],Core4.aSav[23],$PRE.Core4.aSav[23],Core4.aSav[24],$PRE.Core4.aSav[24],Core4.aSav[25],$PRE.Core4.aSav[25],Core4.aSav[26],$PRE.Core4.aSav[26],Core4.aSav[27],$PRE.Core4.aSav[27],Core4.aSav[28],$PRE.Core4.aSav[28],Core4.aSav[29],$PRE.Core4.aSav[29],Core4.aSav[30],$PRE.Core4.aSav[30],Core4.aSav[31],$PRE.Core4.aSav[31],Core4.aSav[32],$PRE.Core4.aSav[32],Core4.aSav[33],$PRE.Core4.aSav[33],Core4.aSav[34],$PRE.Core4.aSav[34],Core4.aSav[35],$PRE.Core4.aSav[35],Core4.aSav[36],$PRE.Core4.aSav[36],Core4.aSav[37],$PRE.Core4.aSav[37],Core4.aSav[38],$PRE.Core4.aSav[38],Core4.aSav[39],$PRE.Core4.aSav[39],Core4.aSav[40],$PRE.Core4.aSav[40],Core4.aSav[41],$PRE.Core4.aSav[41],Core4.aSav[42],$PRE.Core4.aSav[42],Core4.aSav[43],$PRE.Core4.aSav[43],Core4.aSav[44],$PRE.Core4.aSav[44],Core4.aSav[45],$PRE.Core4.aSav[45],Core4.aSav[46],$PRE.Core4.aSav[46],Core4.aSav[47],$PRE.Core4.aSav[47],Core4.aSav[48],$PRE.Core4.aSav[48],Core4.aSav[49],$PRE.Core4.aSav[49],Core4.aSav[50],$PRE.Core4.aSav[50],Core4.aSav[51],$PRE.Core4.aSav[51],Core4.aSav[52],$PRE.Core4.aSav[52],Core4.aSav[53],$PRE.Core4.aSav[53],Core4.aSav[54],$PRE.Core4.aSav[54],Core4.aSav[55],$PRE.Core4.aSav[55],Core4.aSav[56],$PRE.Core4.aSav[56],Core4.aSav[57],$PRE.Core4.aSav[57],Core4.aSav[58],$PRE.Core4.aSav[58],Core4.aSav[59],$PRE.Core4.aSav[59],Core4.aSav[60],$PRE.Core4.aSav[60],Core4.aSav[61],$PRE.Core4.aSav[61],Core4.aSav[62],$PRE.Core4.aSav[62],Core4.aSav[63],$PRE.Core4.aSav[63],Core4.aSav[64],$PRE.Core4.aSav[64],Core4.aSav[65],$PRE.Core4.aSav[65],Core4.aSav[66],$PRE.Core4.aSav[66],Core4.aSav[67],$PRE.Core4.aSav[67],Core4.aSav[68],$PRE.Core4.aSav[68],Core4.aSav[69],$PRE.Core4.aSav[69],Core4.aSav[70],$PRE.Core4.aSav[70],Core4.aSav[71],$PRE.Core4.aSav[71],Core4.aSav[72],$PRE.Core4.aSav[72],Core4.aSav[73],$PRE.Core4.aSav[73],Core4.aSav[74],$PRE.Core4.aSav[74],Core4.aSav[75],$PRE.Core4.aSav[75],Core4.aSav[76],$PRE.Core4.aSav[76],Core4.aSav[77],$PRE.Core4.aSav[77],Core4.aSav[78],$PRE.Core4.aSav[78],Core4.aSav[79],$PRE.Core4.aSav[79],Core4.aSav[80],$PRE.Core4.aSav[80],Core4.aSav[81],$PRE.Core4.aSav[81],Core4.aSav[82],$PRE.Core4.aSav[82],Core4.aSav[83],$PRE.Core4.aSav[83],Core4.aSav[84],$PRE.Core4.aSav[84],Core4.aSav[85],$PRE.Core4.aSav[85],Core4.aSav[86],$PRE.Core4.aSav[86],Core4.aSav[87],$PRE.Core4.aSav[87],Core4.aSav[88],$PRE.Core4.aSav[88],Core4.aSav[89],$PRE.Core4.aSav[89],Core4.aSav[90],$PRE.Core4.aSav[90],Core4.aSav[91],$PRE.Core4.aSav[91],Core4.aSav[92],$PRE.Core4.aSav[92],Core4.aSav[93],$PRE.Core4.aSav[93],Core4.aSav[94],$PRE.Core4.aSav[94],Core4.aSav[95],$PRE.Core4.aSav[95],Core4.aSav[96],$PRE.Core4.aSav[96],Core4.aSav[97],$PRE.Core4.aSav[97],Core4.aSav[98],$PRE.Core4.aSav[98],Core4.aSav[99],$PRE.Core4.aSav[99],Core4.aSav[100],$PRE.Core4.aSav[100],Core1.asc,PM.asc,Core.asc,Core2.asc,Core3.asc,Core4.hmax,$PRE.Core4.hmax,Core4.asc,$PRE.Core4.asc,Core4.asc2,Core4.delAsc,Core4.delDesc,Core4.del,Core4.init,$PRE.Core4.init,Core4.evInit,Core4.evAsc,Core4.evDesc,Core4.aSav[1],$PRE.Core4.aSav[1],Core4.bSav[1],$PRE.Core4.bSav[1],Core4.init2,$PRE.Core4.init2,Core4.init3,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00346/0.3759, allocations: 1.68 MB / 0.5577 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/0.3771, allocations: 437.2 kB / 0.5581 GB, free: 13.42 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02271/0.3998, allocations: 10.68 MB / 0.5685 GB, free: 2.691 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.682e-05/0.3999, allocations: 40 kB / 0.5686 GB, free: 2.652 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.955e-05/0.3999, allocations: 6.656 kB / 0.5686 GB, free: 2.648 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.005e-05/0.4, allocations: 23.88 kB / 0.5686 GB, free: 2.625 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04852/0.4485, allocations: 17.97 MB / 0.5862 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/0.4485, allocations: 4 kB / 0.5862 GB, free: 0.543 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/0.4498, allocations: 315.5 kB / 0.5865 GB, free: 240 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-05/0.4498, allocations: 12 kB / 0.5865 GB, free: 228 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002001/0.4518, allocations: 247.5 kB / 0.5867 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.842e-05/0.4519, allocations: 16 kB / 0.5867 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.4519, allocations: 3.938 kB / 0.5867 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03917/0.4911, allocations: 17.08 MB / 0.6034 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004764/0.4958, allocations: 1.211 MB / 0.6046 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00299/0.4988, allocations: 1.143 MB / 0.6057 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004809/0.5036, allocations: 1.033 MB / 0.6067 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004459/0.5041, allocations: 262.1 kB / 0.607 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008719/0.5049, allocations: 369.3 kB / 0.6073 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005108/0.51, allocations: 4.206 MB / 0.6114 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.51, allocations: 3.938 kB / 0.6114 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005236/0.5153, allocations: 1.012 MB / 0.6124 GB, free: 5.586 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,PM.B,Core1.B,Core4.x,Core4.v,Core4.beta,Core4.B,Core3.B,Core2.B,Core.B) * Number of discrete variables: 229 (PM.asc,Core1.asc,Core4.init3,Core4.evDesc,Core4.evAsc,Core4.del,Core4.evInit,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,Core4.hmaxI,Core4.bI,Core4.bSavI,Core4.aSavI,Core4.init2,Core4.bSav[100],Core4.bSav[99],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],Core4.bSav[1],Core4.aSav[100],Core4.aSav[99],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.aSav[1],Core4.init,Core4.delDesc,Core4.delAsc,Core4.asc2,Core4.asc,Core4.hmax,Core3.asc,Core2.asc,Core.asc) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03871/0.554, allocations: 18.94 MB / 0.6309 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2073/0.7613, allocations: 5.901 MB / 0.6367 GB, free: 161 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/0.7613, allocations: 0 / 0.6367 GB, free: 161 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009054/0.7703, allocations: 3.657 MB / 0.6402 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004079/0.7744, allocations: 357.1 kB / 0.6406 GB, free: 160.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07597/0.8504, allocations: 40.14 MB / 0.6798 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002206/0.8526, allocations: 1.769 MB / 0.6815 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002026/0.8546, allocations: 0.5462 MB / 0.682 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002331/0.857, allocations: 1.573 MB / 0.6836 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of SimCode: time 2.585e-06/0.857, allocations: 0 / 0.6836 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1052/0.9622, allocations: 98.16 MB / 0.7794 GB, free: 47.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/13.08, allocations: 14.89 kB / 0.7795 GB, free: 47.56 MB / 0.5261 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.324291423894465] Failed to read output from testmodel.py, exit status != 0: ['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'] 13.232459081336856 13.242227224 13.044195009 Calling exit ...