Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.14/2.14, allocations: 205.8 MB / 218.9 MB, free: 9.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.525e-05/3.53e-05, allocations: 7.984 kB / 269.5 MB, free: 6.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1027, allocations: 47.59 MB / 317 MB, free: 6.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4976/0.6003, allocations: 81.97 MB / 399 MB, free: 5.703 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/0.6007, allocations: 87.88 kB / 399.1 MB, free: 5.656 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09657/0.6973, allocations: 26.06 MB / 425.2 MB, free: 456 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6974, allocations: 0 / 425.2 MB, free: 456 kB / 330.7 MB Notification: Performance of Transformations before backend: time 3.346e-05/0.6974, allocations: 16 kB / 425.2 MB, free: 440 kB / 330.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.004535/0.7019, allocations: 1.087 MB / 426.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.702, allocations: 8.031 kB / 426.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002876/0.7023, allocations: 152.8 kB / 426.4 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002383/0.7047, allocations: 255.8 kB / 426.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.7051, allocations: 265.9 kB / 426.9 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.431e-05/0.7052, allocations: 76.83 kB / 427 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002402/0.7054, allocations: 95.28 kB / 427.1 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/0.7077, allocations: 0.8971 MB / 428 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.757e-05/0.7078, allocations: 3.938 kB / 428 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.708, allocations: 43 kB / 428 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.89e-05/0.708, allocations: 20 kB / 428.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/0.7101, allocations: 0.7426 MB / 428.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008111/0.7183, allocations: 3.413 MB / 432.2 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003315/0.7216, allocations: 1.394 MB / 433.6 MB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009189/0.7226, allocations: 362.5 kB / 434 MB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/0.7228, allocations: 101.9 kB / 434.1 MB, free: 9.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.7228, allocations: 42.47 kB / 434.1 MB, free: 9.297 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 3.336e-06/0.7229, allocations: 4 kB / 434.1 MB, free: 9.293 MB / 346.7 MB Notification: Performance of matching and sorting (n=87): time 0.002013/0.7249, allocations: 0.6761 MB / 434.8 MB, free: 8.781 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/0.725, allocations: 89.64 kB / 434.9 MB, free: 8.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006169/0.7256, allocations: 321.5 kB / 435.2 MB, free: 8.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.497e-05/0.7257, allocations: 39.77 kB / 435.2 MB, free: 8.395 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/0.726, allocations: 386 kB / 435.6 MB, free: 8.055 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003328/0.7264, allocations: 301.5 kB / 435.9 MB, free: 7.777 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.522e-05/0.7264, allocations: 23.94 kB / 435.9 MB, free: 7.754 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.7267, allocations: 362.8 kB / 436.3 MB, free: 7.391 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000744/0.7274, allocations: 246.6 kB / 436.5 MB, free: 7.148 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000956/0.7284, allocations: 448.9 kB / 437 MB, free: 6.633 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009141/0.7293, allocations: 328.8 kB / 437.3 MB, free: 6.309 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.7293, allocations: 11.94 kB / 437.3 MB, free: 6.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00265/0.732, allocations: 0.93 MB / 438.2 MB, free: 5.348 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.7321, allocations: 11.95 kB / 438.2 MB, free: 5.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.7321, allocations: 7.938 kB / 438.2 MB, free: 5.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006101/0.7327, allocations: 127.4 kB / 438.4 MB, free: 5.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/0.7343, allocations: 203.7 kB / 438.6 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006011/0.7404, allocations: 5.551 MB / 444.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.7416, allocations: 98.91 kB / 444.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.7417, allocations: 40 kB / 444.2 MB, free: 14.77 MB / 362.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.0002774/0.742, allocations: 168.7 kB / 444.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.7422, allocations: 51.34 kB / 444.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/0.7447, allocations: 0.8313 MB / 445.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.7447, allocations: 8 kB / 445.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.7447, allocations: 4 kB / 445.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.7448, allocations: 3.984 kB / 445.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006249/0.751, allocations: 2.718 MB / 448 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.7511, allocations: 8 kB / 448 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.7522, allocations: 139.8 kB / 448.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005132/0.7527, allocations: 115.4 kB / 448.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.889e-05/0.7528, allocations: 28 kB / 448.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005147/0.758, allocations: 5.299 MB / 453.6 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.346e-05/0.758, allocations: 8 kB / 453.6 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003444/0.7615, allocations: 1.74 MB / 455.4 MB, free: 2.469 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.7618, allocations: 156.2 kB / 455.5 MB, free: 2.297 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.762, allocations: 35.92 kB / 455.5 MB, free: 2.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007694/0.7627, allocations: 24 kB / 455.6 MB, free: 2.238 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/0.7629, allocations: 80.27 kB / 455.6 MB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.848e-05/0.763, allocations: 32 kB / 455.7 MB, free: 2.129 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005135/0.7636, allocations: 270.2 kB / 455.9 MB, free: 1.867 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.7636, allocations: 0 / 455.9 MB, free: 1.867 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001477/0.7651, allocations: 263.4 kB / 456.2 MB, free: 1.609 MB / 362.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.004892/0.77, allocations: 4.556 MB / 460.8 MB, free: 12.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0026/0.7726, allocations: 1.093 MB / 461.8 MB, free: 11.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.7727, allocations: 0 / 461.8 MB, free: 11.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.7741, allocations: 0.7416 MB / 462.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000751/0.7749, allocations: 65.38 kB / 462.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004215/0.7791, allocations: 1.295 MB / 463.9 MB, free: 9.391 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007465/0.7799, allocations: 0.9319 MB / 464.9 MB, free: 8.434 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009676/0.7809, allocations: 113.2 kB / 465 MB, free: 8.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006182/0.7815, allocations: 259.3 kB / 465.2 MB, free: 8.066 MB / 378.7 MB Notification: Performance of SimCode: time 1.453e-06/0.7815, allocations: 0 / 465.2 MB, free: 8.066 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05396/0.8355, allocations: 12.63 MB / 477.9 MB, free: 11.51 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003485/0.8359, allocations: 198.4 kB / 478.1 MB, free: 11.28 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.995/3.831, allocations: 0 / 478.1 MB, free: 11.28 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat does not exist to compare? outputFormat=mat