Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.862/1.862, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.835e-05, allocations: 0 / 269.5 MB, free: 6.289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1215, allocations: 47.57 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4114/0.5329, allocations: 89.98 MB / 407 MB, free: 13.74 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.5333, allocations: 79.52 kB / 407.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0698/0.6031, allocations: 15.5 MB / 422.6 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6031, allocations: 0 / 422.6 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.866e-05/0.6032, allocations: 16 kB / 422.6 MB, free: 0.4961 MB / 330.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.002507/0.6057, allocations: 0.8534 MB / 423.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.6058, allocations: 12.03 kB / 423.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001663/0.606, allocations: 96.19 kB / 423.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/0.6062, allocations: 79.06 kB / 423.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009862/0.6072, allocations: 499.4 kB / 424.1 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.6073, allocations: 77.02 kB / 424.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003144/0.6076, allocations: 68.55 kB / 424.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.609, allocations: 0.555 MB / 424.8 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.6091, allocations: 3.906 kB / 424.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.527e-05/0.6092, allocations: 25.19 kB / 424.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.6092, allocations: 12 kB / 424.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.6105, allocations: 475.5 kB / 425.3 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005048/0.6156, allocations: 2.331 MB / 427.7 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.6166, allocations: 420.6 kB / 428.1 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006023/0.6172, allocations: 239.8 kB / 428.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-05/0.6173, allocations: 4.234 kB / 428.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.6173, allocations: 45.48 kB / 428.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 2.825e-06/0.6173, allocations: 0 / 428.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.01928/0.6366, allocations: 3.024 MB / 431.4 MB, free: 9.379 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.6367, allocations: 89.61 kB / 431.5 MB, free: 9.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009351/0.6377, allocations: 487.4 kB / 431.9 MB, free: 8.914 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.635e-05/0.6378, allocations: 36.14 kB / 432 MB, free: 8.879 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.638, allocations: 303.1 kB / 432.3 MB, free: 8.664 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/0.6383, allocations: 220.8 kB / 432.5 MB, free: 8.473 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-05/0.6383, allocations: 14.31 kB / 432.5 MB, free: 8.469 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.6385, allocations: 366.6 kB / 432.9 MB, free: 8.125 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006231/0.6392, allocations: 221.1 kB / 433.1 MB, free: 8.004 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007001/0.6399, allocations: 313.9 kB / 433.4 MB, free: 7.777 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006958/0.6406, allocations: 264.9 kB / 433.6 MB, free: 7.625 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.6406, allocations: 0 / 433.6 MB, free: 7.625 MB / 346.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.01282/0.6534, allocations: 1.783 MB / 435.4 MB, free: 6.156 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.6535, allocations: 8 kB / 435.4 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.6535, allocations: 0 / 435.4 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01207/0.6656, allocations: 1.168 MB / 436.6 MB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008099/0.6664, allocations: 95.19 kB / 436.7 MB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02153/0.688, allocations: 5.769 MB / 442.5 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.6892, allocations: 51.72 kB / 442.5 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.646e-05/0.6893, allocations: 26.23 kB / 442.5 MB, free: 0.918 MB / 346.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.0002242/0.6895, allocations: 135.5 kB / 442.7 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.6897, allocations: 55.34 kB / 442.7 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/0.6919, allocations: 0.7747 MB / 443.5 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.692, allocations: 11.95 kB / 443.5 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.692, allocations: 0 / 443.5 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.692, allocations: 4 kB / 443.5 MB, free: 228 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005738/0.6977, allocations: 1.827 MB / 445.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.6978, allocations: 0 / 445.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.6989, allocations: 119.8 kB / 445.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002936/0.7018, allocations: 336.5 kB / 445.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.702, allocations: 19.98 kB / 445.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00692/0.7089, allocations: 2.81 MB / 448.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.709, allocations: 0 / 448.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00399/0.713, allocations: 1.279 MB / 449.9 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004411/0.7135, allocations: 204.5 kB / 450.1 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.7136, allocations: 12 kB / 450.1 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.7147, allocations: 51.97 kB / 450.2 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.7149, allocations: 48.48 kB / 450.2 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.526e-05/0.715, allocations: 16 kB / 450.2 MB, free: 9.363 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000747/0.7158, allocations: 385.6 kB / 450.6 MB, free: 8.992 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7158, allocations: 0 / 450.6 MB, free: 8.992 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001228/0.717, allocations: 216 kB / 450.8 MB, free: 8.781 MB / 362.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.004541/0.7216, allocations: 1.966 MB / 452.8 MB, free: 6.777 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002229/0.7238, allocations: 0.7876 MB / 453.6 MB, free: 5.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.7239, allocations: 0.5625 kB / 453.6 MB, free: 5.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.725, allocations: 483.5 kB / 454 MB, free: 5.496 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008943/0.726, allocations: 83.64 kB / 454.1 MB, free: 5.418 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004171/0.7301, allocations: 1.226 MB / 455.3 MB, free: 4.156 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006041/0.7308, allocations: 0.9277 MB / 456.3 MB, free: 3.199 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004904/0.7313, allocations: 52.78 kB / 456.3 MB, free: 3.145 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005244/0.7318, allocations: 235.3 kB / 456.6 MB, free: 2.914 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7318, allocations: 0 / 456.6 MB, free: 2.914 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06249/0.7943, allocations: 17.83 MB / 474.4 MB, free: 1.148 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000302/0.7947, allocations: 215.6 kB / 474.6 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.043/3.837, allocations: 0 / 474.6 MB, free: 0.9258 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat does not exist to compare? outputFormat=mat