Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.115/2.115, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.529e-05/3.54e-05, allocations: 4 kB / 292.8 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 50.41 MB / 343.2 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4537/0.5596, allocations: 82.7 MB / 425.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004138/0.5601, allocations: 94.12 kB / 426 MB, free: 11.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.112/0.6721, allocations: 20.73 MB / 446.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6722, allocations: 0 / 446.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.876e-05/0.6722, allocations: 12 kB / 446.7 MB, free: 10.58 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.006657/0.6789, allocations: 0.978 MB / 447.7 MB, free: 9.633 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.503e-05/0.679, allocations: 12.03 kB / 447.7 MB, free: 9.621 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003604/0.6794, allocations: 124.8 kB / 447.8 MB, free: 9.535 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003633/0.683, allocations: 204.7 kB / 448 MB, free: 9.359 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.6835, allocations: 235.9 kB / 448.2 MB, free: 9.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.6836, allocations: 57.62 kB / 448.3 MB, free: 9.059 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003233/0.6839, allocations: 71.62 kB / 448.4 MB, free: 9.012 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/0.6868, allocations: 0.7176 MB / 449.1 MB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-05/0.6869, allocations: 4 kB / 449.1 MB, free: 8.492 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001702/0.6871, allocations: 28 kB / 449.1 MB, free: 8.465 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/0.6872, allocations: 23.95 kB / 449.1 MB, free: 8.441 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002823/0.69, allocations: 0.5962 MB / 449.7 MB, free: 7.844 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01089/0.7009, allocations: 3.142 MB / 452.9 MB, free: 4.445 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005327/0.7063, allocations: 2.036 MB / 454.9 MB, free: 2.113 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.7077, allocations: 296 kB / 455.2 MB, free: 1.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002455/0.708, allocations: 97.88 kB / 455.3 MB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.864e-05/0.7081, allocations: 47.3 kB / 455.3 MB, free: 1.648 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 5.45e-06/0.7081, allocations: 0 / 455.3 MB, free: 1.648 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.002855/0.711, allocations: 0.5873 MB / 455.9 MB, free: 1.051 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.7111, allocations: 115.5 kB / 456 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006315/0.7118, allocations: 250.8 kB / 456.3 MB, free: 0.668 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.7119, allocations: 37.7 kB / 456.3 MB, free: 0.625 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/0.7123, allocations: 291.4 kB / 456.6 MB, free: 340 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003868/0.7127, allocations: 248.4 kB / 456.9 MB, free: 88 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.168e-05/0.7128, allocations: 16 kB / 456.9 MB, free: 72 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002636/0.7131, allocations: 354.8 kB / 457.2 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.7141, allocations: 202 kB / 457.4 MB, free: 15.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.7153, allocations: 340.2 kB / 457.7 MB, free: 15.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.7165, allocations: 258 kB / 458 MB, free: 14.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.7166, allocations: 4 kB / 458 MB, free: 14.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003489/0.7201, allocations: 0.7514 MB / 458.8 MB, free: 14.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.7202, allocations: 11.98 kB / 458.8 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.7202, allocations: 7.938 kB / 458.8 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009616/0.7212, allocations: 121.8 kB / 458.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/0.7234, allocations: 159.8 kB / 459.1 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006751/0.7302, allocations: 3.404 MB / 462.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.7317, allocations: 99.09 kB / 462.6 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.7319, allocations: 28 kB / 462.6 MB, free: 10.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003483/0.7323, allocations: 156.8 kB / 462.7 MB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/0.7325, allocations: 39.53 kB / 462.8 MB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003287/0.7358, allocations: 0.6856 MB / 463.5 MB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.7359, allocations: 8 kB / 463.5 MB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.7359, allocations: 0 / 463.5 MB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.7359, allocations: 7.984 kB / 463.5 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005589/0.7415, allocations: 1.457 MB / 464.9 MB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.7416, allocations: 0 / 464.9 MB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/0.7433, allocations: 111.9 kB / 465 MB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008063/0.7441, allocations: 113.6 kB / 465.1 MB, free: 7.348 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.7442, allocations: 23.98 kB / 465.2 MB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005599/0.7498, allocations: 3.103 MB / 468.3 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.7499, allocations: 0 / 468.3 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003983/0.7539, allocations: 1.048 MB / 469.3 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/0.7542, allocations: 132.5 kB / 469.5 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.7543, allocations: 15.95 kB / 469.5 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.7555, allocations: 31.97 kB / 469.5 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/0.7557, allocations: 56.77 kB / 469.6 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.805e-05/0.7558, allocations: 20 kB / 469.6 MB, free: 2.605 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004373/0.7563, allocations: 187.1 kB / 469.8 MB, free: 2.422 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.7563, allocations: 0 / 469.8 MB, free: 2.422 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001834/0.7582, allocations: 223.5 kB / 470 MB, free: 2.203 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (cuboidBottom.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 58 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0052/0.7634, allocations: 1.736 MB / 471.7 MB, free: 440 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00295/0.7664, allocations: 0.7972 MB / 472.5 MB, free: 15.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.7665, allocations: 0 / 472.5 MB, free: 15.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001593/0.7681, allocations: 0.5149 MB / 473 MB, free: 15.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006893/0.7688, allocations: 28.45 kB / 473.1 MB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004716/0.7736, allocations: 0.9264 MB / 474 MB, free: 14.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007968/0.7744, allocations: 0.8811 MB / 474.9 MB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001065/0.7755, allocations: 80.36 kB / 474.9 MB, free: 13.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006233/0.7761, allocations: 195.4 kB / 475.1 MB, free: 12.91 MB / 394.7 MB Notification: Performance of SimCode: time 3.797e-06/0.7762, allocations: 0 / 475.1 MB, free: 12.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05347/0.8296, allocations: 10.11 MB / 485.2 MB, free: 2.91 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00031/0.83, allocations: 208.7 kB / 485.4 MB, free: 2.684 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.012/3.843, allocations: 4 kB / 485.4 MB, free: 2.68 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat does not exist to compare? outputFormat=mat