Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.066/2.066, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.062e-05/3.069e-05, allocations: 4 kB / 292.8 MB, free: 8.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1065, allocations: 50.42 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4503/0.5569, allocations: 83.29 MB / 426.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.5572, allocations: 92.94 kB / 426.6 MB, free: 10.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09581/0.653, allocations: 26.2 MB / 452.8 MB, free: 4.797 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.6531, allocations: 0 / 452.8 MB, free: 4.797 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.502e-05/0.6531, allocations: 12 kB / 452.8 MB, free: 4.785 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.0044/0.6575, allocations: 1.099 MB / 453.9 MB, free: 3.637 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.6576, allocations: 8.031 kB / 453.9 MB, free: 3.629 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002509/0.6578, allocations: 148.2 kB / 454 MB, free: 3.477 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002373/0.6602, allocations: 258.8 kB / 454.3 MB, free: 3.223 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.6605, allocations: 254 kB / 454.5 MB, free: 2.934 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-05/0.6606, allocations: 74 kB / 454.6 MB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/0.6609, allocations: 107.9 kB / 454.7 MB, free: 2.758 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/0.6632, allocations: 0.8955 MB / 455.6 MB, free: 1.848 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.156e-05/0.6633, allocations: 0 / 455.6 MB, free: 1.848 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.6634, allocations: 43.95 kB / 455.6 MB, free: 1.805 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/0.6635, allocations: 24 kB / 455.7 MB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.6656, allocations: 0.7459 MB / 456.4 MB, free: 1.035 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008033/0.6736, allocations: 3.404 MB / 459.8 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003314/0.677, allocations: 1.394 MB / 461.2 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009441/0.6779, allocations: 361.4 kB / 461.6 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.6781, allocations: 101.9 kB / 461.7 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.6782, allocations: 39.34 kB / 461.7 MB, free: 11.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 3.487e-06/0.6782, allocations: 4 kB / 461.7 MB, free: 11.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.001989/0.6802, allocations: 0.6747 MB / 462.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.6803, allocations: 89.89 kB / 462.5 MB, free: 10.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00056/0.6808, allocations: 322.8 kB / 462.8 MB, free: 10.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.984e-05/0.6809, allocations: 37.7 kB / 462.8 MB, free: 10.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/0.6812, allocations: 398.7 kB / 463.2 MB, free: 9.836 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003073/0.6816, allocations: 291.8 kB / 463.5 MB, free: 9.547 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.46e-05/0.6817, allocations: 20 kB / 463.5 MB, free: 9.527 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.6818, allocations: 358.7 kB / 463.9 MB, free: 9.168 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007454/0.6826, allocations: 254.6 kB / 464.1 MB, free: 8.922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009118/0.6835, allocations: 461 kB / 464.6 MB, free: 8.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008994/0.6844, allocations: 324.8 kB / 464.9 MB, free: 8.074 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.6845, allocations: 4 kB / 464.9 MB, free: 8.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002578/0.687, allocations: 0.9339 MB / 465.8 MB, free: 7.121 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.6871, allocations: 8 kB / 465.8 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.6871, allocations: 4 kB / 465.8 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005767/0.6877, allocations: 131.4 kB / 466 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.6893, allocations: 203.7 kB / 466.2 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005855/0.6952, allocations: 5.544 MB / 471.7 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.6964, allocations: 110.7 kB / 471.8 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.6965, allocations: 40 kB / 471.8 MB, free: 0.5391 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.0002538/0.6968, allocations: 164.7 kB / 472 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.6969, allocations: 55.34 kB / 472.1 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.6994, allocations: 0.8235 MB / 472.9 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.6994, allocations: 11.98 kB / 472.9 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.6995, allocations: 8 kB / 472.9 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.6995, allocations: 7.938 kB / 472.9 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007144/0.7066, allocations: 2.711 MB / 475.6 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.66e-05/0.7067, allocations: 8 kB / 475.6 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/0.7085, allocations: 135.8 kB / 475.8 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009627/0.7095, allocations: 123.4 kB / 475.9 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/0.7096, allocations: 20 kB / 475.9 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008222/0.7179, allocations: 5.299 MB / 481.2 MB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.757e-05/0.718, allocations: 11.94 kB / 481.2 MB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003555/0.7215, allocations: 1.746 MB / 483 MB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/0.7219, allocations: 156.2 kB / 483.1 MB, free: 4.074 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.7221, allocations: 24 kB / 483.1 MB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007738/0.7228, allocations: 27.98 kB / 483.2 MB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.723, allocations: 80.25 kB / 483.2 MB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.153e-05/0.7231, allocations: 36 kB / 483.3 MB, free: 3.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005014/0.7237, allocations: 270.1 kB / 483.5 MB, free: 3.645 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7237, allocations: 3.938 kB / 483.5 MB, free: 3.641 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001472/0.7251, allocations: 264.4 kB / 483.8 MB, free: 3.383 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.004593/0.7298, allocations: 4.559 MB / 488.4 MB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002549/0.7324, allocations: 1.089 MB / 489.4 MB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.7324, allocations: 4 kB / 489.5 MB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.7338, allocations: 0.7418 MB / 490.2 MB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007378/0.7345, allocations: 57.33 kB / 490.2 MB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004252/0.7388, allocations: 1.292 MB / 491.5 MB, free: 11.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007388/0.7396, allocations: 0.928 MB / 492.5 MB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009605/0.7406, allocations: 113.2 kB / 492.6 MB, free: 10.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006116/0.7412, allocations: 259.3 kB / 492.8 MB, free: 9.844 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.7412, allocations: 0 / 492.8 MB, free: 9.844 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06303/0.8042, allocations: 12.65 MB / 0.4936 GB, free: 13.31 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003013/0.8046, allocations: 203.9 kB / 0.4938 GB, free: 13.08 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.279/4.083, allocations: 0 / 0.4938 GB, free: 13.08 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat does not exist to compare? outputFormat=mat