Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.633/2.633, allocations: 270 MB / 282.6 MB, free: 1.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.554e-05/3.577e-05, allocations: 4 kB / 347.1 MB, free: 3.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4148, allocations: 61.87 MB / 408.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1892/0.6041, allocations: 90.07 MB / 499 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.6044, allocations: 87.88 kB / 499.1 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0314/0.6358, allocations: 6.781 MB / 0.494 GB, free: 9.734 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6359, allocations: 0 / 0.494 GB, free: 9.734 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.6359, allocations: 8 kB / 0.494 GB, free: 9.727 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.001288/0.6372, allocations: 0.5187 MB / 0.4945 GB, free: 9.164 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.6373, allocations: 8.031 kB / 0.4945 GB, free: 9.156 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.6374, allocations: 70.47 kB / 0.4946 GB, free: 9.078 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.314e-05/0.6375, allocations: 35.62 kB / 0.4946 GB, free: 9.043 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006149/0.6381, allocations: 275 kB / 0.4949 GB, free: 8.734 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.6382, allocations: 24.48 kB / 0.4949 GB, free: 8.711 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.025e-05/0.6383, allocations: 27.95 kB / 0.4949 GB, free: 8.684 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006691/0.6389, allocations: 219.8 kB / 0.4951 GB, free: 8.465 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.639, allocations: 3.938 kB / 0.4951 GB, free: 8.461 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/0.639, allocations: 12 kB / 0.4952 GB, free: 8.449 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.639, allocations: 8 kB / 0.4952 GB, free: 8.441 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000614/0.6397, allocations: 193.1 kB / 0.4954 GB, free: 8.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.6419, allocations: 0.8832 MB / 0.4962 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.6432, allocations: 317.8 kB / 0.4965 GB, free: 6.984 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.6436, allocations: 124.9 kB / 0.4966 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.545e-05/0.6436, allocations: 7.984 kB / 0.4966 GB, free: 6.852 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.6437, allocations: 42.5 kB / 0.4967 GB, free: 6.801 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 3.496e-06/0.6437, allocations: 0 / 0.4967 GB, free: 6.801 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.002973/0.6467, allocations: 496.8 kB / 0.4972 GB, free: 6.297 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.289e-05/0.6468, allocations: 71.27 kB / 0.4972 GB, free: 6.215 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.6471, allocations: 184.9 kB / 0.4974 GB, free: 6.027 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/0.6472, allocations: 33.7 kB / 0.4974 GB, free: 5.988 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.6473, allocations: 215.4 kB / 0.4976 GB, free: 5.777 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.6475, allocations: 106.4 kB / 0.4977 GB, free: 5.672 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.6475, allocations: 4 kB / 0.4977 GB, free: 5.668 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6477, allocations: 334.8 kB / 0.4981 GB, free: 5.332 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.6479, allocations: 75.86 kB / 0.4981 GB, free: 5.258 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.6482, allocations: 106.2 kB / 0.4982 GB, free: 5.145 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.6485, allocations: 93.31 kB / 0.4983 GB, free: 5.055 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6486, allocations: 3.938 kB / 0.4983 GB, free: 5.051 MB / 426.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002913/0.6515, allocations: 0.4948 MB / 0.4988 GB, free: 4.539 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.6515, allocations: 8 kB / 0.4988 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.6516, allocations: 0 / 0.4988 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002849/0.6544, allocations: 315.2 kB / 0.4991 GB, free: 4.211 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.6548, allocations: 27.98 kB / 0.4991 GB, free: 4.184 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01125/0.6661, allocations: 6.372 MB / 0.5054 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/0.6666, allocations: 23.78 kB / 0.5054 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.6667, allocations: 12 kB / 0.5054 GB, free: 13.24 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.0002173/0.6669, allocations: 121 kB / 0.5055 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.452e-05/0.667, allocations: 35.56 kB / 0.5056 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003039/0.67, allocations: 0.5114 MB / 0.5061 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.6701, allocations: 0 / 0.5061 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.6701, allocations: 4 kB / 0.5061 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.6701, allocations: 11.92 kB / 0.5061 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008269/0.671, allocations: 345.3 kB / 0.5064 GB, free: 12.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.671, allocations: 3.984 kB / 0.5064 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.6713, allocations: 19.98 kB / 0.5064 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002748/0.674, allocations: 315.1 kB / 0.5067 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.857e-05/0.6741, allocations: 8 kB / 0.5067 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/0.6855, allocations: 6.296 MB / 0.5129 GB, free: 4.965 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6856, allocations: 384 / 0.5129 GB, free: 4.965 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002962/0.6885, allocations: 0.589 MB / 0.5135 GB, free: 4.348 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.6888, allocations: 104.8 kB / 0.5136 GB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.106e-05/0.6888, allocations: 4 kB / 0.5136 GB, free: 4.223 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003559/0.6892, allocations: 19.98 kB / 0.5136 GB, free: 4.203 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.6894, allocations: 31.95 kB / 0.5136 GB, free: 4.172 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.6894, allocations: 11.94 kB / 0.5136 GB, free: 4.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002417/0.6897, allocations: 157.4 kB / 0.5138 GB, free: 4.012 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6897, allocations: 3.938 kB / 0.5138 GB, free: 4.008 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007968/0.6905, allocations: 127.8 kB / 0.5139 GB, free: 3.883 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.003476/0.694, allocations: 1.145 MB / 0.515 GB, free: 2.699 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.6956, allocations: 0.6668 MB / 0.5157 GB, free: 1.992 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6956, allocations: 0 / 0.5157 GB, free: 1.992 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.6971, allocations: 0.6243 MB / 0.5163 GB, free: 1.328 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.6975, allocations: 24.36 kB / 0.5163 GB, free: 1.305 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.699, allocations: 444.5 kB / 0.5167 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.6995, allocations: 0.7756 MB / 0.5175 GB, free: 20 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.6997, allocations: 75.48 kB / 0.5175 GB, free: 15.94 MB / 458.7 MB Notification: Performance of SimCode: time 1.673e-06/0.6997, allocations: 0 / 0.5175 GB, free: 15.94 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.863/3.562, allocations: 8.87 MB / 0.5262 GB, free: 7.066 MB / 458.7 MB