Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.986/1.986, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.395e-05/3.434e-05, allocations: 4 kB / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09794/0.09801, allocations: 44.5 MB / 299.9 MB, free: 6.559 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4101/0.5082, allocations: 74.64 MB / 374.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.5085, allocations: 68 kB / 374.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0347/0.5432, allocations: 7.999 MB / 382.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5433, allocations: 0 / 382.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.984e-05/0.5433, allocations: 11.47 kB / 382.6 MB, free: 11.91 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.001666/0.545, allocations: 0.7233 MB / 383.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.5451, allocations: 10.92 kB / 383.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002146/0.5453, allocations: 101.3 kB / 383.5 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.5455, allocations: 71.58 kB / 383.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006934/0.5462, allocations: 361.6 kB / 383.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.446e-05/0.5463, allocations: 39.44 kB / 383.9 MB, free: 11.08 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.5464, allocations: 48.19 kB / 384 MB, free: 11.08 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.5475, allocations: 480.8 kB / 384.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.5476, allocations: 0 / 384.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-05/0.5477, allocations: 23.69 kB / 384.5 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.5477, allocations: 16.33 kB / 384.5 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008897/0.5486, allocations: 311.1 kB / 384.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004444/0.553, allocations: 1.751 MB / 386.5 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006371/0.5537, allocations: 250.5 kB / 386.8 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.554, allocations: 135.2 kB / 386.9 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.5541, allocations: 3.781 kB / 386.9 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.5541, allocations: 36.5 kB / 387 MB, free: 10.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 2.615e-06/0.5541, allocations: 3.938 kB / 387 MB, free: 10.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.0021/0.5563, allocations: 0.765 MB / 387.7 MB, free: 9.648 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.5563, allocations: 83.56 kB / 387.8 MB, free: 9.555 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005706/0.5569, allocations: 325.5 kB / 388.1 MB, free: 9.453 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/0.557, allocations: 32.05 kB / 388.2 MB, free: 9.422 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.5572, allocations: 351.4 kB / 388.5 MB, free: 9.176 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.5573, allocations: 106.5 kB / 388.6 MB, free: 9.109 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.5573, allocations: 17.66 kB / 388.6 MB, free: 9.102 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.5574, allocations: 324.4 kB / 388.9 MB, free: 8.789 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.5577, allocations: 90.89 kB / 389 MB, free: 8.789 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/0.558, allocations: 179.7 kB / 389.2 MB, free: 8.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.5583, allocations: 113.2 kB / 389.3 MB, free: 8.672 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.5583, allocations: 3.953 kB / 389.3 MB, free: 8.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001023/0.5594, allocations: 393.3 kB / 389.7 MB, free: 8.586 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.5594, allocations: 11.05 kB / 389.7 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.5594, allocations: 7.844 kB / 389.7 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004904/0.5599, allocations: 75.02 kB / 389.8 MB, free: 8.566 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/0.5605, allocations: 85.61 kB / 389.9 MB, free: 8.559 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/0.5631, allocations: 2.846 MB / 392.7 MB, free: 5.934 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006195/0.5638, allocations: 26.06 kB / 392.7 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.5638, allocations: 19.22 kB / 392.8 MB, free: 5.922 MB / 314.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.0001433/0.564, allocations: 123.9 kB / 392.9 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.5641, allocations: 43.02 kB / 392.9 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.5643, allocations: 46.92 kB / 393 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.5643, allocations: 3.875 kB / 393 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.5643, allocations: 4.672 kB / 393 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5643, allocations: 1.359 kB / 393 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.5661, allocations: 0.9176 MB / 393.9 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.5662, allocations: 4.188 kB / 393.9 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/0.5666, allocations: 55.31 kB / 394 MB, free: 5.363 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004343/0.567, allocations: 83.22 kB / 394 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.5671, allocations: 7.766 kB / 394 MB, free: 5.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003167/0.5702, allocations: 2.844 MB / 396.9 MB, free: 18.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.5703, allocations: 4 kB / 396.9 MB, free: 18.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.5715, allocations: 0.5911 MB / 397.5 MB, free: 18.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/0.5717, allocations: 122.2 kB / 397.6 MB, free: 18.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.833e-05/0.5718, allocations: 7.781 kB / 397.6 MB, free: 18.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005914/0.5724, allocations: 32.95 kB / 397.6 MB, free: 18.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.5726, allocations: 29.17 kB / 397.7 MB, free: 18.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.5726, allocations: 7.719 kB / 397.7 MB, free: 18.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004118/0.573, allocations: 266.8 kB / 397.9 MB, free: 18.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.573, allocations: 0 / 397.9 MB, free: 18.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008607/0.5739, allocations: 127.3 kB / 398.1 MB, free: 18.23 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.001587/0.5755, allocations: 1.222 MB / 399.3 MB, free: 17.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.5767, allocations: 493.6 kB / 399.8 MB, free: 17.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5767, allocations: 0 / 399.8 MB, free: 17.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007988/0.5775, allocations: 369.5 kB / 400.1 MB, free: 16.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006599/0.5782, allocations: 54.56 kB / 400.2 MB, free: 16.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.5807, allocations: 0.8473 MB / 401 MB, free: 16.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/0.5813, allocations: 0.8566 MB / 401.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003369/0.5816, allocations: 177.2 kB / 402.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of SimCode: time 1.253e-06/0.5816, allocations: 0 / 402.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.674/3.256, allocations: 10.84 MB / 412.9 MB, free: 13.01 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat does not exist to compare? outputFormat=mat