Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.971/1.971, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.183e-05, allocations: 7.984 kB / 292.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 50.42 MB / 342.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4203/0.5261, allocations: 81.23 MB / 423.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.5265, allocations: 82.14 kB / 424 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03862/0.5651, allocations: 8.349 MB / 432.3 MB, free: 5.836 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5652, allocations: 4 kB / 432.3 MB, free: 5.832 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.5652, allocations: 4 kB / 432.3 MB, free: 5.828 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001448/0.5667, allocations: 0.5807 MB / 432.9 MB, free: 5.223 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.5667, allocations: 12.03 kB / 432.9 MB, free: 5.211 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/0.5669, allocations: 70.84 kB / 433 MB, free: 5.152 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.567, allocations: 39.53 kB / 433 MB, free: 5.113 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004859/0.5675, allocations: 264.2 kB / 433.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.5676, allocations: 31.22 kB / 433.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.17e-05/0.5677, allocations: 30.31 kB / 433.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006806/0.5683, allocations: 252.5 kB / 433.6 MB, free: 4.621 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.5684, allocations: 7.922 kB / 433.6 MB, free: 4.613 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/0.5684, allocations: 19.08 kB / 433.6 MB, free: 4.605 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.5685, allocations: 4 kB / 433.6 MB, free: 4.602 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005799/0.569, allocations: 200.6 kB / 433.8 MB, free: 4.477 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002782/0.5718, allocations: 1.141 MB / 434.9 MB, free: 3.426 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.5723, allocations: 132.8 kB / 435.1 MB, free: 3.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.5724, allocations: 49.67 kB / 435.1 MB, free: 3.285 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.5725, allocations: 7.375 kB / 435.1 MB, free: 3.281 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.5725, allocations: 30.56 kB / 435.2 MB, free: 3.242 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.846e-06/0.5725, allocations: 0 / 435.2 MB, free: 3.242 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.002579/0.5751, allocations: 0.5039 MB / 435.7 MB, free: 2.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.5752, allocations: 63.53 kB / 435.7 MB, free: 2.719 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.5756, allocations: 245.8 kB / 436 MB, free: 2.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.5757, allocations: 32.89 kB / 436 MB, free: 2.484 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.5759, allocations: 284.8 kB / 436.3 MB, free: 2.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.194e-05/0.576, allocations: 72.67 kB / 436.3 MB, free: 2.172 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/0.576, allocations: 3.188 kB / 436.3 MB, free: 2.172 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5762, allocations: 333.3 kB / 436.7 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.5764, allocations: 69.06 kB / 436.7 MB, free: 1.801 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.5767, allocations: 160.7 kB / 436.9 MB, free: 1.629 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.577, allocations: 96.78 kB / 437 MB, free: 1.566 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.577, allocations: 11.94 kB / 437 MB, free: 1.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008252/0.5778, allocations: 311.8 kB / 437.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.5779, allocations: 8.406 kB / 437.3 MB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.5779, allocations: 4 kB / 437.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003393/0.5782, allocations: 71.48 kB / 437.4 MB, free: 1.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/0.5789, allocations: 83.83 kB / 437.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/0.5814, allocations: 2.624 MB / 440.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005376/0.582, allocations: 27.66 kB / 440.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.582, allocations: 15.56 kB / 440.1 MB, free: 14.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.5822, allocations: 127.9 kB / 440.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.5823, allocations: 27.62 kB / 440.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.097e-05/0.5824, allocations: 31.59 kB / 440.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.5824, allocations: 4 kB / 440.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.5824, allocations: 0 / 440.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.5824, allocations: 0 / 440.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.5829, allocations: 341.5 kB / 440.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.583, allocations: 0 / 440.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/0.5834, allocations: 47.72 kB / 440.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002749/0.5837, allocations: 56.92 kB / 440.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.5837, allocations: 3.688 kB / 440.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002469/0.5862, allocations: 2.624 MB / 443.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.5862, allocations: 4.031 kB / 443.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006723/0.5869, allocations: 319 kB / 443.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.5871, allocations: 95.89 kB / 443.8 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.5871, allocations: 11.73 kB / 443.8 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/0.5875, allocations: 19.86 kB / 443.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-05/0.5876, allocations: 19.97 kB / 443.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.5877, allocations: 7.938 kB / 443.9 MB, free: 10.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000283/0.588, allocations: 187.4 kB / 444 MB, free: 10.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.588, allocations: 0 / 444 MB, free: 10.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005818/0.5886, allocations: 74.06 kB / 444.1 MB, free: 10.32 MB / 362.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 (18): * Single equations (assignments): 16 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001037/0.5896, allocations: 0.8691 MB / 445 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009185/0.5906, allocations: 406.5 kB / 445.4 MB, free: 9.109 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.5906, allocations: 0 / 445.4 MB, free: 9.109 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005189/0.5911, allocations: 314.8 kB / 445.7 MB, free: 8.816 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.5915, allocations: 23.38 kB / 445.7 MB, free: 8.801 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.593, allocations: 429.1 kB / 446.1 MB, free: 8.391 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.5935, allocations: 0.783 MB / 446.9 MB, free: 7.582 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.5937, allocations: 106.8 kB / 447 MB, free: 7.551 MB / 362.7 MB Notification: Performance of SimCode: time 1.292e-06/0.5937, allocations: 0 / 447 MB, free: 7.551 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.689/3.283, allocations: 7.134 MB / 454.1 MB, free: 480 kB / 362.7 MB