Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.972/1.972, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.23e-05/3.255e-05, allocations: 0 / 292.2 MB, free: 8.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1154, allocations: 50.42 MB / 342.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4714/0.5868, allocations: 93.39 MB / 436 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.5872, allocations: 81.39 kB / 436.1 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1171/0.7043, allocations: 30.17 MB / 466.3 MB, free: 7.078 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.7044, allocations: 0 / 466.3 MB, free: 7.078 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.772e-05/0.7045, allocations: 23.94 kB / 466.3 MB, free: 7.055 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.005518/0.71, allocations: 1.23 MB / 467.5 MB, free: 5.773 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.7101, allocations: 8.031 kB / 467.5 MB, free: 5.766 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00053/0.7106, allocations: 175.2 kB / 467.7 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003915/0.7145, allocations: 394.4 kB / 468.1 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.7159, allocations: 491.6 kB / 468.6 MB, free: 4.676 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.716, allocations: 86.23 kB / 468.7 MB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002739/0.7163, allocations: 119.9 kB / 468.8 MB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002813/0.7191, allocations: 0.912 MB / 469.7 MB, free: 3.535 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.194e-05/0.7192, allocations: 0 / 469.7 MB, free: 3.535 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/0.7194, allocations: 44 kB / 469.7 MB, free: 3.492 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/0.7195, allocations: 31.98 kB / 469.8 MB, free: 3.461 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002817/0.7223, allocations: 0.887 MB / 470.6 MB, free: 2.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01025/0.7326, allocations: 3.734 MB / 474.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002791/0.7354, allocations: 1.517 MB / 475.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.7366, allocations: 403.8 kB / 476.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001785/0.7368, allocations: 105.9 kB / 476.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/0.7379, allocations: 448.1 kB / 476.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 3.957e-06/0.738, allocations: 3.938 kB / 476.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.0129/0.7509, allocations: 3.465 MB / 480.3 MB, free: 8.398 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001496/0.7511, allocations: 222.6 kB / 480.5 MB, free: 8.133 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006883/0.7518, allocations: 350.7 kB / 480.9 MB, free: 7.789 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001964/0.752, allocations: 45.7 kB / 480.9 MB, free: 7.738 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004556/0.7525, allocations: 462.1 kB / 481.4 MB, free: 7.281 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005218/0.753, allocations: 413.9 kB / 481.8 MB, free: 6.871 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.712e-05/0.7531, allocations: 28 kB / 481.8 MB, free: 6.844 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.7533, allocations: 358.8 kB / 482.1 MB, free: 6.484 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009513/0.7542, allocations: 314.6 kB / 482.5 MB, free: 6.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.7554, allocations: 0.5161 MB / 483 MB, free: 5.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.7566, allocations: 399 kB / 483.4 MB, free: 5.203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.7567, allocations: 0 / 483.4 MB, free: 5.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003761/0.7604, allocations: 1.271 MB / 484.6 MB, free: 3.914 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.436e-05/0.7605, allocations: 8 kB / 484.6 MB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.7605, allocations: 4 kB / 484.6 MB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001569/0.7621, allocations: 346.1 kB / 485 MB, free: 3.555 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.7639, allocations: 195.7 kB / 485.2 MB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/0.7754, allocations: 7.65 MB / 492.8 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.7768, allocations: 52.11 kB / 492.9 MB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.7769, allocations: 47.98 kB / 492.9 MB, free: 11.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 107 * 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: 4 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 19,(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003188/0.7773, allocations: 176.6 kB / 493.1 MB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.7775, allocations: 75.11 kB / 493.2 MB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003702/0.7812, allocations: 1.207 MB / 494.4 MB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/0.7813, allocations: 16 kB / 494.4 MB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/0.7813, allocations: 8 kB / 494.4 MB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.7813, allocations: 11.97 kB / 494.4 MB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006416/0.7877, allocations: 2.597 MB / 497 MB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.7878, allocations: 0 / 497 MB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/0.7892, allocations: 155.8 kB / 497.2 MB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/0.7907, allocations: 326 kB / 497.5 MB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/0.7909, allocations: 27.98 kB / 497.5 MB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/0.8016, allocations: 7.395 MB / 0.4931 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.8016, allocations: 0 / 0.4931 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004729/0.8064, allocations: 1.738 MB / 0.4948 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005414/0.807, allocations: 216.2 kB / 0.495 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.8071, allocations: 24 kB / 0.495 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009337/0.8081, allocations: 47.92 kB / 0.495 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/0.8084, allocations: 92.88 kB / 0.4951 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.8085, allocations: 31.98 kB / 0.4952 GB, free: 12.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004824/0.809, allocations: 261.2 kB / 0.4954 GB, free: 11.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.809, allocations: 0 / 0.4954 GB, free: 11.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001819/0.8108, allocations: 327.9 kB / 0.4957 GB, free: 11.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,currentSensorQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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: 4 {(1,100.0%) 2,(2,100.0%) 18,(1,100.0%) 4,(1,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005546/0.8164, allocations: 2.684 MB / 0.4983 GB, free: 8.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003859/0.8203, allocations: 1.489 MB / 0.4998 GB, free: 7.383 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.8204, allocations: 0 / 0.4998 GB, free: 7.383 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002531/0.8229, allocations: 1.067 MB / 0.5008 GB, free: 6.281 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006487/0.8236, allocations: 53.55 kB / 0.5009 GB, free: 6.227 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00586/0.8295, allocations: 1.649 MB / 0.5025 GB, free: 4.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008116/0.8304, allocations: 1.036 MB / 0.5035 GB, free: 3.457 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000828/0.8312, allocations: 351.3 kB / 0.5038 GB, free: 3.117 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/0.8312, allocations: 0 / 0.5038 GB, free: 3.117 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.413/4.244, allocations: 28.57 MB / 0.5317 GB, free: 128.1 MB / 442.7 MB