Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.751/1.751, allocations: 171.3 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.521e-05/2.529e-05, allocations: 4 kB / 219.6 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2659, allocations: 38.77 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1199/0.3859, allocations: 69.08 MB / 327.4 MB, free: 8.746 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.3862, allocations: 67.97 kB / 327.5 MB, free: 8.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03532/0.4216, allocations: 8.093 MB / 335.6 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4216, allocations: 4 kB / 335.6 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.465e-05/0.4217, allocations: 12 kB / 335.6 MB, free: 0.5234 MB / 282.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.001669/0.4234, allocations: 0.7168 MB / 336.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.4234, allocations: 8.031 kB / 336.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.4236, allocations: 67.19 kB / 336.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00067/0.4243, allocations: 359.5 kB / 336.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/0.4243, allocations: 27.98 kB / 336.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.4245, allocations: 31.91 kB / 336.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008054/0.4253, allocations: 274.5 kB / 337 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009656/0.4263, allocations: 380.8 kB / 337.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.4263, allocations: 0 / 337.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.512e-05/0.4264, allocations: 0 / 337.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.4264, allocations: 15.98 kB / 337.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004278/0.4307, allocations: 1.625 MB / 339.1 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006242/0.4314, allocations: 233.1 kB / 339.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.4317, allocations: 126.2 kB / 339.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.176e-05/0.4317, allocations: 4 kB / 339.4 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.4318, allocations: 38.5 kB / 339.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 3.196e-06/0.4318, allocations: 0 / 339.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.002076/0.4339, allocations: 0.7112 MB / 340.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.434, allocations: 81.11 kB / 340.2 MB, free: 11.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005248/0.4345, allocations: 310.2 kB / 340.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.4346, allocations: 29.7 kB / 340.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.4348, allocations: 333.9 kB / 340.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.4349, allocations: 110.4 kB / 341 MB, free: 10.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.435, allocations: 0 / 341 MB, free: 10.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4351, allocations: 330.8 kB / 341.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.4354, allocations: 76.88 kB / 341.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.4357, allocations: 169.9 kB / 341.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.436, allocations: 108.8 kB / 341.7 MB, free: 10.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.436, allocations: 0 / 341.7 MB, free: 10.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001015/0.437, allocations: 356.8 kB / 342 MB, free: 9.703 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.437, allocations: 8 kB / 342 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.4371, allocations: 4 kB / 342 MB, free: 9.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004869/0.4376, allocations: 77.66 kB / 342.1 MB, free: 9.609 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006005/0.4382, allocations: 95.78 kB / 342.2 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/0.4412, allocations: 2.735 MB / 344.9 MB, free: 6.555 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005423/0.4418, allocations: 12 kB / 344.9 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.4418, allocations: 12 kB / 345 MB, free: 6.531 MB / 298.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.0001589/0.442, allocations: 124.8 kB / 345.1 MB, free: 6.402 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000824/0.4428, allocations: 289.8 kB / 345.4 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.443, allocations: 43.53 kB / 345.4 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.4431, allocations: 43.2 kB / 345.5 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.4431, allocations: 4 kB / 345.5 MB, free: 6.012 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4431, allocations: 3.938 kB / 345.5 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.4431, allocations: 3.984 kB / 345.5 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.4449, allocations: 0.8229 MB / 346.3 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4449, allocations: 0 / 346.3 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003697/0.4453, allocations: 47.92 kB / 346.3 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004364/0.4457, allocations: 77.64 kB / 346.4 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.4458, allocations: 11.94 kB / 346.4 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002908/0.4487, allocations: 2.739 MB / 349.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/0.4487, allocations: 0 / 349.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.45, allocations: 0.5645 MB / 349.7 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/0.4502, allocations: 140.6 kB / 349.9 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.35e-05/0.4503, allocations: 0 / 349.9 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005667/0.4509, allocations: 28.08 kB / 349.9 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.451, allocations: 39.89 kB / 349.9 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.4511, allocations: 8 kB / 349.9 MB, free: 1.199 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003953/0.4515, allocations: 240.6 kB / 350.2 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4515, allocations: 0 / 350.2 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008543/0.4523, allocations: 100 kB / 350.3 MB, free: 0.8633 MB / 298.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.001573/0.4539, allocations: 1.186 MB / 351.5 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.4551, allocations: 459.3 kB / 351.9 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4551, allocations: 0 / 351.9 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008138/0.4559, allocations: 355.9 kB / 352.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005694/0.4565, allocations: 45.28 kB / 352.3 MB, free: 14.76 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.459, allocations: 0.8161 MB / 353.1 MB, free: 13.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.4595, allocations: 0.847 MB / 354 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000349/0.4599, allocations: 167.4 kB / 354.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4599, allocations: 0 / 354.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.959/3.419, allocations: 10.41 MB / 364.5 MB, free: 2.445 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat does not exist to compare? outputFormat=mat