Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.494/2.494, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.105e-05/4.108e-05, allocations: 0 / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1455, allocations: 61.88 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5175/0.6631, allocations: 89.35 MB / 499.7 MB, free: 14.71 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.6635, allocations: 71.95 kB / 499.8 MB, free: 14.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03464/0.6982, allocations: 7.203 MB / 0.4951 GB, free: 7.418 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6982, allocations: 0 / 0.4951 GB, free: 7.418 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.6982, allocations: 8 kB / 0.4951 GB, free: 7.41 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001564/0.6998, allocations: 0.588 MB / 0.4957 GB, free: 6.777 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/0.6999, allocations: 12.03 kB / 0.4957 GB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/0.7, allocations: 66.53 kB / 0.4958 GB, free: 6.691 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.7002, allocations: 39.53 kB / 0.4958 GB, free: 6.652 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005315/0.7007, allocations: 272.3 kB / 0.4961 GB, free: 6.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.7008, allocations: 28.78 kB / 0.4961 GB, free: 6.312 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.241e-05/0.7009, allocations: 31.95 kB / 0.4961 GB, free: 6.281 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008964/0.7018, allocations: 330.3 kB / 0.4964 GB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.7018, allocations: 0 / 0.4964 GB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.836e-05/0.7019, allocations: 12 kB / 0.4964 GB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.7019, allocations: 11.98 kB / 0.4964 GB, free: 5.914 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000931/0.7029, allocations: 204.7 kB / 0.4966 GB, free: 5.715 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004139/0.7071, allocations: 1.29 MB / 0.4979 GB, free: 4.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007312/0.7078, allocations: 170.5 kB / 0.4981 GB, free: 4.137 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.7081, allocations: 55.62 kB / 0.4981 GB, free: 4.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.343e-05/0.7082, allocations: 4.047 kB / 0.4981 GB, free: 4.066 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/0.7082, allocations: 38.72 kB / 0.4982 GB, free: 4.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 4.538e-06/0.7082, allocations: 0 / 0.4982 GB, free: 4.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007709/0.709, allocations: 157.1 kB / 0.4983 GB, free: 3.859 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.7092, allocations: 132.5 kB / 0.4984 GB, free: 3.699 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007373/0.7099, allocations: 282.7 kB / 0.4987 GB, free: 3.418 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.71, allocations: 25.7 kB / 0.4987 GB, free: 3.387 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/0.7103, allocations: 243.3 kB / 0.499 GB, free: 3.145 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.7104, allocations: 51.27 kB / 0.499 GB, free: 3.094 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.7105, allocations: 4 kB / 0.499 GB, free: 3.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002283/0.7107, allocations: 342.8 kB / 0.4993 GB, free: 2.746 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.711, allocations: 52.56 kB / 0.4994 GB, free: 2.691 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/0.7114, allocations: 132 kB / 0.4995 GB, free: 2.523 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.7118, allocations: 76.02 kB / 0.4996 GB, free: 2.449 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.7118, allocations: 4 kB / 0.4996 GB, free: 2.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001047/0.7129, allocations: 245.1 kB / 0.4998 GB, free: 2.199 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.713, allocations: 10.66 kB / 0.4998 GB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.713, allocations: 4 kB / 0.4998 GB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.876e-05/0.7131, allocations: 11.94 kB / 0.4999 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009563/0.714, allocations: 79.89 kB / 0.4999 GB, free: 2.098 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/0.7141, allocations: 4.25 kB / 0.4999 GB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007676/0.7149, allocations: 55.52 kB / 0.5 GB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.715, allocations: 12 kB / 0.5 GB, free: 2.027 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.00017/0.7151, allocations: 116.9 kB / 0.5001 GB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.7154, allocations: 27.77 kB / 0.5001 GB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.7156, allocations: 46.38 kB / 0.5002 GB, free: 1.828 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.7156, allocations: 0 / 0.5002 GB, free: 1.828 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/0.7156, allocations: 11.95 kB / 0.5002 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.7156, allocations: 0 / 0.5002 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.7174, allocations: 0.5798 MB / 0.5008 GB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/0.7175, allocations: 7.953 kB / 0.5008 GB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005742/0.7181, allocations: 48.06 kB / 0.5008 GB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.306e-05/0.7181, allocations: 7.938 kB / 0.5008 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.7181, allocations: 0 / 0.5008 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/0.7182, allocations: 4 kB / 0.5008 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7182, allocations: 0 / 0.5008 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007812/0.719, allocations: 421.6 kB / 0.5012 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.7192, allocations: 112.6 kB / 0.5013 GB, free: 500 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.933e-05/0.7193, allocations: 8 kB / 0.5013 GB, free: 492 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006252/0.72, allocations: 19.97 kB / 0.5014 GB, free: 472 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.7201, allocations: 15.98 kB / 0.5014 GB, free: 456 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.7201, allocations: 8 kB / 0.5014 GB, free: 448 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005375/0.7207, allocations: 226.2 kB / 0.5016 GB, free: 224 kB / 410.7 MB Notification: Performance of sort global known variables: time 9.12e-07/0.7207, allocations: 0 / 0.5016 GB, free: 224 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009888/0.7217, allocations: 71.84 kB / 0.5017 GB, free: 152 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 15 * 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.00146/0.7232, allocations: 1.384 MB / 0.503 GB, free: 14.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006835/0.7239, allocations: 128.1 kB / 0.5031 GB, free: 14.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/0.724, allocations: 4 kB / 0.5031 GB, free: 14.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002658/0.7243, allocations: 56.73 kB / 0.5032 GB, free: 14.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000645/0.7249, allocations: 17.22 kB / 0.5032 GB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.7271, allocations: 421.5 kB / 0.5036 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005882/0.7278, allocations: 0.7794 MB / 0.5044 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003066/0.7281, allocations: 26.06 kB / 0.5044 GB, free: 13.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.7284, allocations: 99.41 kB / 0.5045 GB, free: 13.11 MB / 426.7 MB Notification: Performance of SimCode: time 1.242e-06/0.7284, allocations: 3.938 kB / 0.5045 GB, free: 13.11 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.7585, allocations: 4.449 MB / 0.5088 GB, free: 8.746 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003695/0.759, allocations: 146.3 kB / 0.509 GB, free: 8.523 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.577/3.336, allocations: 0 / 0.509 GB, free: 8.523 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat does not exist to compare? outputFormat=mat