Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.594/2.594, allocations: 270 MB / 283.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.907e-05/3.905e-05, allocations: 0 / 348.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4726/0.4727, allocations: 61.87 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.6451, allocations: 90.07 MB / 0.4887 GB, free: 428 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/0.6455, allocations: 83.89 kB / 0.4888 GB, free: 344 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0325/0.678, allocations: 6.778 MB / 0.4954 GB, free: 9.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6781, allocations: 0 / 0.4954 GB, free: 9.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.6781, allocations: 4 kB / 0.4954 GB, free: 9.516 MB / 426.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.001374/0.6795, allocations: 0.5303 MB / 0.4959 GB, free: 8.941 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.6796, allocations: 8.031 kB / 0.4959 GB, free: 8.934 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/0.6797, allocations: 62.55 kB / 0.496 GB, free: 8.863 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.6798, allocations: 35.61 kB / 0.496 GB, free: 8.828 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006808/0.6805, allocations: 275 kB / 0.4963 GB, free: 8.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.6806, allocations: 16.56 kB / 0.4963 GB, free: 8.504 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/0.6806, allocations: 27.95 kB / 0.4963 GB, free: 8.477 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006637/0.6813, allocations: 223.8 kB / 0.4965 GB, free: 8.254 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.6813, allocations: 0 / 0.4965 GB, free: 8.254 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.6814, allocations: 12 kB / 0.4966 GB, free: 8.242 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.6814, allocations: 8 kB / 0.4966 GB, free: 8.234 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006264/0.6821, allocations: 197.1 kB / 0.4968 GB, free: 8.039 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.6845, allocations: 0.8871 MB / 0.4976 GB, free: 7.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.6858, allocations: 318.9 kB / 0.4979 GB, free: 6.766 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003701/0.6862, allocations: 128.9 kB / 0.498 GB, free: 6.637 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.311e-05/0.6863, allocations: 4 kB / 0.4981 GB, free: 6.633 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.6863, allocations: 38.56 kB / 0.4981 GB, free: 6.586 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 3.397e-06/0.6863, allocations: 0 / 0.4981 GB, free: 6.586 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.003115/0.6895, allocations: 0.4929 MB / 0.4986 GB, free: 6.074 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.6896, allocations: 63.34 kB / 0.4986 GB, free: 6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.6899, allocations: 184.9 kB / 0.4988 GB, free: 5.812 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.565e-05/0.69, allocations: 33.7 kB / 0.4988 GB, free: 5.773 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.6902, allocations: 157 kB / 0.499 GB, free: 5.617 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.6903, allocations: 110.4 kB / 0.4991 GB, free: 5.508 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.6904, allocations: 4 kB / 0.4991 GB, free: 5.504 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.6905, allocations: 338.8 kB / 0.4994 GB, free: 5.164 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.6908, allocations: 83.86 kB / 0.4995 GB, free: 5.082 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.6911, allocations: 102.2 kB / 0.4996 GB, free: 4.973 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.6914, allocations: 93.31 kB / 0.4997 GB, free: 4.883 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.6914, allocations: 0 / 0.4997 GB, free: 4.883 MB / 426.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003031/0.6945, allocations: 0.5063 MB / 0.5002 GB, free: 4.359 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.6946, allocations: 8 kB / 0.5002 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.6946, allocations: 0 / 0.5002 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002917/0.6975, allocations: 315.1 kB / 0.5005 GB, free: 4.031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.6979, allocations: 27.97 kB / 0.5005 GB, free: 4.004 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/0.7098, allocations: 6.372 MB / 0.5067 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004408/0.7102, allocations: 35.77 kB / 0.5068 GB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.7103, allocations: 8 kB / 0.5068 GB, free: 13.05 MB / 442.7 MB 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.000153/0.7105, allocations: 117 kB / 0.5069 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.973e-05/0.7106, allocations: 27.67 kB / 0.5069 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003015/0.7136, allocations: 0.519 MB / 0.5074 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.7137, allocations: 7.984 kB / 0.5074 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7137, allocations: 4 kB / 0.5074 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.7137, allocations: 7.984 kB / 0.5074 GB, free: 12.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000742/0.7145, allocations: 349.3 kB / 0.5078 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.7145, allocations: 0 / 0.5078 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.7148, allocations: 23.97 kB / 0.5078 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002748/0.7175, allocations: 319 kB / 0.5081 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/0.7177, allocations: 8 kB / 0.5081 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01122/0.7289, allocations: 6.281 MB / 0.5142 GB, free: 4.785 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.7289, allocations: 4.031 kB / 0.5142 GB, free: 4.781 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003064/0.732, allocations: 0.5967 MB / 0.5148 GB, free: 4.156 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.7322, allocations: 104.8 kB / 0.5149 GB, free: 4.035 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.837e-05/0.7323, allocations: 4 kB / 0.5149 GB, free: 4.031 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003541/0.7327, allocations: 15.98 kB / 0.515 GB, free: 4.016 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.7329, allocations: 27.95 kB / 0.515 GB, free: 3.988 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/0.7329, allocations: 12 kB / 0.515 GB, free: 3.977 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002547/0.7332, allocations: 153.4 kB / 0.5151 GB, free: 3.832 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7332, allocations: 0 / 0.5151 GB, free: 3.832 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008379/0.7341, allocations: 131.8 kB / 0.5153 GB, free: 3.703 MB / 442.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.003424/0.7375, allocations: 1.143 MB / 0.5164 GB, free: 2.523 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001534/0.7391, allocations: 0.6745 MB / 0.517 GB, free: 1.809 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7391, allocations: 3.938 kB / 0.517 GB, free: 1.805 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001462/0.7406, allocations: 0.6243 MB / 0.5176 GB, free: 1.141 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.7411, allocations: 27.47 kB / 0.5177 GB, free: 1.117 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.7426, allocations: 406.9 kB / 0.5181 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/0.7432, allocations: 0.7794 MB / 0.5188 GB, free: 15.87 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.7433, allocations: 14.08 kB / 0.5188 GB, free: 15.86 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.7435, allocations: 79.34 kB / 0.5189 GB, free: 15.78 MB / 458.7 MB Notification: Performance of SimCode: time 1.412e-06/0.7435, allocations: 0 / 0.5189 GB, free: 15.78 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04757/0.7911, allocations: 10.27 MB / 0.5289 GB, free: 5.633 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002903/0.7915, allocations: 177.7 kB / 0.5291 GB, free: 5.414 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.128/3.919, allocations: 0 / 0.5291 GB, free: 5.414 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat