Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.188/2.188, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.683e-05/3.689e-05, allocations: 8 kB / 292.2 MB, free: 8.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 50.41 MB / 342.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4381/0.5479, allocations: 81.68 MB / 424.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.5483, allocations: 82.39 kB / 424.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05559/0.6039, allocations: 12.21 MB / 436.6 MB, free: 1.738 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6039, allocations: 0 / 436.6 MB, free: 1.738 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.982e-05/0.604, allocations: 8 kB / 436.6 MB, free: 1.73 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001983/0.6059, allocations: 0.7205 MB / 437.3 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.606, allocations: 12.03 kB / 437.4 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.6062, allocations: 91.39 kB / 437.4 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.6063, allocations: 63.23 kB / 437.5 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007494/0.6071, allocations: 349.2 kB / 437.8 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.423e-05/0.6072, allocations: 35.56 kB / 437.9 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.6073, allocations: 53.81 kB / 437.9 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.6083, allocations: 397.2 kB / 438.3 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.6084, allocations: 0 / 438.3 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.299e-05/0.6084, allocations: 26.31 kB / 438.3 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.6085, allocations: 12 kB / 438.4 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009401/0.6094, allocations: 330 kB / 438.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003938/0.6134, allocations: 1.596 MB / 440.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009271/0.6143, allocations: 378.4 kB / 440.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004765/0.6148, allocations: 177.5 kB / 440.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-05/0.6149, allocations: 4.328 kB / 440.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.6149, allocations: 34.52 kB / 440.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 3.126e-06/0.6149, allocations: 4 kB / 440.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.004377/0.6193, allocations: 1.058 MB / 441.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.6194, allocations: 55.97 kB / 442 MB, free: 13.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005909/0.62, allocations: 352.4 kB / 442.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.865e-05/0.6201, allocations: 35.7 kB / 442.4 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.6203, allocations: 348.1 kB / 442.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.6205, allocations: 188.2 kB / 442.9 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.6206, allocations: 14.09 kB / 442.9 MB, free: 12.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.6207, allocations: 336.8 kB / 443.2 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/0.6212, allocations: 150.4 kB / 443.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005141/0.6217, allocations: 263.6 kB / 443.6 MB, free: 11.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000495/0.6222, allocations: 177.4 kB / 443.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.6222, allocations: 0 / 443.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001751/0.624, allocations: 0.6416 MB / 444.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.624, allocations: 8 kB / 444.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.6241, allocations: 4.188 kB / 444.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008512/0.6249, allocations: 182.7 kB / 444.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009465/0.6259, allocations: 118.8 kB / 444.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005797/0.6317, allocations: 3.879 MB / 448.6 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008105/0.6326, allocations: 46.14 kB / 448.7 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/0.6326, allocations: 27 kB / 448.7 MB, free: 7.211 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 (58): * Single equations (assignments): 56 * 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.000171/0.6328, allocations: 134.8 kB / 448.8 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.6329, allocations: 47.44 kB / 448.9 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.6331, allocations: 61.3 kB / 448.9 MB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.6331, allocations: 8 kB / 448.9 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/0.6332, allocations: 7.938 kB / 449 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.6332, allocations: 4 kB / 449 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00302/0.6362, allocations: 1.226 MB / 450.2 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.6363, allocations: 0 / 450.2 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/0.6369, allocations: 79.95 kB / 450.3 MB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007014/0.6376, allocations: 154.7 kB / 450.4 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.257e-05/0.6377, allocations: 11.38 kB / 450.4 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005147/0.6428, allocations: 3.702 MB / 454.1 MB, free: 2.328 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.6429, allocations: 0 / 454.1 MB, free: 2.328 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.6444, allocations: 0.681 MB / 454.8 MB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.6446, allocations: 119.6 kB / 454.9 MB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.991e-05/0.6447, allocations: 14.06 kB / 454.9 MB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005418/0.6453, allocations: 32.5 kB / 455 MB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.6454, allocations: 43.44 kB / 455 MB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.6455, allocations: 11.75 kB / 455 MB, free: 1.512 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004616/0.646, allocations: 269.8 kB / 455.3 MB, free: 1.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.646, allocations: 0 / 455.3 MB, free: 1.285 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00101/0.647, allocations: 160 kB / 455.4 MB, free: 1.129 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (35): * Single equations (assignments): 33 * 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.002103/0.6491, allocations: 1.511 MB / 457 MB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001816/0.651, allocations: 0.6872 MB / 457.6 MB, free: 14.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.651, allocations: 0 / 457.6 MB, free: 14.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.6521, allocations: 478.4 kB / 458.1 MB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.6526, allocations: 41.56 kB / 458.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.6549, allocations: 0.7451 MB / 458.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.6556, allocations: 0.8678 MB / 459.8 MB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004142/0.656, allocations: 175.4 kB / 459.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.656, allocations: 4 kB / 459.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.67/3.326, allocations: 11.38 MB / 471.3 MB, free: 1.059 MB / 378.7 MB