Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.595/2.595, allocations: 270 MB / 282.6 MB, free: 1.871 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.572e-05/3.582e-05, allocations: 0 / 347 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4021, allocations: 61.88 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.5687, allocations: 88.66 MB / 497.6 MB, free: 1.855 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.569, allocations: 71.97 kB / 497.6 MB, free: 1.785 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01728/0.5863, allocations: 4.008 MB / 0.4899 GB, free: 13.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5864, allocations: 0 / 0.4899 GB, free: 13.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.332e-05/0.5864, allocations: 4 kB / 0.4899 GB, free: 13.75 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0009611/0.5874, allocations: 0.4943 MB / 0.4904 GB, free: 13.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.5874, allocations: 8.031 kB / 0.4904 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.613e-05/0.5875, allocations: 54.55 kB / 0.4904 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.435e-05/0.5876, allocations: 31.64 kB / 0.4905 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.5881, allocations: 244.3 kB / 0.4907 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.5881, allocations: 20.44 kB / 0.4907 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.937e-05/0.5882, allocations: 23.91 kB / 0.4907 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004828/0.5887, allocations: 174.5 kB / 0.4909 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.5887, allocations: 0 / 0.4909 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.5887, allocations: 12 kB / 0.4909 GB, free: 12.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.5888, allocations: 4 kB / 0.4909 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003874/0.5892, allocations: 124.9 kB / 0.491 GB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001991/0.5912, allocations: 0.8142 MB / 0.4918 GB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.5914, allocations: 94.52 kB / 0.4919 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.5916, allocations: 44.98 kB / 0.492 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.5916, allocations: 7.922 kB / 0.492 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.5917, allocations: 34.56 kB / 0.492 GB, free: 11.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 3.105e-06/0.5917, allocations: 4 kB / 0.492 GB, free: 11.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.002085/0.5938, allocations: 0.6258 MB / 0.4926 GB, free: 10.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.5938, allocations: 55.39 kB / 0.4927 GB, free: 10.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.5942, allocations: 191 kB / 0.4929 GB, free: 10.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.5942, allocations: 37.64 kB / 0.4929 GB, free: 10.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.5944, allocations: 222.2 kB / 0.4931 GB, free: 10.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.326e-05/0.5944, allocations: 55.2 kB / 0.4932 GB, free: 10.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.798e-05/0.5945, allocations: 4 kB / 0.4932 GB, free: 10.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5946, allocations: 322.8 kB / 0.4935 GB, free: 9.785 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.5948, allocations: 48 kB / 0.4935 GB, free: 9.738 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.595, allocations: 99.77 kB / 0.4936 GB, free: 9.625 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.5952, allocations: 60.16 kB / 0.4937 GB, free: 9.566 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.5952, allocations: 0 / 0.4937 GB, free: 9.566 MB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007037/0.5959, allocations: 255 kB / 0.4939 GB, free: 9.305 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.596, allocations: 4 kB / 0.4939 GB, free: 9.301 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.596, allocations: 0 / 0.4939 GB, free: 9.301 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003695/0.5963, allocations: 65.69 kB / 0.494 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.5967, allocations: 40 kB / 0.494 GB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/0.5998, allocations: 2.796 MB / 0.4968 GB, free: 6.125 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.6001, allocations: 16.02 kB / 0.4968 GB, free: 6.109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.6002, allocations: 12.06 kB / 0.4968 GB, free: 6.098 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001314/0.6003, allocations: 109 kB / 0.4969 GB, free: 5.984 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.607e-05/0.6004, allocations: 23.77 kB / 0.4969 GB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.691e-05/0.6005, allocations: 25.64 kB / 0.4969 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.6005, allocations: 0 / 0.4969 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.6005, allocations: 4 kB / 0.4969 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6005, allocations: 3.938 kB / 0.4969 GB, free: 5.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.601, allocations: 285.5 kB / 0.4972 GB, free: 5.602 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.601, allocations: 4.188 kB / 0.4972 GB, free: 5.598 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.6012, allocations: 24.33 kB / 0.4972 GB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003282/0.6015, allocations: 65.67 kB / 0.4973 GB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.6016, allocations: 0 / 0.4973 GB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002977/0.6045, allocations: 2.792 MB / 0.5 GB, free: 2.438 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.6046, allocations: 3.938 kB / 0.5 GB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008138/0.6054, allocations: 365.1 kB / 0.5004 GB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.925e-05/0.6055, allocations: 92.86 kB / 0.5005 GB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.657e-05/0.6056, allocations: 11.95 kB / 0.5005 GB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000325/0.6059, allocations: 23.92 kB / 0.5005 GB, free: 1.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.606, allocations: 15.97 kB / 0.5005 GB, free: 1.895 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.6061, allocations: 4 kB / 0.5005 GB, free: 1.891 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002047/0.6063, allocations: 153.6 kB / 0.5007 GB, free: 1.742 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6063, allocations: 0 / 0.5007 GB, free: 1.742 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005422/0.6069, allocations: 64 kB / 0.5007 GB, free: 1.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00115/0.608, allocations: 0.9024 MB / 0.5016 GB, free: 0.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008029/0.6088, allocations: 377.6 kB / 0.502 GB, free: 376 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6089, allocations: 0 / 0.502 GB, free: 376 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000579/0.6094, allocations: 303.8 kB / 0.5023 GB, free: 52 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.6098, allocations: 23.95 kB / 0.5023 GB, free: 28 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.6113, allocations: 431.6 kB / 0.5027 GB, free: 15.56 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.6117, allocations: 0.7518 MB / 0.5034 GB, free: 14.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.6119, allocations: 67.41 kB / 0.5035 GB, free: 14.72 MB / 442.7 MB Notification: Performance of SimCode: time 1.252e-06/0.6119, allocations: 0 / 0.5035 GB, free: 14.72 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.871/3.482, allocations: 5.355 MB / 0.5087 GB, free: 9.363 MB / 442.7 MB