Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.684/2.684, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.296e-05, allocations: 3.219 kB / 249.8 MB, free: 5.27 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1011, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5372/0.6383, allocations: 80.39 MB / 374.7 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005573/0.6389, allocations: 80.81 kB / 374.7 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1491/0.788, allocations: 28.52 MB / 403.3 MB, free: 12.44 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.7881, allocations: 3.875 kB / 403.3 MB, free: 12.44 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.744e-05/0.7881, allocations: 11.5 kB / 403.3 MB, free: 12.44 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.005172/0.7933, allocations: 1.069 MB / 404.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/0.7934, allocations: 15.72 kB / 404.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004493/0.7939, allocations: 119.9 kB / 404.5 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/0.805, allocations: 0.7072 MB / 405.2 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.8064, allocations: 439.8 kB / 405.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.98e-05/0.8065, allocations: 48.48 kB / 405.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003532/0.8069, allocations: 65.41 kB / 405.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004007/0.8109, allocations: 1.006 MB / 406.7 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003394/0.8143, allocations: 0.8868 MB / 407.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.561e-05/0.8144, allocations: 0 / 407.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/0.8146, allocations: 4 kB / 407.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-05/0.8147, allocations: 31.2 kB / 407.7 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01291/0.8276, allocations: 3.877 MB / 411.5 MB, free: 8.508 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006827/0.8345, allocations: 3.707 MB / 415.2 MB, free: 4.504 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009983/0.8356, allocations: 270.2 kB / 415.5 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002533/0.8358, allocations: 96.09 kB / 415.6 MB, free: 4.223 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.727e-05/0.8359, allocations: 48.25 kB / 415.6 MB, free: 4.172 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 4.769e-06/0.836, allocations: 0 / 415.6 MB, free: 4.172 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.003261/0.8392, allocations: 0.597 MB / 416.2 MB, free: 3.688 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.841e-05/0.8394, allocations: 115.3 kB / 416.4 MB, free: 3.551 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000595/0.84, allocations: 262 kB / 416.6 MB, free: 3.289 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.565e-05/0.8401, allocations: 25.7 kB / 416.6 MB, free: 3.258 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000471/0.8406, allocations: 442 kB / 417.1 MB, free: 2.816 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003737/0.841, allocations: 240.4 kB / 417.3 MB, free: 2.578 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.117e-05/0.8411, allocations: 0 / 417.3 MB, free: 2.578 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.8413, allocations: 354.8 kB / 417.6 MB, free: 2.223 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000759/0.8421, allocations: 198.6 kB / 417.8 MB, free: 2.031 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.8432, allocations: 0.5091 MB / 418.4 MB, free: 1.375 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002601/0.8458, allocations: 444.1 kB / 418.8 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-05/0.8459, allocations: 4 kB / 418.8 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.004385/0.8503, allocations: 0.8944 MB / 419.7 MB, free: 36 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/0.8504, allocations: 8 kB / 419.7 MB, free: 28 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/0.8504, allocations: 12 kB / 419.7 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.399e-05/0.8505, allocations: 16 kB / 419.7 MB, free: 0 / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/0.8529, allocations: 235.6 kB / 419.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.593e-05/0.853, allocations: 27.88 kB / 420 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.8542, allocations: 87.23 kB / 420.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/0.8544, allocations: 44 kB / 420.1 MB, free: 15.61 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00029/0.8547, allocations: 140.4 kB / 420.2 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002806/0.855, allocations: 43.44 kB / 420.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003544/0.8586, allocations: 0.7 MB / 421 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-05/0.8586, allocations: 8 kB / 421 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.8586, allocations: 0 / 421 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/0.8587, allocations: 11.94 kB / 421 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005934/0.8646, allocations: 1.484 MB / 422.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/0.8647, allocations: 4 kB / 422.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001751/0.8665, allocations: 159.7 kB / 422.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.027e-05/0.8665, allocations: 4 kB / 422.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.088e-05/0.8666, allocations: 4 kB / 422.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.8666, allocations: 0 / 422.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.8667, allocations: 8 kB / 422.7 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004185/0.8709, allocations: 1.193 MB / 423.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.8712, allocations: 136.4 kB / 424 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.8713, allocations: 4 kB / 424 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009004/0.8722, allocations: 16.05 kB / 424 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/0.8724, allocations: 48.67 kB / 424.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.029e-05/0.8726, allocations: 20 kB / 424.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000372/0.8729, allocations: 182 kB / 424.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.873, allocations: 0 / 424.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001601/0.8746, allocations: 219.1 kB / 424.5 MB, free: 11.15 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005026/0.8796, allocations: 1.914 MB / 426.4 MB, free: 9.199 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002156/0.8818, allocations: 0.5932 MB / 427 MB, free: 8.609 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.8819, allocations: 0 / 427 MB, free: 8.609 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009578/0.8829, allocations: 282.8 kB / 427.3 MB, free: 8.332 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007308/0.8836, allocations: 16.89 kB / 427.3 MB, free: 8.312 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008289/0.8919, allocations: 1.569 MB / 428.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009116/0.8929, allocations: 0.9322 MB / 429.8 MB, free: 5.762 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001005/0.8939, allocations: 96.83 kB / 429.9 MB, free: 5.664 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007988/0.8948, allocations: 275.3 kB / 430.1 MB, free: 5.395 MB / 330.7 MB Notification: Performance of SimCode: time 2.255e-06/0.8948, allocations: 0 / 430.1 MB, free: 5.395 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1682/1.063, allocations: 9.013 MB / 439.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002621/1.063, allocations: 164.7 kB / 439.3 MB, free: 12.19 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.826/4.89, allocations: 4 kB / 439.3 MB, free: 12.19 MB / 346.7 MB