Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.566/2.566, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.684e-05/3.694e-05, allocations: 7.938 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1446, allocations: 61.87 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5369/0.6815, allocations: 90.01 MB / 0.4886 GB, free: 13.96 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003602/0.6819, allocations: 79.95 kB / 0.4887 GB, free: 13.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04386/0.7258, allocations: 9.232 MB / 0.4977 GB, free: 4.531 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.7259, allocations: 0 / 0.4977 GB, free: 4.531 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.7259, allocations: 8 kB / 0.4977 GB, free: 4.523 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001536/0.7274, allocations: 0.5606 MB / 0.4983 GB, free: 3.918 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.7275, allocations: 8.031 kB / 0.4983 GB, free: 3.91 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.7276, allocations: 58.55 kB / 0.4983 GB, free: 3.844 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004551/0.7281, allocations: 51.69 kB / 0.4984 GB, free: 3.793 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.7283, allocations: 198.7 kB / 0.4986 GB, free: 3.559 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.7283, allocations: 16.56 kB / 0.4986 GB, free: 3.543 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.357e-05/0.7284, allocations: 31.94 kB / 0.4986 GB, free: 3.512 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000667/0.7291, allocations: 250.4 kB / 0.4989 GB, free: 3.258 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.7291, allocations: 0 / 0.4989 GB, free: 3.258 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/0.7292, allocations: 8 kB / 0.4989 GB, free: 3.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.7292, allocations: 8 kB / 0.4989 GB, free: 3.242 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005419/0.7298, allocations: 172.9 kB / 0.4991 GB, free: 3.074 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/0.7322, allocations: 1.017 MB / 0.5 GB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/0.7328, allocations: 351.4 kB / 0.5004 GB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/0.7332, allocations: 109.7 kB / 0.5005 GB, free: 1.469 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.7333, allocations: 89.09 kB / 0.5006 GB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.7334, allocations: 34.56 kB / 0.5006 GB, free: 1.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 3.787e-06/0.7334, allocations: 0 / 0.5006 GB, free: 1.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007214/0.7341, allocations: 197.9 kB / 0.5008 GB, free: 1.117 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.7342, allocations: 85.11 kB / 0.5009 GB, free: 1.016 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.7344, allocations: 128.8 kB / 0.501 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.7344, allocations: 25.7 kB / 0.501 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.7346, allocations: 144.2 kB / 0.5012 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.373e-05/0.7347, allocations: 78.92 kB / 0.5012 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.724e-05/0.7347, allocations: 4 kB / 0.5012 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.7348, allocations: 326.8 kB / 0.5015 GB, free: 308 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.735, allocations: 48 kB / 0.5016 GB, free: 260 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.7352, allocations: 86.72 kB / 0.5017 GB, free: 160 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.7354, allocations: 55.98 kB / 0.5017 GB, free: 104 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.7354, allocations: 7.875 kB / 0.5017 GB, free: 96 kB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006678/0.7361, allocations: 223.1 kB / 0.502 GB, free: 15.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.7361, allocations: 4 kB / 0.502 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.7362, allocations: 7.938 kB / 0.502 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002923/0.7365, allocations: 49.7 kB / 0.502 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/0.7368, allocations: 48.09 kB / 0.5021 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/0.7397, allocations: 2.643 MB / 0.5046 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003132/0.7401, allocations: 35.86 kB / 0.5047 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.7401, allocations: 8 kB / 0.5047 GB, free: 12.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.7403, allocations: 119.7 kB / 0.5048 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.8e-05/0.7403, allocations: 19.77 kB / 0.5048 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006609/0.741, allocations: 216.3 kB / 0.505 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.741, allocations: 4 kB / 0.505 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7411, allocations: 0 / 0.505 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.7411, allocations: 11.94 kB / 0.505 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.7426, allocations: 0.6107 MB / 0.5056 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.7426, allocations: 0 / 0.5056 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003414/0.7429, allocations: 39.97 kB / 0.5057 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002117/0.7432, allocations: 45.64 kB / 0.5057 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.7432, allocations: 8 kB / 0.5057 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00256/0.7458, allocations: 2.639 MB / 0.5083 GB, free: 8.734 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.7458, allocations: 4.031 kB / 0.5083 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009294/0.7468, allocations: 491.2 kB / 0.5088 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-05/0.7469, allocations: 92.86 kB / 0.5089 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.7469, allocations: 4 kB / 0.5089 GB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.7473, allocations: 28.03 kB / 0.5089 GB, free: 8.062 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/0.7474, allocations: 19.94 kB / 0.5089 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.7474, allocations: 7.984 kB / 0.5089 GB, free: 8.035 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001157/0.7475, allocations: 105.8 kB / 0.509 GB, free: 7.934 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.236e-06/0.7476, allocations: 0 / 0.509 GB, free: 7.934 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006308/0.7482, allocations: 79.78 kB / 0.5091 GB, free: 7.855 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (permeance.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00164/0.7499, allocations: 1.265 MB / 0.5103 GB, free: 6.539 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.751, allocations: 347.6 kB / 0.5107 GB, free: 6.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.751, allocations: 0 / 0.5107 GB, free: 6.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006224/0.7517, allocations: 287.5 kB / 0.5109 GB, free: 5.879 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.7521, allocations: 8 kB / 0.5109 GB, free: 5.871 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.7535, allocations: 408.8 kB / 0.5113 GB, free: 5.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.7539, allocations: 0.7553 MB / 0.5121 GB, free: 4.645 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001542/0.7541, allocations: 17.2 kB / 0.5121 GB, free: 4.629 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.7542, allocations: 55.41 kB / 0.5121 GB, free: 4.574 MB / 426.7 MB Notification: Performance of SimCode: time 1.342e-06/0.7542, allocations: 0 / 0.5121 GB, free: 4.574 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.7803, allocations: 3.98 MB / 0.516 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003344/0.7807, allocations: 191 kB / 0.5162 GB, free: 468 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/3.197, allocations: 0 / 0.5162 GB, free: 468 kB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat does not exist to compare? outputFormat=mat