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.049/2.049, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.687e-05/3.696e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1124, allocations: 44.5 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.485/0.5975, allocations: 74.64 MB / 374.6 MB, free: 12.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.5978, allocations: 70.61 kB / 374.7 MB, free: 12.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03518/0.633, allocations: 7.991 MB / 382.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.633, allocations: 0 / 382.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.946e-05/0.6331, allocations: 11 kB / 382.7 MB, free: 11.35 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001763/0.6349, allocations: 0.7312 MB / 383.4 MB, free: 10.85 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/0.6349, allocations: 10.22 kB / 383.4 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002515/0.6352, allocations: 99.02 kB / 383.5 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/0.6355, allocations: 71.08 kB / 383.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007123/0.6362, allocations: 356.3 kB / 383.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.441e-05/0.6362, allocations: 41.59 kB / 384 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.6364, allocations: 50.34 kB / 384 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.6376, allocations: 475.4 kB / 384.5 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.6376, allocations: 3.938 kB / 384.5 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.321e-05/0.6377, allocations: 19.38 kB / 384.5 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.6377, allocations: 16.33 kB / 384.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009207/0.6387, allocations: 309 kB / 384.8 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004506/0.6432, allocations: 1.742 MB / 386.6 MB, free: 9.648 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005967/0.6438, allocations: 242 kB / 386.8 MB, free: 9.598 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.6442, allocations: 141.4 kB / 387 MB, free: 9.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.6442, allocations: 4.25 kB / 387 MB, free: 9.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.6443, allocations: 36.56 kB / 387 MB, free: 9.531 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 2.885e-06/0.6443, allocations: 5.125 kB / 387 MB, free: 9.527 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.00211/0.6464, allocations: 0.7618 MB / 387.8 MB, free: 9.094 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.6465, allocations: 84.95 kB / 387.8 MB, free: 8.996 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005155/0.647, allocations: 334.6 kB / 388.2 MB, free: 8.887 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.6471, allocations: 29.39 kB / 388.2 MB, free: 8.855 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.6473, allocations: 304.4 kB / 388.5 MB, free: 8.676 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.523e-05/0.6474, allocations: 107.6 kB / 388.6 MB, free: 8.609 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.6474, allocations: 11.91 kB / 388.6 MB, free: 8.605 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.655e-05/0.6475, allocations: 351.8 kB / 389 MB, free: 8.293 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.6478, allocations: 89.53 kB / 389 MB, free: 8.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.6481, allocations: 171.1 kB / 389.2 MB, free: 8.184 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.6484, allocations: 118.7 kB / 389.3 MB, free: 8.176 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6484, allocations: 7.953 kB / 389.3 MB, free: 8.168 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001113/0.6495, allocations: 415.5 kB / 389.7 MB, free: 8.078 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.6496, allocations: 4.25 kB / 389.7 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.6496, allocations: 7.969 kB / 389.8 MB, free: 8.074 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004947/0.6501, allocations: 77.69 kB / 389.8 MB, free: 8.059 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006347/0.6508, allocations: 82.41 kB / 389.9 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002849/0.6536, allocations: 2.844 MB / 392.8 MB, free: 21.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006625/0.6543, allocations: 21.95 kB / 392.8 MB, free: 21.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.6544, allocations: 15.31 kB / 392.8 MB, free: 21.42 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.000173/0.6546, allocations: 124.5 kB / 392.9 MB, free: 21.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.6547, allocations: 48.98 kB / 393 MB, free: 21.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.6548, allocations: 40.67 kB / 393 MB, free: 21.28 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.6548, allocations: 8.156 kB / 393 MB, free: 21.28 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.6549, allocations: 6.719 kB / 393 MB, free: 21.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.6549, allocations: 7.859 kB / 393 MB, free: 21.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.6569, allocations: 0.9125 MB / 393.9 MB, free: 20.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.6569, allocations: 3.938 kB / 393.9 MB, free: 20.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003691/0.6573, allocations: 53.59 kB / 394 MB, free: 20.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00045/0.6577, allocations: 80.77 kB / 394.1 MB, free: 20.83 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.6578, allocations: 12.5 kB / 394.1 MB, free: 20.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003083/0.6609, allocations: 2.838 MB / 396.9 MB, free: 18.22 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.6609, allocations: 0 / 396.9 MB, free: 18.22 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.6622, allocations: 0.5941 MB / 397.5 MB, free: 17.94 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/0.6625, allocations: 122.7 kB / 397.6 MB, free: 17.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.405e-05/0.6626, allocations: 3.312 kB / 397.6 MB, free: 17.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006089/0.6632, allocations: 36.53 kB / 397.7 MB, free: 17.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.6633, allocations: 25.95 kB / 397.7 MB, free: 17.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.6634, allocations: 11.72 kB / 397.7 MB, free: 17.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004185/0.6638, allocations: 262.6 kB / 398 MB, free: 17.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.282e-06/0.6638, allocations: 0 / 398 MB, free: 17.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008816/0.6647, allocations: 122.5 kB / 398.1 MB, free: 17.73 MB / 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.001674/0.6664, allocations: 1.229 MB / 399.3 MB, free: 16.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.6676, allocations: 476 kB / 399.8 MB, free: 16.62 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.6676, allocations: 3.938 kB / 399.8 MB, free: 16.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000772/0.6684, allocations: 358.4 kB / 400.1 MB, free: 16.4 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007367/0.6691, allocations: 51.52 kB / 400.2 MB, free: 16.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.6719, allocations: 0.8162 MB / 401 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.6725, allocations: 0.8565 MB / 401.9 MB, free: 15.28 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003297/0.6728, allocations: 43.3 kB / 401.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/0.6731, allocations: 173.6 kB / 402.1 MB, free: 15.26 MB / 330.7 MB Notification: Performance of SimCode: time 1.403e-06/0.6731, allocations: 0 / 402.1 MB, free: 15.26 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03807/0.7112, allocations: 7.969 MB / 410 MB, free: 14.09 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/0.7115, allocations: 176.4 kB / 410.2 MB, free: 13.87 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/3.544, allocations: 0 / 410.2 MB, free: 13.87 MB / 330.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