Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.461/2.461, allocations: 270 MB / 282.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.248e-05/3.253e-05, allocations: 4 kB / 347.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3966, allocations: 61.86 MB / 408.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1684/0.5651, allocations: 92.99 MB / 0.4901 GB, free: 13.56 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/0.5655, allocations: 75.95 kB / 0.4902 GB, free: 13.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1115/0.677, allocations: 27.12 MB / 0.5167 GB, free: 1.996 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6771, allocations: 0 / 0.5167 GB, free: 1.996 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.852e-05/0.6771, allocations: 12 kB / 0.5167 GB, free: 1.984 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.004107/0.6812, allocations: 1.033 MB / 0.5177 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.6813, allocations: 8.031 kB / 0.5177 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003682/0.6817, allocations: 156.2 kB / 0.5179 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/0.6839, allocations: 226.8 kB / 0.5181 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.6843, allocations: 267.3 kB / 0.5184 GB, free: 212 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.6845, allocations: 78 kB / 0.5184 GB, free: 136 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003269/0.6849, allocations: 96 kB / 0.5185 GB, free: 40 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/0.6875, allocations: 0.8851 MB / 0.5194 GB, free: 15.13 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.242e-05/0.6876, allocations: 7.906 kB / 0.5194 GB, free: 15.12 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/0.6877, allocations: 40 kB / 0.5194 GB, free: 15.09 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-05/0.6877, allocations: 27.98 kB / 0.5195 GB, free: 15.06 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.6898, allocations: 0.6714 MB / 0.5201 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008423/0.6983, allocations: 3.951 MB / 0.524 GB, free: 10.1 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00378/0.7021, allocations: 3.353 MB / 0.5272 GB, free: 6.098 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007636/0.7029, allocations: 280.5 kB / 0.5275 GB, free: 5.812 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001696/0.7031, allocations: 93.42 kB / 0.5276 GB, free: 5.703 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.7032, allocations: 46.89 kB / 0.5276 GB, free: 5.648 MB / 458.7 MB Notification: Performance of pre-optimization done (n=66): time 4.128e-06/0.7032, allocations: 0 / 0.5276 GB, free: 5.648 MB / 458.7 MB Notification: Performance of matching and sorting (n=66): time 0.001993/0.7052, allocations: 0.6148 MB / 0.5282 GB, free: 5.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/0.7053, allocations: 144.4 kB / 0.5284 GB, free: 4.848 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005528/0.7059, allocations: 279.2 kB / 0.5287 GB, free: 4.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.918e-05/0.706, allocations: 37.7 kB / 0.5287 GB, free: 4.527 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000337/0.7063, allocations: 460.8 kB / 0.5291 GB, free: 4.07 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/0.7066, allocations: 228.7 kB / 0.5293 GB, free: 3.844 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.7067, allocations: 12 kB / 0.5294 GB, free: 3.832 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.7069, allocations: 354.8 kB / 0.5297 GB, free: 3.477 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005497/0.7074, allocations: 182 kB / 0.5299 GB, free: 3.301 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006958/0.7082, allocations: 378.6 kB / 0.5302 GB, free: 2.852 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006927/0.7089, allocations: 254.8 kB / 0.5305 GB, free: 2.602 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.7089, allocations: 0 / 0.5305 GB, free: 2.602 MB / 458.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002438/0.7113, allocations: 0.8304 MB / 0.5313 GB, free: 1.75 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/0.7114, allocations: 8 kB / 0.5313 GB, free: 1.742 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.7114, allocations: 12.48 kB / 0.5313 GB, free: 1.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.7125, allocations: 223.2 kB / 0.5315 GB, free: 1.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009923/0.7136, allocations: 143.8 kB / 0.5317 GB, free: 1.359 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3535/1.067, allocations: 6.192 MB / 0.5377 GB, free: 105.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009755/1.068, allocations: 89.78 kB / 0.5378 GB, free: 105.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/1.068, allocations: 38.36 kB / 0.5378 GB, free: 105.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 78 * 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%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002201/1.069, allocations: 152.2 kB / 0.538 GB, free: 105.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/1.069, allocations: 40.7 kB / 0.538 GB, free: 105.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/1.071, allocations: 0.6683 MB / 0.5387 GB, free: 105.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.057e-05/1.071, allocations: 7.281 kB / 0.5387 GB, free: 105.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/1.071, allocations: 4.688 kB / 0.5387 GB, free: 105.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/1.071, allocations: 7.188 kB / 0.5387 GB, free: 105.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003889/1.075, allocations: 1.552 MB / 0.5402 GB, free: 105 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/1.075, allocations: 4.172 kB / 0.5402 GB, free: 105 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005279/1.076, allocations: 66.41 kB / 0.5403 GB, free: 105 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009775/1.077, allocations: 218.3 kB / 0.5405 GB, free: 105 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.166e-05/1.077, allocations: 20.39 kB / 0.5405 GB, free: 105 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006493/1.083, allocations: 6.197 MB / 0.5465 GB, free: 99.95 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/1.083, allocations: 3.656 kB / 0.5465 GB, free: 99.95 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/1.086, allocations: 1.199 MB / 0.5477 GB, free: 99.46 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/1.086, allocations: 127 kB / 0.5478 GB, free: 99.35 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.515e-05/1.086, allocations: 10.28 kB / 0.5478 GB, free: 99.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005525/1.087, allocations: 23.53 kB / 0.5479 GB, free: 99.35 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/1.087, allocations: 55.83 kB / 0.5479 GB, free: 99.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/1.087, allocations: 22.78 kB / 0.5479 GB, free: 99.34 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002926/1.087, allocations: 208.3 kB / 0.5481 GB, free: 99.26 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.087, allocations: 0 / 0.5481 GB, free: 99.26 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001427/1.088, allocations: 276.6 kB / 0.5484 GB, free: 99.24 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (coaxCylindersEndFaces.port_p.reference.gamma,halfCylinder.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * 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%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002612/1.091, allocations: 1.991 MB / 0.5503 GB, free: 98.03 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00206/1.093, allocations: 1.006 MB / 0.5513 GB, free: 97.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.093, allocations: 3.594 kB / 0.5513 GB, free: 97.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/1.094, allocations: 0.7284 MB / 0.552 GB, free: 97.17 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006283/1.095, allocations: 45.19 kB / 0.5521 GB, free: 97.16 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003589/1.099, allocations: 1.133 MB / 0.5532 GB, free: 96.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/1.099, allocations: 0.9308 MB / 0.5541 GB, free: 96 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/1.1, allocations: 240.2 kB / 0.5543 GB, free: 96 MB / 458.7 MB Notification: Performance of SimCode: time 1.242e-06/1.1, allocations: 0 / 0.5543 GB, free: 96 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.127/4.227, allocations: 21.19 MB / 0.575 GB, free: 88.41 MB / 458.7 MB