Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.134/2.134, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.514e-05/3.522e-05, allocations: 4 kB / 292.8 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1243, allocations: 50.41 MB / 343.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4614/0.5857, allocations: 84.02 MB / 427.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.5861, allocations: 85.25 kB / 427.3 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07376/0.6599, allocations: 19.58 MB / 446.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6599, allocations: 0 / 446.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.172e-05/0.6599, allocations: 12 kB / 446.9 MB, free: 10.17 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004092/0.664, allocations: 0.9506 MB / 447.8 MB, free: 9.242 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.6641, allocations: 8.031 kB / 447.8 MB, free: 9.234 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002092/0.6643, allocations: 119 kB / 447.9 MB, free: 9.152 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.6659, allocations: 176.8 kB / 448.1 MB, free: 8.996 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.6662, allocations: 231 kB / 448.3 MB, free: 8.727 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.815e-05/0.6663, allocations: 47 kB / 448.4 MB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.6665, allocations: 69.11 kB / 448.5 MB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.6682, allocations: 0.6516 MB / 449.1 MB, free: 8.211 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/0.6682, allocations: 3.562 kB / 449.1 MB, free: 8.211 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.6683, allocations: 29.88 kB / 449.1 MB, free: 8.199 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.6684, allocations: 19.95 kB / 449.2 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.6699, allocations: 0.538 MB / 449.7 MB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005593/0.6755, allocations: 2.353 MB / 452.1 MB, free: 5.418 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/0.6784, allocations: 1.631 MB / 453.7 MB, free: 3.555 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006405/0.6791, allocations: 243.7 kB / 453.9 MB, free: 3.309 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.6793, allocations: 93.67 kB / 454 MB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.6794, allocations: 47.05 kB / 454.1 MB, free: 3.145 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 4.198e-06/0.6794, allocations: 4 kB / 454.1 MB, free: 3.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.001407/0.6808, allocations: 462.7 kB / 454.5 MB, free: 2.684 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.056e-05/0.6809, allocations: 111.4 kB / 454.6 MB, free: 2.551 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/0.6813, allocations: 229.1 kB / 454.9 MB, free: 2.324 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.11e-05/0.6814, allocations: 33.7 kB / 454.9 MB, free: 2.285 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.6816, allocations: 271.9 kB / 455.1 MB, free: 2.012 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.6819, allocations: 224.7 kB / 455.4 MB, free: 1.789 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.6819, allocations: 12 kB / 455.4 MB, free: 1.777 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.6821, allocations: 354.8 kB / 455.7 MB, free: 1.422 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005786/0.6827, allocations: 177.6 kB / 455.9 MB, free: 1.246 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006688/0.6834, allocations: 265.8 kB / 456.2 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006456/0.6841, allocations: 222.1 kB / 456.4 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.6841, allocations: 0 / 456.4 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0016/0.6857, allocations: 0.5623 MB / 456.9 MB, free: 184 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.6857, allocations: 4 kB / 456.9 MB, free: 180 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.6858, allocations: 4 kB / 456.9 MB, free: 176 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.6858, allocations: 12.19 kB / 457 MB, free: 164 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.6873, allocations: 167.8 kB / 457.1 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.941e-05/0.6873, allocations: 4 kB / 457.1 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008731/0.6882, allocations: 75.2 kB / 457.2 MB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.183e-05/0.6883, allocations: 27.98 kB / 457.2 MB, free: 15.89 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002056/0.6885, allocations: 148.8 kB / 457.4 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.6886, allocations: 35.62 kB / 457.4 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.6903, allocations: 0.546 MB / 458 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.6903, allocations: 4 kB / 458 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.6903, allocations: 0 / 458 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.6904, allocations: 7.984 kB / 458 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/0.6933, allocations: 1.206 MB / 459.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6934, allocations: 4 kB / 459.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.6946, allocations: 135.8 kB / 459.3 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/0.6946, allocations: 4 kB / 459.3 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.6947, allocations: 19.98 kB / 459.3 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/0.6947, allocations: 7.953 kB / 459.3 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6947, allocations: 0 / 459.3 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.6968, allocations: 0.8948 MB / 460.2 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.697, allocations: 132.4 kB / 460.4 MB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.6971, allocations: 23.89 kB / 460.4 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007669/0.6979, allocations: 31.97 kB / 460.4 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.698, allocations: 44.5 kB / 460.5 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.743e-05/0.6981, allocations: 24 kB / 460.5 MB, free: 12.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003066/0.6984, allocations: 185.4 kB / 460.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6984, allocations: 0 / 460.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008758/0.6993, allocations: 179.5 kB / 460.8 MB, free: 12.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002617/0.7019, allocations: 1.587 MB / 462.4 MB, free: 10.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.7033, allocations: 482.2 kB / 462.9 MB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.7034, allocations: 0 / 462.9 MB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006158/0.704, allocations: 242 kB / 463.1 MB, free: 9.836 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004958/0.7045, allocations: 32.42 kB / 463.2 MB, free: 9.805 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/0.7079, allocations: 0.9041 MB / 464.1 MB, free: 8.859 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005414/0.7085, allocations: 0.8578 MB / 464.9 MB, free: 7.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007442/0.7092, allocations: 75.41 kB / 465 MB, free: 7.906 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004482/0.7097, allocations: 191.3 kB / 465.2 MB, free: 7.719 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.7097, allocations: 0 / 465.2 MB, free: 7.719 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04232/0.752, allocations: 8.811 MB / 474 MB, free: 15.05 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003147/0.7524, allocations: 181.6 kB / 474.2 MB, free: 14.83 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.86/3.612, allocations: 0 / 474.2 MB, free: 14.83 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat does not exist to compare? outputFormat=mat