Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.083/2.083, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.863e-05/3.878e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3054, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.4422, allocations: 73.97 MB / 368.2 MB, free: 7.867 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.4425, allocations: 71.97 kB / 368.3 MB, free: 7.797 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03563/0.4782, allocations: 7.902 MB / 376.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.4783, allocations: 0 / 376.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.842e-05/0.4783, allocations: 8 kB / 376.2 MB, free: 15.85 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.001905/0.4802, allocations: 0.7246 MB / 376.9 MB, free: 15.08 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/0.4803, allocations: 8.031 kB / 376.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002278/0.4805, allocations: 63.3 kB / 377 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007703/0.4813, allocations: 359.4 kB / 377.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.4814, allocations: 16 kB / 377.3 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.4815, allocations: 28 kB / 377.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008386/0.4824, allocations: 274.6 kB / 377.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009973/0.4834, allocations: 388.7 kB / 378 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.4834, allocations: 3.938 kB / 378 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.674e-05/0.4835, allocations: 4 kB / 378 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.4835, allocations: 15.95 kB / 378 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004357/0.4879, allocations: 1.62 MB / 379.7 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005693/0.4885, allocations: 229.1 kB / 379.9 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.4888, allocations: 121.7 kB / 380 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.472e-05/0.4889, allocations: 7.969 kB / 380 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.4889, allocations: 42.5 kB / 380 MB, free: 11.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 3.346e-06/0.489, allocations: 0 / 380 MB, free: 11.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.002023/0.491, allocations: 0.7076 MB / 380.8 MB, free: 10.99 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.4911, allocations: 85.05 kB / 380.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005236/0.4916, allocations: 302.3 kB / 381.1 MB, free: 10.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.827e-05/0.4917, allocations: 29.7 kB / 381.2 MB, free: 10.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/0.492, allocations: 287.3 kB / 381.4 MB, free: 10.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.4921, allocations: 106.4 kB / 381.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.4921, allocations: 0 / 381.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.4923, allocations: 354.8 kB / 381.9 MB, free: 9.805 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.4926, allocations: 80.88 kB / 382 MB, free: 9.727 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.4929, allocations: 162 kB / 382.1 MB, free: 9.523 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.4933, allocations: 116 kB / 382.2 MB, free: 9.414 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4933, allocations: 0 / 382.2 MB, free: 9.414 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001129/0.4944, allocations: 381.2 kB / 382.6 MB, free: 9.031 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.4945, allocations: 8 kB / 382.6 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.4945, allocations: 0 / 382.6 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004862/0.495, allocations: 85.97 kB / 382.7 MB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/0.4956, allocations: 75.89 kB / 382.8 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003466/0.4991, allocations: 2.738 MB / 385.5 MB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005537/0.4997, allocations: 15.84 kB / 385.5 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/0.4998, allocations: 20.06 kB / 385.6 MB, free: 5.852 MB / 330.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.0002157/0.5, allocations: 120.6 kB / 385.7 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009086/0.5009, allocations: 286.1 kB / 386 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.5011, allocations: 35.62 kB / 386 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.5012, allocations: 47.05 kB / 386 MB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.5012, allocations: 4 kB / 386 MB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.5012, allocations: 4 kB / 386 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.5013, allocations: 3.984 kB / 386 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.5032, allocations: 0.8195 MB / 386.9 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.5033, allocations: 4 kB / 386.9 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.5037, allocations: 51.86 kB / 386.9 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004937/0.5042, allocations: 85.62 kB / 387 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.5042, allocations: 7.938 kB / 387 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003231/0.5075, allocations: 2.735 MB / 389.7 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.5075, allocations: 0 / 389.7 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.5088, allocations: 0.5679 MB / 390.3 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.5091, allocations: 120.6 kB / 390.4 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.55e-05/0.5092, allocations: 0 / 390.4 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000628/0.5098, allocations: 23.98 kB / 390.5 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.5099, allocations: 35.89 kB / 390.5 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/0.51, allocations: 8.188 kB / 390.5 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003961/0.5104, allocations: 232.6 kB / 390.7 MB, free: 336 kB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5104, allocations: 0 / 390.7 MB, free: 336 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008562/0.5113, allocations: 104 kB / 390.8 MB, free: 232 kB / 330.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.001671/0.513, allocations: 1.178 MB / 392 MB, free: 15.01 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.5142, allocations: 471.5 kB / 392.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.5142, allocations: 0 / 392.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000823/0.515, allocations: 350.7 kB / 392.8 MB, free: 14.17 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006243/0.5157, allocations: 49.56 kB / 392.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.5184, allocations: 0.7753 MB / 393.6 MB, free: 13.31 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005525/0.519, allocations: 0.8509 MB / 394.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003475/0.5193, allocations: 39.27 kB / 394.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/0.5197, allocations: 163.4 kB / 394.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5197, allocations: 0 / 394.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04822/0.5679, allocations: 6.927 MB / 401.6 MB, free: 5.32 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002831/0.5683, allocations: 148.9 kB / 401.8 MB, free: 5.125 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.769/3.338, allocations: 0 / 401.8 MB, free: 5.125 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat does not exist to compare? outputFormat=mat