Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.144/2.144, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.277e-05/3.289e-05, allocations: 4 kB / 292.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1074, allocations: 50.41 MB / 342.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4267/0.5341, allocations: 80.94 MB / 423.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.5344, allocations: 72.73 kB / 423.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03541/0.5699, allocations: 8.361 MB / 432 MB, free: 5.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5699, allocations: 0 / 432 MB, free: 5.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.788e-05/0.57, allocations: 12 kB / 432 MB, free: 5.668 MB / 346.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.001682/0.5717, allocations: 0.729 MB / 432.7 MB, free: 4.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.5717, allocations: 12.03 kB / 432.8 MB, free: 4.918 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000178/0.5719, allocations: 96.14 kB / 432.8 MB, free: 4.848 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.5721, allocations: 63.25 kB / 432.9 MB, free: 4.785 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006505/0.5728, allocations: 365.9 kB / 433.3 MB, free: 4.426 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.5728, allocations: 42.38 kB / 433.3 MB, free: 4.398 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.5729, allocations: 50.39 kB / 433.4 MB, free: 4.363 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.5741, allocations: 474.6 kB / 433.8 MB, free: 4.031 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.5741, allocations: 0 / 433.8 MB, free: 4.031 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.156e-05/0.5742, allocations: 24.62 kB / 433.8 MB, free: 4.023 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.5742, allocations: 12 kB / 433.9 MB, free: 4.012 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000861/0.5751, allocations: 304 kB / 434.2 MB, free: 3.816 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004247/0.5793, allocations: 1.751 MB / 435.9 MB, free: 2.266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005977/0.58, allocations: 244.9 kB / 436.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.5803, allocations: 127.8 kB / 436.3 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.5803, allocations: 7.984 kB / 436.3 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.5804, allocations: 38.06 kB / 436.3 MB, free: 1.945 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 3.496e-06/0.5804, allocations: 0 / 436.3 MB, free: 1.945 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.002081/0.5825, allocations: 0.7582 MB / 437.1 MB, free: 1.227 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.5826, allocations: 77.36 kB / 437.1 MB, free: 1.133 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005635/0.5832, allocations: 334.7 kB / 437.5 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.5832, allocations: 32.45 kB / 437.5 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.5834, allocations: 339.5 kB / 437.8 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.5836, allocations: 118.2 kB / 438 MB, free: 460 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.5836, allocations: 7.188 kB / 438 MB, free: 460 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5837, allocations: 329.5 kB / 438.3 MB, free: 128 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.584, allocations: 95.05 kB / 438.4 MB, free: 68 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.5844, allocations: 175.5 kB / 438.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.5847, allocations: 114.1 kB / 438.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.5847, allocations: 4 kB / 438.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001106/0.5858, allocations: 396.9 kB / 439 MB, free: 15.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.5859, allocations: 7.938 kB / 439.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.5859, allocations: 4 kB / 439.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005416/0.5865, allocations: 83.69 kB / 439.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/0.5871, allocations: 83.14 kB / 439.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/0.5903, allocations: 2.841 MB / 442.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005953/0.5909, allocations: 14.81 kB / 442.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.591, allocations: 15.5 kB / 442.1 MB, free: 12.39 MB / 362.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.0001652/0.5912, allocations: 133 kB / 442.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.5913, allocations: 51.58 kB / 442.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.5914, allocations: 43.75 kB / 442.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.5914, allocations: 4 kB / 442.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.5914, allocations: 4 kB / 442.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.5915, allocations: 0 / 442.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.5934, allocations: 0.9257 MB / 443.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.5934, allocations: 0 / 443.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003766/0.5938, allocations: 47.97 kB / 443.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004581/0.5943, allocations: 79.97 kB / 443.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.903e-05/0.5944, allocations: 7.938 kB / 443.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003062/0.5975, allocations: 2.845 MB / 446.2 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.5975, allocations: 3.953 kB / 446.2 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.5988, allocations: 0.5862 MB / 446.8 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.599, allocations: 115.7 kB / 446.9 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.872e-05/0.5991, allocations: 3.312 kB / 446.9 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006088/0.5997, allocations: 39.09 kB / 447 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.5998, allocations: 31.34 kB / 447 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.5999, allocations: 8.188 kB / 447 MB, free: 7.605 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004471/0.6003, allocations: 267.9 kB / 447.3 MB, free: 7.398 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-07/0.6004, allocations: 0 / 447.3 MB, free: 7.398 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008668/0.6012, allocations: 121.2 kB / 447.4 MB, free: 7.293 MB / 362.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.001677/0.6029, allocations: 1.214 MB / 448.6 MB, free: 6.156 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.6041, allocations: 477.7 kB / 449.1 MB, free: 5.742 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6042, allocations: 3.938 kB / 449.1 MB, free: 5.738 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008054/0.605, allocations: 357.9 kB / 449.4 MB, free: 5.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006344/0.6056, allocations: 59.98 kB / 449.5 MB, free: 5.375 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.6084, allocations: 0.8525 MB / 450.3 MB, free: 4.539 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005348/0.609, allocations: 0.8587 MB / 451.2 MB, free: 3.648 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.6093, allocations: 178.4 kB / 451.4 MB, free: 3.598 MB / 362.7 MB Notification: Performance of SimCode: time 1.322e-06/0.6093, allocations: 0 / 451.4 MB, free: 3.598 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.664/3.273, allocations: 10.82 MB / 462.2 MB, free: 8.848 MB / 378.7 MB