Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sources,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.564/2.564, allocations: 270 MB / 282.6 MB, free: 1.93 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.621e-05/3.629e-05, allocations: 0 / 347.1 MB, free: 3.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3941, allocations: 61.86 MB / 408.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1612/0.5554, allocations: 89.34 MB / 498.3 MB, free: 1.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.5557, allocations: 67.97 kB / 498.3 MB, free: 1.184 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03209/0.5878, allocations: 7.205 MB / 0.4937 GB, free: 9.941 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5879, allocations: 0 / 0.4937 GB, free: 9.941 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.5879, allocations: 8 kB / 0.4937 GB, free: 9.934 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001461/0.5894, allocations: 0.588 MB / 0.4943 GB, free: 9.301 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.5894, allocations: 8.031 kB / 0.4943 GB, free: 9.293 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.5896, allocations: 70.53 kB / 0.4943 GB, free: 9.215 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.5897, allocations: 39.53 kB / 0.4944 GB, free: 9.176 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004871/0.5902, allocations: 272.3 kB / 0.4946 GB, free: 8.863 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.5902, allocations: 28.77 kB / 0.4947 GB, free: 8.836 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.97e-05/0.5903, allocations: 35.95 kB / 0.4947 GB, free: 8.801 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007834/0.5911, allocations: 318.3 kB / 0.495 GB, free: 8.469 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.5911, allocations: 4 kB / 0.495 GB, free: 8.465 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-05/0.5912, allocations: 12 kB / 0.495 GB, free: 8.453 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.5912, allocations: 8 kB / 0.495 GB, free: 8.445 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006141/0.5919, allocations: 208.7 kB / 0.4952 GB, free: 8.242 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002816/0.5947, allocations: 1.294 MB / 0.4965 GB, free: 6.863 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005108/0.5952, allocations: 170.5 kB / 0.4967 GB, free: 6.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.5954, allocations: 55.62 kB / 0.4967 GB, free: 6.594 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.487e-05/0.5954, allocations: 12.02 kB / 0.4967 GB, free: 6.582 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.5955, allocations: 30.73 kB / 0.4967 GB, free: 6.543 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 4.969e-06/0.5955, allocations: 4 kB / 0.4968 GB, free: 6.539 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005088/0.596, allocations: 153.1 kB / 0.4969 GB, free: 6.383 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.729e-05/0.5961, allocations: 128.5 kB / 0.497 GB, free: 6.227 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004707/0.5966, allocations: 286.7 kB / 0.4973 GB, free: 5.941 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.5966, allocations: 25.7 kB / 0.4973 GB, free: 5.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.5969, allocations: 289.8 kB / 0.4976 GB, free: 5.625 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.355e-05/0.5969, allocations: 51.27 kB / 0.4976 GB, free: 5.574 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/0.597, allocations: 4 kB / 0.4976 GB, free: 5.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5971, allocations: 326.9 kB / 0.498 GB, free: 5.242 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.5973, allocations: 52.56 kB / 0.498 GB, free: 5.188 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.5976, allocations: 135.9 kB / 0.4981 GB, free: 5.016 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.5978, allocations: 79.89 kB / 0.4982 GB, free: 4.938 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.5979, allocations: 0 / 0.4982 GB, free: 4.938 MB / 426.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006142/0.5985, allocations: 229.3 kB / 0.4984 GB, free: 4.707 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.5985, allocations: 7.984 kB / 0.4984 GB, free: 4.699 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.5985, allocations: 4 kB / 0.4984 GB, free: 4.695 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.5986, allocations: 7.953 kB / 0.4985 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.5992, allocations: 80.14 kB / 0.4985 GB, free: 4.609 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.5993, allocations: 8.156 kB / 0.4985 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004949/0.5998, allocations: 55.7 kB / 0.4986 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.5998, allocations: 15.98 kB / 0.4986 GB, free: 4.531 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.5999, allocations: 120.2 kB / 0.4987 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.6001, allocations: 31.7 kB / 0.4988 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.911e-05/0.6002, allocations: 34.41 kB / 0.4988 GB, free: 4.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.6002, allocations: 8 kB / 0.4988 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.6002, allocations: 3.953 kB / 0.4988 GB, free: 4.328 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.6002, allocations: 0 / 0.4988 GB, free: 4.328 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.6013, allocations: 0.5874 MB / 0.4994 GB, free: 3.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.6014, allocations: 8.109 kB / 0.4994 GB, free: 3.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.6018, allocations: 47.91 kB / 0.4994 GB, free: 3.613 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.6018, allocations: 4 kB / 0.4994 GB, free: 3.609 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.6018, allocations: 4 kB / 0.4994 GB, free: 3.605 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.6018, allocations: 0 / 0.4994 GB, free: 3.605 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.6019, allocations: 4 kB / 0.4994 GB, free: 3.602 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004918/0.6024, allocations: 421.1 kB / 0.4998 GB, free: 3.121 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.6025, allocations: 112.7 kB / 0.4999 GB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.6026, allocations: 4 kB / 0.4999 GB, free: 2.988 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.603, allocations: 27.91 kB / 0.5 GB, free: 2.961 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.603, allocations: 15.98 kB / 0.5 GB, free: 2.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.6031, allocations: 8 kB / 0.5 GB, free: 2.938 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003389/0.6034, allocations: 222.2 kB / 0.5002 GB, free: 2.723 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6034, allocations: 0 / 0.5002 GB, free: 2.723 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005735/0.604, allocations: 75.75 kB / 0.5003 GB, free: 2.648 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009642/0.605, allocations: 1.376 MB / 0.5016 GB, free: 1.211 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004427/0.6055, allocations: 127.9 kB / 0.5017 GB, free: 1.086 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6055, allocations: 0 / 0.5017 GB, free: 1.086 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.6057, allocations: 56.48 kB / 0.5018 GB, free: 1.031 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.6061, allocations: 21.47 kB / 0.5018 GB, free: 1.012 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.6075, allocations: 447.3 kB / 0.5022 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.6079, allocations: 0.7832 MB / 0.503 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.6082, allocations: 107.4 kB / 0.5031 GB, free: 15.6 MB / 442.7 MB Notification: Performance of SimCode: time 9.02e-07/0.6082, allocations: 0 / 0.5031 GB, free: 15.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.591/3.199, allocations: 4.498 MB / 0.5075 GB, free: 11.11 MB / 442.7 MB