Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.551/2.551, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.154e-05/3.155e-05, allocations: 4 kB / 299.5 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3709, allocations: 54.85 MB / 354.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1579/0.5289, allocations: 82.56 MB / 436.9 MB, free: 15.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003796/0.5293, allocations: 75.95 kB / 437 MB, free: 15.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03689/0.5662, allocations: 6.482 MB / 443.5 MB, free: 9.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5663, allocations: 0 / 443.5 MB, free: 9.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.172e-05/0.5663, allocations: 8 kB / 443.5 MB, free: 9.152 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.001554/0.5679, allocations: 0.5297 MB / 444 MB, free: 8.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.238e-05/0.568, allocations: 8.031 kB / 444 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.5681, allocations: 39.52 kB / 444 MB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007995/0.5689, allocations: 279 kB / 444.3 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.569, allocations: 8 kB / 444.3 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.85e-05/0.5691, allocations: 16 kB / 444.3 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008391/0.5699, allocations: 189.1 kB / 444.5 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007417/0.5707, allocations: 191.7 kB / 444.7 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.5707, allocations: 4 kB / 444.7 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.546e-05/0.5708, allocations: 0 / 444.7 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.5708, allocations: 7.953 kB / 444.7 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002999/0.5738, allocations: 0.8257 MB / 445.5 MB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.5755, allocations: 312.6 kB / 445.8 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004776/0.576, allocations: 124.8 kB / 446 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.061e-05/0.5762, allocations: 11.97 kB / 446 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/0.5762, allocations: 30.56 kB / 446 MB, free: 6.434 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 4.669e-06/0.5762, allocations: 0 / 446 MB, free: 6.434 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.004217/0.5805, allocations: 476.8 kB / 446.5 MB, free: 5.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.5806, allocations: 59.39 kB / 446.5 MB, free: 5.879 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004122/0.581, allocations: 180.2 kB / 446.7 MB, free: 5.699 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.5811, allocations: 25.7 kB / 446.7 MB, free: 5.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.5813, allocations: 164.3 kB / 446.9 MB, free: 5.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.5815, allocations: 98.47 kB / 447 MB, free: 5.402 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.5815, allocations: 0 / 447 MB, free: 5.402 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.5817, allocations: 338.8 kB / 447.3 MB, free: 5.062 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.582, allocations: 68 kB / 447.4 MB, free: 4.996 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/0.5824, allocations: 101.9 kB / 447.5 MB, free: 4.887 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.5828, allocations: 85.38 kB / 447.6 MB, free: 4.805 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5828, allocations: 0 / 447.6 MB, free: 4.805 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003749/0.5866, allocations: 498.4 kB / 448.1 MB, free: 4.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.5867, allocations: 4 kB / 448.1 MB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.5867, allocations: 0 / 448.1 MB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003698/0.5904, allocations: 311.1 kB / 448.4 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.5908, allocations: 31.98 kB / 448.4 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01352/0.6044, allocations: 6.106 MB / 454.5 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000579/0.605, allocations: 24.52 kB / 454.5 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.814e-05/0.6051, allocations: 8 kB / 454.5 MB, free: 13.34 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.0002905/0.6054, allocations: 121 kB / 454.7 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003799/0.6092, allocations: 472.5 kB / 455.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.6094, allocations: 23.72 kB / 455.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0034/0.6128, allocations: 0.4923 MB / 455.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.6129, allocations: 7.938 kB / 455.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.6129, allocations: 192 / 455.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.613, allocations: 7.984 kB / 455.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007218/0.6137, allocations: 313.7 kB / 456 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.6137, allocations: 4 kB / 456 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.614, allocations: 19.98 kB / 456 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002639/0.6166, allocations: 303.2 kB / 456.3 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.114e-05/0.6167, allocations: 0 / 456.3 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01017/0.6269, allocations: 6.046 MB / 462.3 MB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.627, allocations: 0 / 462.3 MB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002785/0.6298, allocations: 0.5688 MB / 462.9 MB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.6299, allocations: 112.6 kB / 463 MB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.888e-05/0.63, allocations: 3.984 kB / 463 MB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/0.6304, allocations: 12 kB / 463 MB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.6306, allocations: 31.89 kB / 463 MB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.6306, allocations: 8 kB / 463.1 MB, free: 4.227 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001937/0.6308, allocations: 148.5 kB / 463.2 MB, free: 4.086 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6308, allocations: 0 / 463.2 MB, free: 4.086 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007956/0.6316, allocations: 107.8 kB / 463.3 MB, free: 3.98 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.00316/0.6348, allocations: 1.106 MB / 464.4 MB, free: 2.836 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001603/0.6365, allocations: 0.694 MB / 465.1 MB, free: 2.102 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.6365, allocations: 0 / 465.1 MB, free: 2.102 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001353/0.6379, allocations: 0.6042 MB / 465.7 MB, free: 1.457 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.6383, allocations: 20.36 kB / 465.7 MB, free: 1.438 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.6397, allocations: 380.1 kB / 466.1 MB, free: 1.027 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005011/0.6403, allocations: 0.7756 MB / 466.9 MB, free: 228 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.6404, allocations: 14.06 kB / 466.9 MB, free: 216 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.6406, allocations: 75.41 kB / 467 MB, free: 140 kB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6406, allocations: 4 kB / 467 MB, free: 136 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05642/0.697, allocations: 9.414 MB / 476.4 MB, free: 6.754 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003673/0.6975, allocations: 129.9 kB / 476.5 MB, free: 6.562 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.961/3.659, allocations: 0 / 476.5 MB, free: 6.562 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat