Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.071/1.071, allocations: 111.2 MB / 123.8 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.928e-05/2.948e-05, allocations: 4 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1709, allocations: 25.15 MB / 176.6 MB, free: 15.9 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06642/0.2374, allocations: 36.91 MB / 213.6 MB, free: 12.44 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.2377, allocations: 63.97 kB / 213.6 MB, free: 12.38 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03495/0.2726, allocations: 7.986 MB / 221.6 MB, free: 4.363 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2727, allocations: 0 / 221.6 MB, free: 4.363 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.734e-05/0.2727, allocations: 12 kB / 221.6 MB, free: 4.352 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001702/0.2744, allocations: 0.7243 MB / 222.3 MB, free: 3.582 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.2745, allocations: 8.031 kB / 222.3 MB, free: 3.574 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002071/0.2747, allocations: 107.6 kB / 222.4 MB, free: 3.457 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.2749, allocations: 67.25 kB / 222.5 MB, free: 3.391 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006952/0.2756, allocations: 355.4 kB / 222.9 MB, free: 3.004 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.656e-05/0.2757, allocations: 37.31 kB / 222.9 MB, free: 2.969 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.2758, allocations: 59.95 kB / 223 MB, free: 2.91 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.277, allocations: 465.2 kB / 223.4 MB, free: 2.441 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.277, allocations: 0 / 223.4 MB, free: 2.441 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.469e-05/0.2771, allocations: 20 kB / 223.4 MB, free: 2.422 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.2772, allocations: 16 kB / 223.4 MB, free: 2.406 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000892/0.2781, allocations: 298.6 kB / 223.7 MB, free: 2.113 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004334/0.2824, allocations: 1.734 MB / 225.5 MB, free: 288 kB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000581/0.283, allocations: 237.1 kB / 225.7 MB, free: 32 kB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/0.2834, allocations: 126 kB / 225.8 MB, free: 15.9 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.2834, allocations: 7.906 kB / 225.8 MB, free: 15.89 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.2835, allocations: 38.5 kB / 225.9 MB, free: 15.85 MB / 202.7 MB Notification: Performance of pre-optimization done (n=30): time 2.785e-06/0.2835, allocations: 0 / 225.9 MB, free: 15.85 MB / 202.7 MB Notification: Performance of matching and sorting (n=31): time 0.002007/0.2855, allocations: 0.7579 MB / 226.6 MB, free: 15.03 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.2856, allocations: 81.11 kB / 226.7 MB, free: 14.93 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006045/0.2862, allocations: 331.6 kB / 227 MB, free: 14.6 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.2862, allocations: 29.7 kB / 227.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.2865, allocations: 341.8 kB / 227.4 MB, free: 14.23 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.2866, allocations: 118.4 kB / 227.5 MB, free: 14.11 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.2867, allocations: 11.94 kB / 227.5 MB, free: 14.1 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2868, allocations: 330.8 kB / 227.8 MB, free: 13.77 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.2871, allocations: 84.88 kB / 227.9 MB, free: 13.69 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.2875, allocations: 166 kB / 228.1 MB, free: 13.49 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.2878, allocations: 111.5 kB / 228.2 MB, free: 13.38 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2878, allocations: 4 kB / 228.2 MB, free: 13.38 MB / 202.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001089/0.2889, allocations: 375.7 kB / 228.6 MB, free: 13 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.289, allocations: 11.95 kB / 228.6 MB, free: 12.99 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.289, allocations: 4 kB / 228.6 MB, free: 12.99 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004397/0.2894, allocations: 81.97 kB / 228.7 MB, free: 12.9 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/0.29, allocations: 71.91 kB / 228.7 MB, free: 12.83 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003304/0.2933, allocations: 2.826 MB / 231.6 MB, free: 9.734 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005506/0.2939, allocations: 19.88 kB / 231.6 MB, free: 9.715 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.294, allocations: 19.98 kB / 231.6 MB, free: 9.695 MB / 202.7 MB Warning: Assuming fixed start value for the following 3 variables: inductor22.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real basicTransformer.i2:VARIABLE(unit = "A" ) "Current flowing from pos. to neg. pin of the right port" type: Real basicTransformer.i1:VARIABLE(unit = "A" ) "Current flowing from pos. to neg. pin of the left port" type: Real 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 (44): * Single equations (assignments): 42 * 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.0002469/0.2943, allocations: 141.7 kB / 231.7 MB, free: 9.551 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.2944, allocations: 43.53 kB / 231.8 MB, free: 9.508 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.2945, allocations: 39.3 kB / 231.8 MB, free: 9.473 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.2946, allocations: 4 kB / 231.8 MB, free: 9.469 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.2946, allocations: 0 / 231.8 MB, free: 9.469 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.2946, allocations: 3.984 kB / 231.8 MB, free: 9.465 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/0.2966, allocations: 0.9127 MB / 232.7 MB, free: 8.488 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.2967, allocations: 0 / 232.7 MB, free: 8.488 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.297, allocations: 43.92 kB / 232.8 MB, free: 8.445 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003959/0.2974, allocations: 73.66 kB / 232.9 MB, free: 8.367 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.644e-05/0.2975, allocations: 11.98 kB / 232.9 MB, free: 8.355 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003187/0.3007, allocations: 2.831 MB / 235.7 MB, free: 5.258 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3007, allocations: 0 / 235.7 MB, free: 5.258 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.302, allocations: 0.5781 MB / 236.3 MB, free: 4.648 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/0.3023, allocations: 132.6 kB / 236.4 MB, free: 4.5 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.232e-05/0.3024, allocations: 11.94 kB / 236.4 MB, free: 4.488 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005911/0.303, allocations: 31.98 kB / 236.5 MB, free: 4.457 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.3031, allocations: 31.95 kB / 236.5 MB, free: 4.426 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.3031, allocations: 8 kB / 236.5 MB, free: 4.418 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0004732/0.3036, allocations: 266.2 kB / 236.7 MB, free: 4.16 MB / 202.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.3036, allocations: 0 / 236.7 MB, free: 4.16 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0008982/0.3045, allocations: 120 kB / 236.9 MB, free: 4.043 MB / 202.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 (25): * Single equations (assignments): 23 * 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.00166/0.3062, allocations: 1.202 MB / 238.1 MB, free: 2.805 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.3074, allocations: 467.5 kB / 238.5 MB, free: 2.328 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.3075, allocations: 0 / 238.5 MB, free: 2.328 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008315/0.3083, allocations: 363.2 kB / 238.9 MB, free: 1.953 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.3093, allocations: 92.62 kB / 239 MB, free: 1.867 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.3118, allocations: 0.8384 MB / 239.8 MB, free: 0.9844 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00056/0.3124, allocations: 0.8542 MB / 240.7 MB, free: 104 kB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003924/0.3128, allocations: 171.5 kB / 240.8 MB, free: 15.93 MB / 218.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3128, allocations: 0 / 240.8 MB, free: 15.93 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.757/3.07, allocations: 10.84 MB / 251.7 MB, free: 5.094 MB / 218.7 MB