Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.962/1.962, allocations: 225.8 MB / 239.3 MB, free: 1.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.797e-05/3.797e-05, allocations: 5.406 kB / 292.8 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1041, allocations: 50.4 MB / 343.2 MB, free: 8.98 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5425/0.6466, allocations: 88.13 MB / 431.3 MB, free: 6.828 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.647, allocations: 91.19 kB / 431.4 MB, free: 6.812 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1231/0.7701, allocations: 35.5 MB / 466.9 MB, free: 3.961 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.7701, allocations: 0 / 466.9 MB, free: 3.961 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.524e-05/0.7702, allocations: 20 kB / 466.9 MB, free: 3.941 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.007379/0.7776, allocations: 1.484 MB / 468.4 MB, free: 2.566 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.7777, allocations: 12.03 kB / 468.4 MB, free: 2.555 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004462/0.7781, allocations: 189.4 kB / 468.6 MB, free: 2.441 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004792/0.7829, allocations: 459.1 kB / 469 MB, free: 2.035 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005074/0.7835, allocations: 296.7 kB / 469.3 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.7836, allocations: 94.95 kB / 469.4 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004425/0.7841, allocations: 129.1 kB / 469.5 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003382/0.7875, allocations: 1.206 MB / 470.7 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.706e-05/0.7876, allocations: 3.062 kB / 470.7 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/0.7878, allocations: 59.33 kB / 470.8 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/0.7878, allocations: 35.94 kB / 470.8 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003499/0.7914, allocations: 1.073 MB / 471.9 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01163/0.803, allocations: 4.257 MB / 476.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003682/0.8068, allocations: 2.226 MB / 478.4 MB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/0.8083, allocations: 0.504 MB / 478.9 MB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002232/0.8085, allocations: 113 kB / 479 MB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.8086, allocations: 43.56 kB / 479 MB, free: 8.445 MB / 362.7 MB Notification: Performance of pre-optimization done (n=122): time 3.647e-06/0.8086, allocations: 0 / 479 MB, free: 8.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=125): time 0.01257/0.8212, allocations: 2.779 MB / 481.8 MB, free: 5.602 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.765e-05/0.8213, allocations: 94.11 kB / 481.9 MB, free: 5.492 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006117/0.8219, allocations: 347.3 kB / 482.3 MB, free: 5.148 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000115/0.8221, allocations: 45.7 kB / 482.3 MB, free: 5.098 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003829/0.8224, allocations: 450.6 kB / 482.7 MB, free: 4.652 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004722/0.8229, allocations: 428.8 kB / 483.2 MB, free: 4.238 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.8231, allocations: 24 kB / 483.2 MB, free: 4.215 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.8233, allocations: 374.8 kB / 483.5 MB, free: 3.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.8243, allocations: 348 kB / 483.9 MB, free: 3.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.8257, allocations: 0.6125 MB / 484.5 MB, free: 2.773 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.827, allocations: 449 kB / 484.9 MB, free: 2.336 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.827, allocations: 0 / 484.9 MB, free: 2.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003698/0.8307, allocations: 1.291 MB / 486.2 MB, free: 1.031 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.8308, allocations: 8 kB / 486.2 MB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.8308, allocations: 8 kB / 486.2 MB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008637/0.8317, allocations: 189.6 kB / 486.4 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002544/0.8342, allocations: 307.5 kB / 486.7 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006235/0.8405, allocations: 3.97 MB / 490.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.8423, allocations: 96 kB / 490.8 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/0.8425, allocations: 51.98 kB / 490.8 MB, free: 12.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 144 * 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%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003463/0.8428, allocations: 184.6 kB / 491 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.843, allocations: 71.16 kB / 491.1 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003653/0.8467, allocations: 1.187 MB / 492.3 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.8467, allocations: 15.94 kB / 492.3 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.8468, allocations: 4 kB / 492.3 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/0.8468, allocations: 7.969 kB / 492.3 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006321/0.8531, allocations: 2.371 MB / 494.7 MB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.8532, allocations: 0 / 494.7 MB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002093/0.8553, allocations: 227.8 kB / 494.9 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007717/0.8561, allocations: 169.5 kB / 495.1 MB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.8562, allocations: 31.98 kB / 495.1 MB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005681/0.8619, allocations: 3.771 MB / 498.9 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.8619, allocations: 0 / 498.9 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00469/0.8666, allocations: 1.696 MB / 0.4888 GB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005864/0.8673, allocations: 232.2 kB / 0.4891 GB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.8674, allocations: 20.38 kB / 0.4891 GB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.8688, allocations: 76 kB / 0.4891 GB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002908/0.8691, allocations: 100.8 kB / 0.4892 GB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.8692, allocations: 35.98 kB / 0.4893 GB, free: 1.555 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000476/0.8697, allocations: 262.1 kB / 0.4895 GB, free: 1.301 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.8697, allocations: 0 / 0.4895 GB, free: 1.301 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00252/0.8723, allocations: 311.9 kB / 0.4898 GB, free: 0.9961 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (voltageSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 104 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006971/0.8793, allocations: 2.618 MB / 0.4924 GB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004499/0.8838, allocations: 1.247 MB / 0.4936 GB, free: 13.06 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.8838, allocations: 0 / 0.4936 GB, free: 13.06 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002645/0.8865, allocations: 0.7704 MB / 0.4944 GB, free: 12.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008519/0.8874, allocations: 57.22 kB / 0.4944 GB, free: 12.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008003/0.8954, allocations: 1.522 MB / 0.4959 GB, free: 10.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.8965, allocations: 1.021 MB / 0.4969 GB, free: 9.594 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001806/0.8983, allocations: 150.6 kB / 0.497 GB, free: 9.441 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/0.8995, allocations: 355.3 kB / 0.4974 GB, free: 9.094 MB / 394.7 MB Notification: Performance of SimCode: time 1.222e-06/0.8995, allocations: 0 / 0.4974 GB, free: 9.094 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08579/0.9853, allocations: 16.51 MB / 0.5135 GB, free: 8.727 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/0.9855, allocations: 214.4 kB / 0.5137 GB, free: 8.496 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.217/4.202, allocations: 0 / 0.5137 GB, free: 8.496 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat does not exist to compare? outputFormat=mat