Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.953/1.953, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.458e-05, allocations: 5.406 kB / 292.2 MB, free: 8.746 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 50.42 MB / 342.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.457/0.5684, allocations: 83.36 MB / 426 MB, free: 10.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/0.5688, allocations: 87.77 kB / 426.1 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09893/0.6677, allocations: 26.2 MB / 452.3 MB, free: 5.039 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6678, allocations: 0 / 452.3 MB, free: 5.039 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.817e-05/0.6678, allocations: 12 kB / 452.3 MB, free: 5.027 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004821/0.6726, allocations: 1.103 MB / 453.4 MB, free: 3.875 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.6727, allocations: 8.031 kB / 453.4 MB, free: 3.867 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003913/0.6731, allocations: 148.2 kB / 453.6 MB, free: 3.715 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/0.6757, allocations: 254.8 kB / 453.8 MB, free: 3.465 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.6761, allocations: 254 kB / 454 MB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.6763, allocations: 66 kB / 454.1 MB, free: 3.113 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003493/0.6766, allocations: 107.9 kB / 454.2 MB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002641/0.6793, allocations: 0.8955 MB / 455.1 MB, free: 2.098 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.88e-05/0.6794, allocations: 3.984 kB / 455.1 MB, free: 2.094 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.6795, allocations: 43.95 kB / 455.2 MB, free: 2.051 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/0.6796, allocations: 24 kB / 455.2 MB, free: 2.027 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/0.6821, allocations: 0.742 MB / 455.9 MB, free: 1.285 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009052/0.6911, allocations: 3.404 MB / 459.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003473/0.6947, allocations: 1.398 MB / 460.7 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.6957, allocations: 365.3 kB / 461.1 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002019/0.696, allocations: 97.86 kB / 461.2 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.696, allocations: 51.33 kB / 461.2 MB, free: 11.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 3.417e-06/0.696, allocations: 0 / 461.2 MB, free: 11.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.002167/0.6982, allocations: 0.6825 MB / 461.9 MB, free: 10.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.6983, allocations: 89.83 kB / 462 MB, free: 10.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006335/0.6989, allocations: 322.8 kB / 462.3 MB, free: 10.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.6991, allocations: 37.7 kB / 462.4 MB, free: 10.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.6994, allocations: 441.2 kB / 462.8 MB, free: 10.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003457/0.6998, allocations: 295.8 kB / 463.1 MB, free: 9.734 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.201e-05/0.6998, allocations: 24.03 kB / 463.1 MB, free: 9.711 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.7, allocations: 350.8 kB / 463.4 MB, free: 9.359 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007752/0.7008, allocations: 250.6 kB / 463.7 MB, free: 9.117 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000963/0.7018, allocations: 457 kB / 464.1 MB, free: 8.594 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009375/0.7027, allocations: 336.8 kB / 464.5 MB, free: 8.262 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.7028, allocations: 0 / 464.5 MB, free: 8.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002627/0.7054, allocations: 0.9223 MB / 465.4 MB, free: 7.324 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.7055, allocations: 8 kB / 465.4 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.7055, allocations: 4 kB / 465.4 MB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006127/0.7061, allocations: 127.4 kB / 465.5 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/0.7078, allocations: 199.7 kB / 465.7 MB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005609/0.7134, allocations: 5.551 MB / 471.3 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.7146, allocations: 98.91 kB / 471.4 MB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.7147, allocations: 43.98 kB / 471.4 MB, free: 0.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 116 * 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%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002684/0.715, allocations: 164.8 kB / 471.6 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.7152, allocations: 51.34 kB / 471.6 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/0.7177, allocations: 0.8313 MB / 472.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.7178, allocations: 12 kB / 472.5 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.7178, allocations: 4 kB / 472.5 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/0.7178, allocations: 7.938 kB / 472.5 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006206/0.724, allocations: 2.707 MB / 475.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/0.7241, allocations: 11.98 kB / 475.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.7252, allocations: 135.9 kB / 475.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005118/0.7257, allocations: 111.4 kB / 475.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.353e-05/0.7258, allocations: 31.94 kB / 475.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004914/0.7307, allocations: 5.299 MB / 480.8 MB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.327e-05/0.7308, allocations: 11.94 kB / 480.8 MB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003397/0.7342, allocations: 1.742 MB / 482.5 MB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/0.7345, allocations: 160.1 kB / 482.7 MB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.7347, allocations: 28 kB / 482.7 MB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007624/0.7354, allocations: 24 kB / 482.7 MB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/0.7356, allocations: 88.17 kB / 482.8 MB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.763e-05/0.7357, allocations: 32 kB / 482.8 MB, free: 4.117 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004993/0.7362, allocations: 270.1 kB / 483.1 MB, free: 3.852 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7363, allocations: 0 / 483.1 MB, free: 3.852 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001531/0.7378, allocations: 272.4 kB / 483.4 MB, free: 3.586 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 1 (referenceSensor.port.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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%) 2,(1,100.0%) 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.004786/0.7426, allocations: 4.555 MB / 487.9 MB, free: 14.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002568/0.7452, allocations: 1.09 MB / 489 MB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/0.7453, allocations: 0 / 489 MB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001471/0.7467, allocations: 0.7406 MB / 489.8 MB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007907/0.7476, allocations: 69.34 kB / 489.8 MB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004415/0.752, allocations: 1.317 MB / 491.1 MB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006876/0.7527, allocations: 0.9319 MB / 492.1 MB, free: 10.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007538/0.7535, allocations: 263.3 kB / 492.3 MB, free: 10.12 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.7535, allocations: 0 / 492.3 MB, free: 10.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.923/3.676, allocations: 22.56 MB / 0.5028 GB, free: 3.539 MB / 426.7 MB