Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001493/0.001493, allocations: 122.6 kB / 18.5 MB, free: 4.578 MB / 14.72 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.001818/0.001818, allocations: 206.6 kB / 21.45 MB, free: 1.629 MB / 14.72 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 1.5/1.5, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2285/0.2285, allocations: 46.92 MB / 357.7 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 83.86 kB / 0.4917 GB, free: 7.832 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1343, allocations: 66.04 MB / 0.5562 GB, free: 5.664 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets): time 0.006955/0.1413, allocations: 4.962 MB / 0.561 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006347/0.1476, allocations: 3.347 MB / 0.5643 GB, free: 13.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008785/0.1485, allocations: 11.94 kB / 0.5643 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003961/0.1525, allocations: 2.791 MB / 0.567 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.1545, allocations: 0.5552 MB / 0.5675 GB, free: 9.945 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.1563, allocations: 0.6504 MB / 0.5682 GB, free: 9.297 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004359/0.1607, allocations: 2.794 MB / 0.5709 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004475/0.1612, allocations: 145.2 kB / 0.571 GB, free: 6.336 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.1627, allocations: 0.6991 MB / 0.5717 GB, free: 5.637 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.1646, allocations: 1.476 MB / 0.5732 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004958/0.1651, allocations: 256 kB / 0.5734 GB, free: 3.902 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.1661, allocations: 463.8 kB / 0.5739 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001981/0.1681, allocations: 2.224 MB / 0.576 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002539/0.1706, allocations: 2.427 MB / 0.5784 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007306/0.178, allocations: 6.899 MB / 0.5851 GB, free: 7.863 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.178, allocations: 4 kB / 0.5851 GB, free: 7.859 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.178, allocations: 0 / 0.5851 GB, free: 7.859 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.461e-05/0.1781, allocations: 0 / 0.5851 GB, free: 7.859 MB / 446.1 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.01143/0.1895, allocations: 5.267 MB / 0.5903 GB, free: 2.492 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.1895, allocations: 16.02 kB / 0.5903 GB, free: 2.477 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005739/0.1901, allocations: 243.9 kB / 0.5905 GB, free: 2.227 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.1916, allocations: 494.1 kB / 0.591 GB, free: 1.742 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2444/0.436, allocations: 2.968 MB / 0.5939 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004315/0.4364, allocations: 374.8 kB / 0.5943 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00173/0.4382, allocations: 315.7 kB / 0.5946 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02089/0.4591, allocations: 5.993 MB / 0.6004 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.464e-05/0.4591, allocations: 2.125 kB / 0.6004 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006993/0.4598, allocations: 77.61 kB / 0.6005 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.552e-05/0.4599, allocations: 37.59 kB / 0.6005 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01942/0.4793, allocations: 5.452 MB / 0.6058 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01633/0.4956, allocations: 9.109 MB / 0.6147 GB, free: 21.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01454/0.5102, allocations: 3.829 MB / 0.6185 GB, free: 19.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01406/0.5242, allocations: 3.46 MB / 0.6219 GB, free: 17.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.5244, allocations: 48.55 kB / 0.6219 GB, free: 17.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01741/0.5418, allocations: 6.095 MB / 0.6279 GB, free: 13.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=319): time 7.434e-06/0.5418, allocations: 0 / 0.6279 GB, free: 13.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=354): time 0.1509/0.6927, allocations: 38.04 MB / 0.665 GB, free: 7.129 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007453/0.6934, allocations: 477 kB / 0.6655 GB, free: 6.625 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01275/0.7062, allocations: 5.893 MB / 0.6712 GB, free: 0.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000912/0.7071, allocations: 245.6 kB / 0.6715 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001824/0.7089, allocations: 1.474 MB / 0.6729 GB, free: 15.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001438/0.7104, allocations: 1.025 MB / 0.6739 GB, free: 14.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001339/0.7117, allocations: 0.8208 MB / 0.6747 GB, free: 13.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.7118, allocations: 301.1 kB / 0.675 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003148/0.715, allocations: 1.473 MB / 0.6764 GB, free: 11.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004788/0.7198, allocations: 3.043 MB / 0.6794 GB, free: 7.852 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008495/0.7283, allocations: 4.663 MB / 0.6839 GB, free: 2.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-05/0.7283, allocations: 16 kB / 0.684 GB, free: 2.465 MB / 494.1 MB Notification: Performance of matching and sorting (n=597) (initialization): time 0.01158/0.7399, allocations: 5.042 MB / 0.6889 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.106e-05/0.74, allocations: 31.92 kB / 0.6889 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.23e-05/0.7401, allocations: 52 kB / 0.689 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001185/0.7402, allocations: 77.22 kB / 0.689 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004182/0.7444, allocations: 0.8503 MB / 0.6899 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006596/0.745, allocations: 0.7262 MB / 0.6906 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003248/0.7483, allocations: 206 kB / 0.6908 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000558/0.7488, allocations: 219.9 kB / 0.691 GB, free: 11.24 MB / 0.4981 GB 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],PM.asc,Core1.asc,Core4.init3,Core4.init2,$PRE.Core4.init2,Core4.bSav[1],$PRE.Core4.bSav[1],Core4.aSav[1],$PRE.Core4.aSav[1],Core4.evDesc,Core4.evAsc,Core4.evInit,Core4.init,$PRE.Core4.init,Core4.del,Core4.delDesc,Core4.delAsc,Core4.asc2,Core4.asc,$PRE.Core4.asc,Core4.hmax,$PRE.Core4.hmax,Core3.asc,Core2.asc,Core.asc,$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.003703/0.7525, allocations: 1.684 MB / 0.6926 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001546/0.7541, allocations: 437.2 kB / 0.693 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04386/0.7979, allocations: 16.53 MB / 0.7092 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.695e-05/0.798, allocations: 43.98 kB / 0.7092 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.798, allocations: 0 / 0.7092 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.693e-05/0.7981, allocations: 19.94 kB / 0.7092 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06528/0.8633, allocations: 21.88 MB / 0.7306 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.158e-05/0.8634, allocations: 0 / 0.7306 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002047/0.8654, allocations: 314.6 kB / 0.7309 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.151e-05/0.8654, allocations: 16 kB / 0.7309 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001374/0.8668, allocations: 243.5 kB / 0.7312 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.039e-05/0.8668, allocations: 15.94 kB / 0.7312 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.8668, allocations: 8 kB / 0.7312 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05917/0.926, allocations: 19.95 MB / 0.7507 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003764/0.9298, allocations: 1.288 MB / 0.7519 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003089/0.9328, allocations: 1.139 MB / 0.753 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008012/0.9409, allocations: 1.037 MB / 0.754 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007266/0.9416, allocations: 246.2 kB / 0.7543 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001432/0.943, allocations: 367.5 kB / 0.7546 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006852/0.9499, allocations: 4.202 MB / 0.7587 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9499, allocations: 0 / 0.7587 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005566/0.9554, allocations: 1.008 MB / 0.7597 GB, free: 4.668 MB / 0.5606 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 (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.06423/1.02, allocations: 21.78 MB / 0.781 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02195/1.042, allocations: 5.932 MB / 0.7868 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/1.042, allocations: 384 / 0.7868 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01578/1.057, allocations: 3.668 MB / 0.7904 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003285/1.061, allocations: 366 kB / 0.7907 GB, free: 5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09181/1.153, allocations: 40.42 MB / 0.8302 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002504/1.155, allocations: 2.318 MB / 0.8324 GB, free: 8.074 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002062/1.157, allocations: 0.549 MB / 0.833 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00366/1.161, allocations: 1.534 MB / 0.8345 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of SimCode: time 1.052e-06/1.161, allocations: 0 / 0.8345 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4241/1.585, allocations: 92.42 MB / 0.9247 GB, free: 163.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.88/24.46, allocations: 3.938 kB / 0.9247 GB, free: 163.7 MB / 0.6387 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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-beta_om_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.67652946198359] 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'] 24.669088879134506 24.691658294 24.509559946 Calling exit ...