Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/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.001055/0.001055, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001093/0.001093, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9469/0.9469, allocations: 177.1 MB / 204.3 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2711/0.2711, allocations: 32.79 MB / 293.5 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package 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_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.475e-05/1.686e-05, allocations: 2.281 kB / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets): time 0.1855/0.1855, allocations: 4.441 MB / 444 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004554/0.1901, allocations: 3.165 MB / 447.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006459/0.1907, allocations: 15.94 kB / 447.2 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002347/0.1931, allocations: 2.785 MB / 450 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.1944, allocations: 0.5712 MB / 450.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.1958, allocations: 0.7086 MB / 451.3 MB, free: 42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002531/0.1983, allocations: 2.818 MB / 454.1 MB, free: 41.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003139/0.1986, allocations: 142.5 kB / 454.2 MB, free: 41.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.2, allocations: 0.9351 MB / 455.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.201, allocations: 1.232 MB / 456.4 MB, free: 40.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004304/0.2014, allocations: 258.5 kB / 456.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000726/0.2022, allocations: 463.8 kB / 457.1 MB, free: 40.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008372/0.203, allocations: 2.248 MB / 459.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.204, allocations: 1.699 MB / 461.1 MB, free: 38.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006426/0.2105, allocations: 7.378 MB / 468.4 MB, free: 35.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.2105, allocations: 3.125 kB / 468.4 MB, free: 35.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.2105, allocations: 0 / 468.4 MB, free: 35.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001904/0.2107, allocations: 0 / 468.4 MB, free: 35.82 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.0111/0.2218, allocations: 5.292 MB / 473.7 MB, free: 33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/0.2218, allocations: 8.906 kB / 473.7 MB, free: 33 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001189/0.223, allocations: 242.9 kB / 474 MB, free: 32.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.2247, allocations: 496.1 kB / 474.5 MB, free: 32.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006533/0.2313, allocations: 2.916 MB / 477.4 MB, free: 31.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004436/0.2317, allocations: 0.6241 MB / 478 MB, free: 30.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001985/0.2337, allocations: 313.7 kB / 478.3 MB, free: 30.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01658/0.2503, allocations: 5.994 MB / 484.3 MB, free: 28.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.846e-05/0.2504, allocations: 1.281 kB / 484.3 MB, free: 28.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006969/0.251, allocations: 77.41 kB / 484.4 MB, free: 28.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.794e-05/0.2511, allocations: 40.94 kB / 484.4 MB, free: 28.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01323/0.2643, allocations: 5.337 MB / 489.8 MB, free: 26.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01512/0.2794, allocations: 7.816 MB / 497.6 MB, free: 21.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/0.2896, allocations: 3.842 MB / 0.4897 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008968/0.2985, allocations: 3.48 MB / 0.4931 GB, free: 17.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002101/0.2987, allocations: 41.59 kB / 0.4931 GB, free: 17.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01329/0.312, allocations: 6.077 MB / 0.499 GB, free: 13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=319): time 1.083e-05/0.312, allocations: 0 / 0.499 GB, free: 13 MB / 410.7 MB Notification: Performance of matching and sorting (n=354): time 0.06658/0.3786, allocations: 29.17 MB / 0.5275 GB, free: 15.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003458/0.379, allocations: 473.5 kB / 0.528 GB, free: 15.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006702/0.3857, allocations: 5.898 MB / 0.5337 GB, free: 9.301 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007143/0.3864, allocations: 245.6 kB / 0.534 GB, free: 9.055 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009484/0.3873, allocations: 1.464 MB / 0.5354 GB, free: 7.586 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007374/0.3881, allocations: 1.02 MB / 0.5364 GB, free: 6.559 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/0.3891, allocations: 0.8206 MB / 0.5372 GB, free: 5.727 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.847e-05/0.3892, allocations: 301.1 kB / 0.5375 GB, free: 5.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002114/0.3913, allocations: 1.481 MB / 0.5389 GB, free: 3.941 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002624/0.3939, allocations: 3.052 MB / 0.5419 GB, free: 164 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005021/0.399, allocations: 4.674 MB / 0.5465 GB, free: 10.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.122e-05/0.399, allocations: 16 kB / 0.5465 GB, free: 10.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=597) (initialization): time 0.006637/0.4056, allocations: 5.049 MB / 0.5514 GB, free: 5.703 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.4057, allocations: 28 kB / 0.5514 GB, free: 5.676 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.365e-05/0.4057, allocations: 52 kB / 0.5515 GB, free: 5.625 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.619e-05/0.4058, allocations: 76 kB / 0.5516 GB, free: 5.551 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/0.4076, allocations: 0.8461 MB / 0.5524 GB, free: 4.703 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003551/0.408, allocations: 0.7332 MB / 0.5531 GB, free: 3.949 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.4095, allocations: 217.3 kB / 0.5533 GB, free: 3.738 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/0.4097, allocations: 216 kB / 0.5535 GB, free: 3.527 MB / 458.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.003178/0.4129, allocations: 1.684 MB / 0.5552 GB, free: 1.836 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007046/0.4136, allocations: 433.2 kB / 0.5556 GB, free: 1.41 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01758/0.4311, allocations: 10.68 MB / 0.566 GB, free: 6.676 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-05/0.4312, allocations: 40 kB / 0.5661 GB, free: 6.637 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.4312, allocations: 4.438 kB / 0.5661 GB, free: 6.637 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.409e-05/0.4312, allocations: 27.86 kB / 0.5661 GB, free: 6.609 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03088/0.4621, allocations: 17.97 MB / 0.5836 GB, free: 4.527 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/0.4621, allocations: 4 kB / 0.5836 GB, free: 4.523 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.4631, allocations: 315.5 kB / 0.5839 GB, free: 4.215 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.292e-05/0.4632, allocations: 12 kB / 0.584 GB, free: 4.203 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005169/0.4637, allocations: 239.5 kB / 0.5842 GB, free: 3.969 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-05/0.4637, allocations: 23.98 kB / 0.5842 GB, free: 3.945 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.4637, allocations: 3.938 kB / 0.5842 GB, free: 3.941 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02854/0.4922, allocations: 17.07 MB / 0.6009 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002517/0.4948, allocations: 1.211 MB / 0.6021 GB, free: 1.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00164/0.4964, allocations: 1.151 MB / 0.6032 GB, free: 432 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003498/0.4999, allocations: 1.034 MB / 0.6042 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003478/0.5002, allocations: 262.1 kB / 0.6044 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004493/0.5007, allocations: 365.5 kB / 0.6048 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004277/0.505, allocations: 4.194 MB / 0.6089 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.1e-07/0.505, allocations: 3.938 kB / 0.6089 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003183/0.5082, allocations: 1.019 MB / 0.6099 GB, free: 9.574 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.02947/0.5376, allocations: 18.95 MB / 0.6284 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.012/0.5496, allocations: 5.901 MB / 0.6342 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.5496, allocations: 0 / 0.6342 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.1897/0.7393, allocations: 3.66 MB / 0.6377 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.7416, allocations: 351.6 kB / 0.6381 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0495/0.7911, allocations: 40.14 MB / 0.6773 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001762/0.7929, allocations: 1.764 MB / 0.679 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001336/0.7942, allocations: 0.5474 MB / 0.6795 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/0.7956, allocations: 1.57 MB / 0.6811 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.102e-06/0.7956, allocations: 0 / 0.6811 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08727/0.8829, allocations: 98.17 MB / 0.7769 GB, free: 53.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.39, allocations: 11.98 kB / 0.7769 GB, free: 53.79 MB / 0.5261 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_HysteresisAndMagnets.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.634378790855408] 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.544570206664503 13.550959351 13.338940742 Calling exit ...