Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009232/0.0009232, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9306/0.9306, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2486/0.2486, allocations: 34.23 MB / 294.8 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.724e-05, allocations: 2.281 kB / 442.2 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets): time 0.1824/0.1825, allocations: 4.448 MB / 446.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003715/0.1862, allocations: 3.171 MB / 449.8 MB, free: 40.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000459/0.1866, allocations: 16.75 kB / 449.8 MB, free: 40.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001999/0.1886, allocations: 2.787 MB / 452.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.1897, allocations: 0.5741 MB / 453.1 MB, free: 39.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.1908, allocations: 0.7015 MB / 453.8 MB, free: 39.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001846/0.1926, allocations: 2.827 MB / 456.7 MB, free: 38.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.1929, allocations: 136 kB / 456.8 MB, free: 38.22 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008247/0.1937, allocations: 0.9363 MB / 457.7 MB, free: 37.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007576/0.1944, allocations: 1.234 MB / 459 MB, free: 37.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002888/0.1947, allocations: 255.8 kB / 459.2 MB, free: 37.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006449/0.1954, allocations: 460.5 kB / 459.7 MB, free: 37.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008308/0.1962, allocations: 2.249 MB / 461.9 MB, free: 36.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.1973, allocations: 1.696 MB / 463.6 MB, free: 35.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004611/0.2019, allocations: 7.378 MB / 471 MB, free: 32.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2019, allocations: 4 kB / 471 MB, free: 32.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2019, allocations: 3.938 kB / 471 MB, free: 32.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000166/0.2021, allocations: 0 / 471 MB, free: 32.97 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.01331/0.2154, allocations: 5.291 MB / 476.3 MB, free: 30.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.2154, allocations: 13.66 kB / 476.3 MB, free: 30.14 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006003/0.216, allocations: 243.5 kB / 476.6 MB, free: 30.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.2172, allocations: 491.3 kB / 477 MB, free: 29.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004777/0.222, allocations: 2.909 MB / 479.9 MB, free: 28.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005006/0.2225, allocations: 0.6325 MB / 480.6 MB, free: 27.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00167/0.2241, allocations: 316.2 kB / 480.9 MB, free: 27.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01451/0.2386, allocations: 5.997 MB / 486.9 MB, free: 26.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.708e-05/0.2387, allocations: 2.172 kB / 486.9 MB, free: 26.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003032/0.239, allocations: 76.36 kB / 487 MB, free: 26.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/0.239, allocations: 38.34 kB / 487 MB, free: 26.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01097/0.25, allocations: 5.338 MB / 492.3 MB, free: 23.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/0.262, allocations: 7.804 MB / 0.4884 GB, free: 18.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008756/0.2708, allocations: 3.847 MB / 0.4922 GB, free: 16.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00827/0.279, allocations: 3.487 MB / 0.4956 GB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.2791, allocations: 33.8 kB / 0.4956 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01118/0.2903, allocations: 6.085 MB / 0.5016 GB, free: 8.867 MB / 410.7 MB Notification: Performance of pre-optimization done (n=319): time 8.526e-06/0.2903, allocations: 3.938 kB / 0.5016 GB, free: 8.863 MB / 410.7 MB Notification: Performance of matching and sorting (n=354): time 0.06533/0.3557, allocations: 29.16 MB / 0.53 GB, free: 11.58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005818/0.3562, allocations: 477.4 kB / 0.5305 GB, free: 11.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009336/0.3656, allocations: 5.902 MB / 0.5362 GB, free: 5.168 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001024/0.3666, allocations: 253.6 kB / 0.5365 GB, free: 4.914 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.3677, allocations: 1.445 MB / 0.5379 GB, free: 3.465 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001109/0.3688, allocations: 1.023 MB / 0.5389 GB, free: 2.434 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001301/0.3701, allocations: 0.8246 MB / 0.5397 GB, free: 1.598 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.3702, allocations: 305.1 kB / 0.54 GB, free: 1.297 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001985/0.3722, allocations: 1.473 MB / 0.5414 GB, free: 15.82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002536/0.3747, allocations: 3.056 MB / 0.5444 GB, free: 12.03 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005248/0.38, allocations: 4.664 MB / 0.549 GB, free: 6.656 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.908e-05/0.38, allocations: 16 kB / 0.549 GB, free: 6.641 MB / 458.7 MB Notification: Performance of matching and sorting (n=597) (initialization): time 0.007338/0.3874, allocations: 5.053 MB / 0.5539 GB, free: 1.582 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.3874, allocations: 27.98 kB / 0.554 GB, free: 1.555 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.066e-05/0.3875, allocations: 52 kB / 0.554 GB, free: 1.504 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.824e-05/0.3875, allocations: 76.66 kB / 0.5541 GB, free: 1.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002896/0.3904, allocations: 0.8506 MB / 0.5549 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000677/0.3911, allocations: 0.7263 MB / 0.5556 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003104/0.3942, allocations: 211.9 kB / 0.5558 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003236/0.3946, allocations: 223.9 kB / 0.556 GB, free: 15.4 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.004231/0.3988, allocations: 1.686 MB / 0.5577 GB, free: 13.71 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001569/0.4004, allocations: 434.9 kB / 0.5581 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02575/0.4261, allocations: 10.68 MB / 0.5685 GB, free: 2.559 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.799e-05/0.4261, allocations: 43.98 kB / 0.5686 GB, free: 2.516 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.4261, allocations: 0 / 0.5686 GB, free: 2.516 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.641e-05/0.4262, allocations: 21.44 kB / 0.5686 GB, free: 2.496 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04438/0.4706, allocations: 17.98 MB / 0.5861 GB, free: 416 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-05/0.4706, allocations: 4 kB / 0.5861 GB, free: 412 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.4719, allocations: 311.6 kB / 0.5864 GB, free: 100 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.498e-05/0.4719, allocations: 12 kB / 0.5865 GB, free: 88 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001846/0.4738, allocations: 243.6 kB / 0.5867 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-05/0.4738, allocations: 19.94 kB / 0.5867 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.4738, allocations: 2.906 kB / 0.5867 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03739/0.5112, allocations: 17.08 MB / 0.6034 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003558/0.5148, allocations: 1.215 MB / 0.6046 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002497/0.5173, allocations: 1.139 MB / 0.6057 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00462/0.5219, allocations: 1.034 MB / 0.6067 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004024/0.5223, allocations: 262.1 kB / 0.6069 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001074/0.5234, allocations: 363.5 kB / 0.6073 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004732/0.5281, allocations: 4.198 MB / 0.6114 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5281, allocations: 4 kB / 0.6114 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005055/0.5331, allocations: 1.017 MB / 0.6124 GB, free: 5.453 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.03492/0.5681, allocations: 18.93 MB / 0.6309 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.1804/0.7484, allocations: 5.904 MB / 0.6366 GB, free: 160.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.7484, allocations: 0 / 0.6366 GB, free: 160.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008363/0.7568, allocations: 3.653 MB / 0.6402 GB, free: 160.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003997/0.7608, allocations: 361.2 kB / 0.6406 GB, free: 160 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07755/0.8383, allocations: 40.14 MB / 0.6798 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001489/0.8398, allocations: 1.762 MB / 0.6815 GB, free: 142 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001363/0.8412, allocations: 0.557 MB / 0.682 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/0.8427, allocations: 1.565 MB / 0.6835 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.172e-06/0.8427, allocations: 0 / 0.6835 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09449/0.9372, allocations: 98.13 MB / 0.7794 GB, free: 47.29 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.32, allocations: 7.938 kB / 0.7794 GB, free: 47.29 MB / 0.5261 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.52097401022911] 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.472337488085032 13.483426191 13.279009774 Calling exit ...