Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.815/1.815, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.548e-05/2.567e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08966/0.08971, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4325/0.5223, allocations: 85.2 MB / 385.2 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.5226, allocations: 79.94 kB / 385.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07409/0.5967, allocations: 15.49 MB / 400.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5968, allocations: 0 / 400.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.448e-05/0.5968, allocations: 11.44 kB / 400.8 MB, free: 10.55 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002415/0.5993, allocations: 0.8528 MB / 401.6 MB, free: 9.941 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.5993, allocations: 11.62 kB / 401.6 MB, free: 9.941 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002246/0.5996, allocations: 104.2 kB / 401.7 MB, free: 9.883 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002941/0.5999, allocations: 81.98 kB / 401.8 MB, free: 9.844 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.601, allocations: 497.9 kB / 402.3 MB, free: 9.535 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.977e-05/0.6011, allocations: 73.45 kB / 402.4 MB, free: 9.496 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003029/0.6014, allocations: 67.45 kB / 402.4 MB, free: 9.488 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.6028, allocations: 0.5685 MB / 403 MB, free: 9.336 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.6029, allocations: 0 / 403 MB, free: 9.336 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-05/0.6029, allocations: 18.69 kB / 403 MB, free: 9.336 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.603, allocations: 19.33 kB / 403 MB, free: 9.332 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.6042, allocations: 481.9 kB / 403.5 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005138/0.6094, allocations: 2.325 MB / 405.8 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.6105, allocations: 432.7 kB / 406.2 MB, free: 7.934 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005765/0.6111, allocations: 244 kB / 406.5 MB, free: 7.906 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.04e-05/0.6111, allocations: 15.38 kB / 406.5 MB, free: 7.898 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.6112, allocations: 37.72 kB / 406.5 MB, free: 7.859 MB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 2.905e-06/0.6112, allocations: 0 / 406.5 MB, free: 7.859 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.01874/0.6299, allocations: 3.012 MB / 409.5 MB, free: 6.859 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.63, allocations: 85.42 kB / 409.6 MB, free: 6.766 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009607/0.631, allocations: 490.3 kB / 410.1 MB, free: 6.617 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001531/0.6312, allocations: 37.39 kB / 410.1 MB, free: 6.586 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.6314, allocations: 303.8 kB / 410.4 MB, free: 6.398 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.6316, allocations: 213.8 kB / 410.7 MB, free: 6.242 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/0.6317, allocations: 15.25 kB / 410.7 MB, free: 6.242 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.6318, allocations: 364.1 kB / 411 MB, free: 5.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006355/0.6325, allocations: 229.1 kB / 411.2 MB, free: 5.902 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006603/0.6331, allocations: 319.6 kB / 411.6 MB, free: 5.801 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000655/0.6338, allocations: 252.7 kB / 411.8 MB, free: 5.773 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.6338, allocations: 0 / 411.8 MB, free: 5.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.01222/0.646, allocations: 1.793 MB / 413.6 MB, free: 5.328 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.6461, allocations: 7.781 kB / 413.6 MB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.6461, allocations: 0 / 413.6 MB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01127/0.6574, allocations: 1.167 MB / 414.8 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007707/0.6582, allocations: 93.34 kB / 414.9 MB, free: 5.043 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01982/0.6781, allocations: 5.783 MB / 420.6 MB, free: 2.879 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.6793, allocations: 41.75 kB / 420.7 MB, free: 2.871 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.142e-05/0.6794, allocations: 22.31 kB / 420.7 MB, free: 2.871 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 30} Notification: Performance of prepare postOptimizeDAE: time 0.0002011/0.6796, allocations: 138.5 kB / 420.8 MB, free: 2.754 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.6798, allocations: 62.02 kB / 420.9 MB, free: 2.723 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.6819, allocations: 0.7672 MB / 421.7 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.6819, allocations: 7.719 kB / 421.7 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.6819, allocations: 0 / 421.7 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.6819, allocations: 3.984 kB / 421.7 MB, free: 2.551 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005169/0.6871, allocations: 1.837 MB / 423.5 MB, free: 1.879 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/0.6872, allocations: 0 / 423.5 MB, free: 1.879 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.6883, allocations: 121.3 kB / 423.6 MB, free: 1.848 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002742/0.691, allocations: 341.7 kB / 424 MB, free: 1.746 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/0.6912, allocations: 18.19 kB / 424 MB, free: 1.738 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006322/0.6975, allocations: 2.81 MB / 426.8 MB, free: 16.15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6975, allocations: 0 / 426.8 MB, free: 16.15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003716/0.7013, allocations: 1.281 MB / 428.1 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004887/0.7018, allocations: 205.9 kB / 428.3 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.702, allocations: 11.88 kB / 428.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.703, allocations: 49.95 kB / 428.3 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.7033, allocations: 55.7 kB / 428.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-05/0.7033, allocations: 19.11 kB / 428.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000701/0.704, allocations: 379.3 kB / 428.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.7041, allocations: 0 / 428.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001247/0.7053, allocations: 220.9 kB / 429 MB, free: 15.25 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.Phi,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.004612/0.71, allocations: 1.95 MB / 431 MB, free: 13.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002286/0.7123, allocations: 0.8123 MB / 431.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.7123, allocations: 0 / 431.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.7135, allocations: 494.5 kB / 432.2 MB, free: 13.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009094/0.7145, allocations: 80.72 kB / 432.3 MB, free: 13.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00414/0.7186, allocations: 1.24 MB / 433.6 MB, free: 12.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/0.7193, allocations: 0.9231 MB / 434.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005498/0.7198, allocations: 62.84 kB / 434.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005231/0.7204, allocations: 226.4 kB / 434.8 MB, free: 11.22 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7204, allocations: 0 / 434.8 MB, free: 11.22 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0791/0.7995, allocations: 17.9 MB / 452.7 MB, free: 10.33 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003312/0.7999, allocations: 225.3 kB / 452.9 MB, free: 10.1 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.018/3.818, allocations: 0 / 452.9 MB, free: 10.1 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat does not exist to compare? outputFormat=mat