Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.141/2.141, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.103e-05/3.108e-05, allocations: 4 kB / 292.2 MB, free: 8.734 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 50.42 MB / 342.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4729/0.5839, allocations: 88.45 MB / 431.1 MB, free: 5.406 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/0.5843, allocations: 91.28 kB / 431.2 MB, free: 5.359 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1294/0.7137, allocations: 35.48 MB / 466.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.438e-06/0.7138, allocations: 0 / 466.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.546e-05/0.7138, allocations: 23.94 kB / 466.7 MB, free: 6.48 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.007567/0.7214, allocations: 1.483 MB / 468.2 MB, free: 4.949 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.7215, allocations: 12.03 kB / 468.2 MB, free: 4.938 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005415/0.722, allocations: 190.2 kB / 468.4 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004773/0.7268, allocations: 458.2 kB / 468.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005476/0.7274, allocations: 297.6 kB / 469.1 MB, free: 3.961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.7276, allocations: 102.5 kB / 469.2 MB, free: 3.859 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004451/0.728, allocations: 127.9 kB / 469.3 MB, free: 3.734 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00343/0.7315, allocations: 1.213 MB / 470.5 MB, free: 2.492 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.747e-05/0.7316, allocations: 3.984 kB / 470.5 MB, free: 2.488 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001943/0.7318, allocations: 55.95 kB / 470.6 MB, free: 2.434 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.053e-05/0.7318, allocations: 28 kB / 470.6 MB, free: 2.406 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003414/0.7353, allocations: 1.067 MB / 471.7 MB, free: 1.336 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01149/0.7468, allocations: 4.264 MB / 476 MB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003623/0.7505, allocations: 2.225 MB / 478.2 MB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/0.752, allocations: 0.506 MB / 478.7 MB, free: 9.887 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/0.7522, allocations: 110.1 kB / 478.8 MB, free: 9.762 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.7523, allocations: 47.56 kB / 478.8 MB, free: 9.707 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 3.747e-06/0.7523, allocations: 0 / 478.8 MB, free: 9.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=125): time 0.01295/0.7653, allocations: 2.78 MB / 481.6 MB, free: 6.863 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/0.7654, allocations: 90.11 kB / 481.7 MB, free: 6.758 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006461/0.766, allocations: 343.4 kB / 482 MB, free: 6.418 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001162/0.7662, allocations: 45.7 kB / 482.1 MB, free: 6.367 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003765/0.7665, allocations: 0.5013 MB / 482.6 MB, free: 5.859 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004856/0.767, allocations: 425.7 kB / 483 MB, free: 5.438 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.7672, allocations: 28 kB / 483 MB, free: 5.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.7674, allocations: 362.8 kB / 483.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.7685, allocations: 348 kB / 483.7 MB, free: 4.707 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.7698, allocations: 0.6125 MB / 484.3 MB, free: 3.984 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.7711, allocations: 449 kB / 484.8 MB, free: 3.547 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.7711, allocations: 4 kB / 484.8 MB, free: 3.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003762/0.7749, allocations: 1.271 MB / 486.1 MB, free: 2.258 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.775, allocations: 8.312 kB / 486.1 MB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/0.775, allocations: 12 kB / 486.1 MB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008729/0.7759, allocations: 185.6 kB / 486.3 MB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/0.7785, allocations: 303.5 kB / 486.6 MB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005904/0.7844, allocations: 3.971 MB / 490.5 MB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.7862, allocations: 83.94 kB / 490.6 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.7864, allocations: 64.05 kB / 490.7 MB, free: 13.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 144 * 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%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003924/0.7868, allocations: 184.6 kB / 490.9 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.787, allocations: 67.16 kB / 490.9 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00362/0.7906, allocations: 1.198 MB / 492.1 MB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-05/0.7907, allocations: 20 kB / 492.1 MB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.7907, allocations: 4 kB / 492.1 MB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.7907, allocations: 3.984 kB / 492.1 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006295/0.797, allocations: 2.373 MB / 494.5 MB, free: 9.426 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.7971, allocations: 0 / 494.5 MB, free: 9.426 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002089/0.7992, allocations: 227.7 kB / 494.7 MB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000788/0.8, allocations: 169.5 kB / 494.9 MB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.8001, allocations: 31.98 kB / 494.9 MB, free: 9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005459/0.8056, allocations: 3.767 MB / 498.7 MB, free: 4.965 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.8056, allocations: 4.062 kB / 498.7 MB, free: 4.961 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00456/0.8102, allocations: 1.686 MB / 0.4887 GB, free: 3.215 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005554/0.8108, allocations: 228.2 kB / 0.4889 GB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.811, allocations: 28 kB / 0.4889 GB, free: 2.945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/0.8124, allocations: 76.02 kB / 0.489 GB, free: 2.871 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002938/0.8127, allocations: 92.75 kB / 0.4891 GB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/0.8128, allocations: 39.98 kB / 0.4891 GB, free: 2.742 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004752/0.8133, allocations: 254.2 kB / 0.4893 GB, free: 2.496 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8133, allocations: 4 kB / 0.4894 GB, free: 2.492 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001694/0.815, allocations: 323.9 kB / 0.4897 GB, free: 2.176 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (voltageSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 104 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005535/0.8206, allocations: 2.605 MB / 0.4922 GB, free: 15.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003397/0.824, allocations: 1.248 MB / 0.4934 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.824, allocations: 3.938 kB / 0.4934 GB, free: 14.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001781/0.8258, allocations: 0.7652 MB / 0.4942 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005971/0.8264, allocations: 59.25 kB / 0.4942 GB, free: 13.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005658/0.8321, allocations: 1.566 MB / 0.4958 GB, free: 11.78 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007752/0.8329, allocations: 1.025 MB / 0.4968 GB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/0.834, allocations: 371.3 kB / 0.4971 GB, free: 10.36 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/0.834, allocations: 0 / 0.4971 GB, free: 10.36 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.775/3.609, allocations: 22.57 MB / 0.5192 GB, free: 3.742 MB / 442.7 MB