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 2.037/2.037, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.094e-05/3.136e-05, allocations: 4 kB / 255.4 MB, free: 3.09 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1002, allocations: 44.51 MB / 300 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4366/0.5369, allocations: 74.64 MB / 374.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.5373, allocations: 70.38 kB / 374.7 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03661/0.5739, allocations: 7.988 MB / 382.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.574, allocations: 0 / 382.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.273e-05/0.574, allocations: 15.31 kB / 382.7 MB, free: 11.5 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.001969/0.576, allocations: 0.7234 MB / 383.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.5761, allocations: 10.72 kB / 383.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002687/0.5763, allocations: 105.6 kB / 383.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.5766, allocations: 69.95 kB / 383.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007768/0.5774, allocations: 357.7 kB / 383.9 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.212e-05/0.5775, allocations: 41.38 kB / 384 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.5776, allocations: 50.31 kB / 384 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.5788, allocations: 473.2 kB / 384.5 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.5789, allocations: 1.375 kB / 384.5 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.249e-05/0.579, allocations: 24.31 kB / 384.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.579, allocations: 16.33 kB / 384.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009295/0.58, allocations: 300.6 kB / 384.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004812/0.5848, allocations: 1.749 MB / 386.6 MB, free: 9.805 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006381/0.5855, allocations: 242.8 kB / 386.8 MB, free: 9.754 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.5858, allocations: 135.2 kB / 386.9 MB, free: 9.734 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.5859, allocations: 6.656 kB / 386.9 MB, free: 9.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.5859, allocations: 40.91 kB / 387 MB, free: 9.688 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 3.687e-06/0.586, allocations: 5.312 kB / 387 MB, free: 9.684 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002323/0.5883, allocations: 0.7572 MB / 387.7 MB, free: 9.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.5884, allocations: 83.7 kB / 387.8 MB, free: 9.152 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006526/0.5891, allocations: 336.2 kB / 388.1 MB, free: 9.047 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.948e-05/0.5892, allocations: 29.14 kB / 388.2 MB, free: 9.016 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.5893, allocations: 347.9 kB / 388.5 MB, free: 8.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.5895, allocations: 110.7 kB / 388.6 MB, free: 8.703 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.5895, allocations: 3.656 kB / 388.6 MB, free: 8.703 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.5896, allocations: 324.5 kB / 388.9 MB, free: 8.391 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.5898, allocations: 100.4 kB / 389 MB, free: 8.383 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/0.5901, allocations: 172.2 kB / 389.2 MB, free: 8.277 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.5905, allocations: 119.3 kB / 389.3 MB, free: 8.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.5905, allocations: 3.953 kB / 389.3 MB, free: 8.266 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001045/0.5915, allocations: 393.6 kB / 389.7 MB, free: 8.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.5916, allocations: 7.75 kB / 389.7 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.5916, allocations: 3.984 kB / 389.7 MB, free: 8.176 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005167/0.5921, allocations: 85.59 kB / 389.8 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006562/0.5928, allocations: 81.03 kB / 389.9 MB, free: 8.152 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002957/0.5958, allocations: 2.839 MB / 392.7 MB, free: 21.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006813/0.5965, allocations: 33.52 kB / 392.8 MB, free: 21.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.5966, allocations: 14.41 kB / 392.8 MB, free: 21.51 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.0001838/0.5968, allocations: 123.2 kB / 392.9 MB, free: 21.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.5969, allocations: 43.05 kB / 392.9 MB, free: 21.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.597, allocations: 50.25 kB / 393 MB, free: 21.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.597, allocations: 3.812 kB / 393 MB, free: 21.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.5971, allocations: 0 / 393 MB, free: 21.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.5971, allocations: 6.672 kB / 393 MB, free: 21.37 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/0.5991, allocations: 0.9164 MB / 393.9 MB, free: 20.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.5992, allocations: 0 / 393.9 MB, free: 20.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003731/0.5996, allocations: 56.95 kB / 394 MB, free: 20.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004588/0.6001, allocations: 79.3 kB / 394 MB, free: 20.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.685e-05/0.6001, allocations: 11.45 kB / 394.1 MB, free: 20.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003064/0.6032, allocations: 2.836 MB / 396.9 MB, free: 18.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.6033, allocations: 3.938 kB / 396.9 MB, free: 18.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.6046, allocations: 0.5931 MB / 397.5 MB, free: 18.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.6049, allocations: 118.2 kB / 397.6 MB, free: 17.92 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.361e-05/0.605, allocations: 10 kB / 397.6 MB, free: 17.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006185/0.6056, allocations: 37.3 kB / 397.6 MB, free: 17.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.6057, allocations: 20.77 kB / 397.7 MB, free: 17.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.6058, allocations: 11.66 kB / 397.7 MB, free: 17.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004376/0.6062, allocations: 259.3 kB / 397.9 MB, free: 17.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.222e-06/0.6063, allocations: 4 kB / 397.9 MB, free: 17.83 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009674/0.6072, allocations: 131.8 kB / 398.1 MB, free: 17.82 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.001755/0.609, allocations: 1.224 MB / 399.3 MB, free: 16.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.6102, allocations: 465.5 kB / 399.7 MB, free: 16.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.6103, allocations: 11.94 kB / 399.8 MB, free: 16.72 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008018/0.6111, allocations: 356.3 kB / 400.1 MB, free: 16.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007186/0.6118, allocations: 50.25 kB / 400.1 MB, free: 16.51 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.6147, allocations: 0.8535 MB / 401 MB, free: 16.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/0.6153, allocations: 0.8549 MB / 401.9 MB, free: 15.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003685/0.6157, allocations: 176.2 kB / 402 MB, free: 15.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/0.6157, allocations: 0 / 402 MB, free: 15.34 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.816/3.432, allocations: 10.82 MB / 412.9 MB, free: 12.68 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