Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.234/2.234, allocations: 225.8 MB / 239.3 MB, free: 1.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.395e-05/3.405e-05, allocations: 5.094 kB / 292.7 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 50.41 MB / 343.1 MB, free: 9 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4626/0.5736, allocations: 80.62 MB / 423.8 MB, free: 8.391 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.5739, allocations: 68.3 kB / 423.8 MB, free: 8.391 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03404/0.6079, allocations: 8.365 MB / 432.2 MB, free: 6.004 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.608, allocations: 0 / 432.2 MB, free: 6.004 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.655e-05/0.608, allocations: 11.47 kB / 432.2 MB, free: 6.004 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001592/0.6096, allocations: 0.7159 MB / 432.9 MB, free: 5.457 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.6097, allocations: 11.56 kB / 432.9 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002129/0.6099, allocations: 102.1 kB / 433 MB, free: 5.398 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.6101, allocations: 73.88 kB / 433.1 MB, free: 5.359 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006956/0.6108, allocations: 356.8 kB / 433.5 MB, free: 5.078 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/0.6109, allocations: 41.97 kB / 433.5 MB, free: 5.074 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.611, allocations: 59.3 kB / 433.6 MB, free: 5.066 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.6121, allocations: 469.5 kB / 434 MB, free: 4.938 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.6122, allocations: 0 / 434 MB, free: 4.938 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.057e-05/0.6122, allocations: 25.2 kB / 434 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.6123, allocations: 15.38 kB / 434.1 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008702/0.6131, allocations: 304.8 kB / 434.4 MB, free: 4.918 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004294/0.6175, allocations: 1.747 MB / 436.1 MB, free: 3.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.6181, allocations: 242 kB / 436.3 MB, free: 3.785 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.6184, allocations: 128.8 kB / 436.5 MB, free: 3.766 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.6184, allocations: 10.78 kB / 436.5 MB, free: 3.762 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.6185, allocations: 45.22 kB / 436.5 MB, free: 3.715 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 3.046e-06/0.6185, allocations: 0 / 436.5 MB, free: 3.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.00196/0.6205, allocations: 0.7505 MB / 437.3 MB, free: 3.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.6205, allocations: 84.98 kB / 437.4 MB, free: 3.152 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005172/0.6211, allocations: 334.2 kB / 437.7 MB, free: 3.023 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.6211, allocations: 36.42 kB / 437.7 MB, free: 2.992 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.6213, allocations: 290.1 kB / 438 MB, free: 2.793 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.274e-05/0.6214, allocations: 114.3 kB / 438.1 MB, free: 2.711 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.6214, allocations: 10.56 kB / 438.1 MB, free: 2.711 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.355e-05/0.6215, allocations: 351.7 kB / 438.5 MB, free: 2.383 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.6218, allocations: 85.03 kB / 438.5 MB, free: 2.383 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.6221, allocations: 181.3 kB / 438.7 MB, free: 2.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.6224, allocations: 112.2 kB / 438.8 MB, free: 2.254 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.6225, allocations: 3.875 kB / 438.8 MB, free: 2.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001124/0.6236, allocations: 427.4 kB / 439.3 MB, free: 2.117 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.6237, allocations: 7.656 kB / 439.3 MB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.6237, allocations: 0 / 439.3 MB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005087/0.6242, allocations: 85.53 kB / 439.3 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/0.6248, allocations: 79.16 kB / 439.4 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003294/0.6281, allocations: 2.833 MB / 442.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006337/0.6288, allocations: 22.92 kB / 442.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.6289, allocations: 22.81 kB / 442.3 MB, free: 15.38 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.6291, allocations: 127.3 kB / 442.4 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.6292, allocations: 46.28 kB / 442.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.6293, allocations: 44.48 kB / 442.5 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.6293, allocations: 3.594 kB / 442.5 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.6294, allocations: 3.969 kB / 442.5 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.6294, allocations: 3.984 kB / 442.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.6313, allocations: 0.9253 MB / 443.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.6314, allocations: 0 / 443.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003679/0.6318, allocations: 50.41 kB / 443.5 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004303/0.6322, allocations: 85.73 kB / 443.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.6323, allocations: 3.5 kB / 443.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003348/0.6356, allocations: 2.847 MB / 446.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.6357, allocations: 3.953 kB / 446.4 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.637, allocations: 0.5904 MB / 447 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001877/0.6372, allocations: 116 kB / 447.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.24e-05/0.6373, allocations: 7.5 kB / 447.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006009/0.6379, allocations: 31.3 kB / 447.2 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.6381, allocations: 31.17 kB / 447.2 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.6381, allocations: 15.23 kB / 447.2 MB, free: 11.47 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004914/0.6386, allocations: 265.7 kB / 447.5 MB, free: 11.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6386, allocations: 0 / 447.5 MB, free: 11.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009449/0.6396, allocations: 121.3 kB / 447.6 MB, free: 11.36 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001735/0.6413, allocations: 1.218 MB / 448.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.6426, allocations: 476.7 kB / 449.3 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.6427, allocations: 4.469 kB / 449.3 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008266/0.6435, allocations: 355.4 kB / 449.6 MB, free: 9.988 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007036/0.6442, allocations: 52.22 kB / 449.7 MB, free: 9.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.647, allocations: 0.8273 MB / 450.5 MB, free: 9.473 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/0.6475, allocations: 0.8552 MB / 451.4 MB, free: 8.688 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000371/0.6479, allocations: 46.47 kB / 451.4 MB, free: 8.664 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/0.6482, allocations: 173.1 kB / 451.6 MB, free: 8.641 MB / 346.7 MB Notification: Performance of SimCode: time 1.522e-06/0.6483, allocations: 3.938 kB / 451.6 MB, free: 8.637 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03794/0.6862, allocations: 7.948 MB / 459.5 MB, free: 4.73 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002882/0.6866, allocations: 182.1 kB / 459.7 MB, free: 4.508 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.683/3.369, allocations: 0 / 459.7 MB, free: 4.508 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat does not exist to compare? outputFormat=mat