Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.563/2.563, allocations: 270 MB / 283.6 MB, free: 1.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.828e-05/3.84e-05, allocations: 0 / 348.5 MB, free: 2.703 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4005, allocations: 61.87 MB / 410.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.5603, allocations: 86.82 MB / 497.2 MB, free: 3.812 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.5607, allocations: 63.97 kB / 497.2 MB, free: 3.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007049/0.5677, allocations: 1.747 MB / 499 MB, free: 1.996 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.588e-06/0.5678, allocations: 4 kB / 499 MB, free: 1.992 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.5678, allocations: 7.938 kB / 499 MB, free: 1.984 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007091/0.5685, allocations: 402.2 kB / 499.4 MB, free: 1.547 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.5686, allocations: 19.97 kB / 499.4 MB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.836e-05/0.5686, allocations: 38.56 kB / 499.4 MB, free: 1.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.5687, allocations: 15.89 kB / 499.5 MB, free: 1.465 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.5688, allocations: 171 kB / 499.6 MB, free: 1.258 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.5689, allocations: 7.953 kB / 499.6 MB, free: 1.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.5689, allocations: 11.94 kB / 499.6 MB, free: 1.238 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.5692, allocations: 97.67 kB / 499.7 MB, free: 1.137 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.5692, allocations: 0 / 499.7 MB, free: 1.137 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.5693, allocations: 0 / 499.7 MB, free: 1.137 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.5693, allocations: 4 kB / 499.7 MB, free: 1.133 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.5695, allocations: 63.86 kB / 499.8 MB, free: 1.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.5706, allocations: 483.3 kB / 0.4886 GB, free: 0.543 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.5707, allocations: 66.5 kB / 0.4886 GB, free: 480 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.5709, allocations: 40.94 kB / 0.4887 GB, free: 436 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.5709, allocations: 0 / 0.4887 GB, free: 436 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.571, allocations: 34.56 kB / 0.4887 GB, free: 392 kB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.571, allocations: 0 / 0.4887 GB, free: 392 kB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003533/0.5713, allocations: 94.44 kB / 0.4888 GB, free: 288 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.5714, allocations: 55.34 kB / 0.4888 GB, free: 220 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.5715, allocations: 105 kB / 0.4889 GB, free: 108 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.5716, allocations: 29.7 kB / 0.489 GB, free: 72 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.315e-05/0.5717, allocations: 104.1 kB / 0.4891 GB, free: 15.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.5717, allocations: 27.64 kB / 0.4891 GB, free: 15.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-06/0.5717, allocations: 0 / 0.4891 GB, free: 15.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.5719, allocations: 322.8 kB / 0.4894 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.998e-05/0.5719, allocations: 15.98 kB / 0.4894 GB, free: 15.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.421e-05/0.572, allocations: 29.7 kB / 0.4894 GB, free: 15.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.07e-05/0.5721, allocations: 28.02 kB / 0.4895 GB, free: 15.53 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5721, allocations: 0 / 0.4895 GB, free: 15.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002674/0.5724, allocations: 90.48 kB / 0.4896 GB, free: 15.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.5724, allocations: 7.984 kB / 0.4896 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5725, allocations: 4.031 kB / 0.4896 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/0.5726, allocations: 20.86 kB / 0.4896 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.5729, allocations: 27.91 kB / 0.4896 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.5742, allocations: 1.304 MB / 0.4909 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.5744, allocations: 31.81 kB / 0.4909 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.5744, allocations: 4 kB / 0.4909 GB, free: 13.89 MB / 426.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 (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.5746, allocations: 105.2 kB / 0.491 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.5746, allocations: 7.984 kB / 0.491 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.053e-05/0.5747, allocations: 12.61 kB / 0.491 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.5747, allocations: 4 kB / 0.491 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.5747, allocations: 0 / 0.491 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5747, allocations: 3.938 kB / 0.491 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006647/0.5754, allocations: 388.1 kB / 0.4914 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5754, allocations: 0 / 0.4914 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.5756, allocations: 19.98 kB / 0.4914 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001107/0.5757, allocations: 29.8 kB / 0.4915 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.5757, allocations: 0 / 0.4915 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.5769, allocations: 1.3 MB / 0.4927 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.5769, allocations: 8.016 kB / 0.4927 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.5773, allocations: 202.9 kB / 0.4929 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.5773, allocations: 81.02 kB / 0.493 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.5774, allocations: 7.984 kB / 0.493 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.5776, allocations: 15.98 kB / 0.493 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.5777, allocations: 11.98 kB / 0.493 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.5777, allocations: 4 kB / 0.4931 GB, free: 11.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.473e-05/0.5778, allocations: 91.72 kB / 0.4931 GB, free: 11.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5778, allocations: 0 / 0.4931 GB, free: 11.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003712/0.5782, allocations: 31.84 kB / 0.4932 GB, free: 11.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 3 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006301/0.5788, allocations: 0.8022 MB / 0.494 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000346/0.5792, allocations: 149.7 kB / 0.4941 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5792, allocations: 4 kB / 0.4941 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.5794, allocations: 125.7 kB / 0.4942 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.5796, allocations: 12.42 kB / 0.4942 GB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005317/0.5802, allocations: 169 kB / 0.4944 GB, free: 9.992 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.5805, allocations: 0.7082 MB / 0.4951 GB, free: 9.258 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.892e-05/0.5806, allocations: 4.188 kB / 0.4951 GB, free: 9.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.5806, allocations: 19.44 kB / 0.4951 GB, free: 9.23 MB / 426.7 MB Notification: Performance of SimCode: time 9.81e-07/0.5807, allocations: 4 kB / 0.4951 GB, free: 9.227 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.6023, allocations: 1.954 MB / 0.497 GB, free: 7.371 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002964/0.6027, allocations: 179 kB / 0.4972 GB, free: 7.145 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.026, allocations: 0 / 0.4972 GB, free: 7.145 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat does not exist to compare? outputFormat=mat