Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.499/2.499, allocations: 270 MB / 282.6 MB, free: 1.824 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.651e-05/3.657e-05, allocations: 4 kB / 347.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4758/0.4759, allocations: 61.87 MB / 408.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.6368, allocations: 88.8 MB / 497.7 MB, free: 1.812 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.6371, allocations: 67.97 kB / 497.8 MB, free: 1.746 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01304/0.6502, allocations: 2.915 MB / 0.489 GB, free: 14.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6502, allocations: 3.938 kB / 0.489 GB, free: 14.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.6502, allocations: 0 / 0.489 GB, free: 14.81 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007681/0.651, allocations: 419.2 kB / 0.4894 GB, free: 14.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.6511, allocations: 8.031 kB / 0.4894 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.138e-05/0.6512, allocations: 46.55 kB / 0.4894 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.6512, allocations: 19.81 kB / 0.4895 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.6515, allocations: 203 kB / 0.4897 GB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.6515, allocations: 8.281 kB / 0.4897 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.6516, allocations: 15.95 kB / 0.4897 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.6519, allocations: 131.5 kB / 0.4898 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.652, allocations: 0 / 0.4898 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.652, allocations: 4 kB / 0.4898 GB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.652, allocations: 8 kB / 0.4898 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/0.6523, allocations: 76.56 kB / 0.4899 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.6535, allocations: 0.5651 MB / 0.4904 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.6538, allocations: 54.61 kB / 0.4905 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.639e-05/0.6539, allocations: 16.98 kB / 0.4905 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.6539, allocations: 0 / 0.4905 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.654, allocations: 34.59 kB / 0.4905 GB, free: 13.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.054e-06/0.654, allocations: 0 / 0.4905 GB, free: 13.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002366/0.6542, allocations: 61.55 kB / 0.4906 GB, free: 12.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.6543, allocations: 63.41 kB / 0.4907 GB, free: 12.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.6545, allocations: 127.2 kB / 0.4908 GB, free: 12.76 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.6545, allocations: 25.7 kB / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.6546, allocations: 205.8 kB / 0.491 GB, free: 12.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.6547, allocations: 23.66 kB / 0.491 GB, free: 12.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.6547, allocations: 0 / 0.491 GB, free: 12.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.6548, allocations: 322.8 kB / 0.4913 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.474e-05/0.6549, allocations: 16 kB / 0.4913 GB, free: 12.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.202e-05/0.655, allocations: 52.23 kB / 0.4914 GB, free: 12.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.888e-05/0.6551, allocations: 31.95 kB / 0.4914 GB, free: 12.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6551, allocations: 0 / 0.4914 GB, free: 12.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002375/0.6554, allocations: 93.56 kB / 0.4915 GB, free: 11.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6554, allocations: 4 kB / 0.4915 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.6554, allocations: 4 kB / 0.4915 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.6554, allocations: 0 / 0.4915 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.6557, allocations: 31.98 kB / 0.4916 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.6557, allocations: 3.984 kB / 0.4916 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.6559, allocations: 19.84 kB / 0.4916 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.656, allocations: 4.125 kB / 0.4916 GB, free: 11.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.898e-05/0.6561, allocations: 116.9 kB / 0.4917 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.6561, allocations: 7.906 kB / 0.4917 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.013e-05/0.6562, allocations: 16.08 kB / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.6562, allocations: 0 / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6562, allocations: 0 / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.6562, allocations: 0 / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.6565, allocations: 209.6 kB / 0.4919 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6565, allocations: 0 / 0.4919 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.6567, allocations: 23.98 kB / 0.4919 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.6567, allocations: 0 / 0.4919 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.6568, allocations: 4.062 kB / 0.4919 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.6568, allocations: 3.938 kB / 0.4919 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6568, allocations: 0 / 0.4919 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.657, allocations: 167.4 kB / 0.4921 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.6571, allocations: 88.97 kB / 0.4922 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.6571, allocations: 0 / 0.4922 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.6573, allocations: 15.98 kB / 0.4922 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.6574, allocations: 4 kB / 0.4922 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.6574, allocations: 0 / 0.4922 GB, free: 11.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.6575, allocations: 110.6 kB / 0.4923 GB, free: 11.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6575, allocations: 0 / 0.4923 GB, free: 11.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003583/0.6579, allocations: 31.84 kB / 0.4923 GB, free: 11.03 MB / 426.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 (5): * Single equations (assignments): 5 * 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.0005704/0.6585, allocations: 0.6988 MB / 0.493 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.6587, allocations: 47.92 kB / 0.4931 GB, free: 10.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.6587, allocations: 0 / 0.4931 GB, free: 10.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.887e-05/0.6588, allocations: 23.88 kB / 0.4931 GB, free: 10.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.659, allocations: 11.34 kB / 0.4931 GB, free: 10.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007159/0.6598, allocations: 207.5 kB / 0.4933 GB, free: 9.984 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.6601, allocations: 0.7079 MB / 0.494 GB, free: 9.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.6602, allocations: 43.42 kB / 0.494 GB, free: 9.207 MB / 426.7 MB Notification: Performance of SimCode: time 8.12e-07/0.6602, allocations: 0 / 0.494 GB, free: 9.207 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.679/3.339, allocations: 1.846 MB / 0.4958 GB, free: 7.359 MB / 426.7 MB