Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.743/2.743, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.924e-05/2.923e-05, allocations: 4 kB / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3801, allocations: 54.85 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1669/0.5471, allocations: 82.56 MB / 437 MB, free: 12.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/0.5475, allocations: 71.97 kB / 437.1 MB, free: 12.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03367/0.5812, allocations: 6.486 MB / 443.5 MB, free: 5.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.849e-06/0.5812, allocations: 4 kB / 443.6 MB, free: 5.926 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.5813, allocations: 4 kB / 443.6 MB, free: 5.922 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00138/0.5827, allocations: 0.5342 MB / 444.1 MB, free: 5.344 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.5827, allocations: 8.031 kB / 444.1 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.5828, allocations: 39.52 kB / 444.1 MB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007104/0.5836, allocations: 283 kB / 444.4 MB, free: 4.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.5836, allocations: 8 kB / 444.4 MB, free: 4.973 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.642e-05/0.5837, allocations: 12 kB / 444.4 MB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006767/0.5844, allocations: 185.1 kB / 444.6 MB, free: 4.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006259/0.585, allocations: 195.7 kB / 444.8 MB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.585, allocations: 0 / 444.8 MB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.5851, allocations: 0 / 444.8 MB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.5851, allocations: 7.953 kB / 444.8 MB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.5876, allocations: 0.828 MB / 445.6 MB, free: 3.695 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.5893, allocations: 311 kB / 445.9 MB, free: 3.379 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004397/0.5897, allocations: 120.8 kB / 446.1 MB, free: 3.258 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.673e-05/0.5898, allocations: 8 kB / 446.1 MB, free: 3.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.383e-05/0.5899, allocations: 38.5 kB / 446.1 MB, free: 3.203 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 6.131e-06/0.5899, allocations: 0 / 446.1 MB, free: 3.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.004291/0.5942, allocations: 472.8 kB / 446.6 MB, free: 2.723 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.5943, allocations: 55.41 kB / 446.6 MB, free: 2.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.5947, allocations: 176.2 kB / 446.8 MB, free: 2.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.5948, allocations: 29.7 kB / 446.8 MB, free: 2.445 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.595, allocations: 164.3 kB / 447 MB, free: 2.277 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.5951, allocations: 98.47 kB / 447.1 MB, free: 2.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.5951, allocations: 0 / 447.1 MB, free: 2.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.5954, allocations: 334.8 kB / 447.4 MB, free: 1.844 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.5956, allocations: 75.94 kB / 447.5 MB, free: 1.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.5959, allocations: 100.4 kB / 447.6 MB, free: 1.664 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.5963, allocations: 85.38 kB / 447.7 MB, free: 1.582 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5963, allocations: 0 / 447.7 MB, free: 1.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003313/0.5996, allocations: 0.4945 MB / 448.2 MB, free: 1.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.5997, allocations: 4 kB / 448.2 MB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.5997, allocations: 0 / 448.2 MB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003234/0.603, allocations: 307.2 kB / 448.5 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003573/0.6034, allocations: 35.97 kB / 448.5 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.6147, allocations: 6.102 MB / 454.6 MB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/0.6153, allocations: 24.52 kB / 454.6 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.6153, allocations: 8 kB / 454.6 MB, free: 10.12 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hollowCylinderRadialFlux.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hollowCylinderAxialFlux.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cuboid.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: genericFluxTube.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002759/0.6156, allocations: 120.9 kB / 454.8 MB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003104/0.6187, allocations: 476.5 kB / 455.2 MB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.6189, allocations: 27.72 kB / 455.2 MB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003135/0.622, allocations: 0.4922 MB / 455.7 MB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.6221, allocations: 4 kB / 455.7 MB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6221, allocations: 0 / 455.7 MB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.6221, allocations: 0 / 455.7 MB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007079/0.6228, allocations: 321.7 kB / 456.1 MB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.6229, allocations: 0 / 456.1 MB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.6231, allocations: 19.98 kB / 456.1 MB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002989/0.6261, allocations: 311.3 kB / 456.4 MB, free: 8.281 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/0.6262, allocations: 0 / 456.4 MB, free: 8.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01118/0.6374, allocations: 6.046 MB / 462.4 MB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.6374, allocations: 80 / 462.4 MB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003701/0.6412, allocations: 0.5687 MB / 463 MB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.6414, allocations: 104.7 kB / 463.1 MB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-05/0.6415, allocations: 4 kB / 463.1 MB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.642, allocations: 11.98 kB / 463.1 MB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/0.6423, allocations: 31.95 kB / 463.1 MB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.996e-05/0.6424, allocations: 8 kB / 463.1 MB, free: 1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003028/0.6427, allocations: 148.5 kB / 463.3 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6427, allocations: 0 / 463.3 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001212/0.6439, allocations: 107.8 kB / 463.4 MB, free: 0.7539 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,2 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.3456/0.9895, allocations: 1.107 MB / 464.5 MB, free: 100.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001788/0.9914, allocations: 0.6755 MB / 465.2 MB, free: 100 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.9914, allocations: 0.9375 kB / 465.2 MB, free: 100 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001564/0.993, allocations: 0.62 MB / 465.8 MB, free: 99.61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.9934, allocations: 11.94 kB / 465.8 MB, free: 99.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.9951, allocations: 387 kB / 466.2 MB, free: 99.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.9955, allocations: 0.7763 MB / 467 MB, free: 98.74 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.9957, allocations: 8.125 kB / 467 MB, free: 98.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.9959, allocations: 77.56 kB / 467.1 MB, free: 98.73 MB / 394.7 MB Notification: Performance of SimCode: time 1.272e-06/0.9959, allocations: 0 / 467.1 MB, free: 98.73 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06015/1.056, allocations: 9.426 MB / 476.5 MB, free: 96.67 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002966/1.056, allocations: 138.4 kB / 476.6 MB, free: 96.47 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.357/4.414, allocations: 0 / 476.6 MB, free: 96.47 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat