Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.542/2.542, allocations: 270 MB / 282.6 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.325e-05/4.332e-05, allocations: 11.98 kB / 347.1 MB, free: 3.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4344, allocations: 61.87 MB / 408.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1722/0.6066, allocations: 86.27 MB / 495.2 MB, free: 4.305 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/0.607, allocations: 67.97 kB / 495.3 MB, free: 4.238 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006785/0.6138, allocations: 1.542 MB / 496.8 MB, free: 2.691 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6138, allocations: 0 / 496.8 MB, free: 2.691 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.6139, allocations: 0 / 496.8 MB, free: 2.691 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005987/0.6145, allocations: 386.3 kB / 497.2 MB, free: 2.266 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.6145, allocations: 12.03 kB / 497.2 MB, free: 2.254 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.024e-05/0.6146, allocations: 50.48 kB / 497.2 MB, free: 2.195 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.6147, allocations: 11.91 kB / 497.2 MB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.6149, allocations: 163 kB / 497.4 MB, free: 1.984 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.6149, allocations: 16.19 kB / 497.4 MB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.615, allocations: 8 kB / 497.4 MB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.6154, allocations: 126.8 kB / 497.6 MB, free: 1.828 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.6154, allocations: 0 / 497.6 MB, free: 1.828 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.6155, allocations: 4 kB / 497.6 MB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.6155, allocations: 8 kB / 497.6 MB, free: 1.816 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.6158, allocations: 56 kB / 497.6 MB, free: 1.762 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.6171, allocations: 0.7274 MB / 498.3 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.6173, allocations: 169.7 kB / 498.5 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.156e-05/0.6173, allocations: 84.12 kB / 498.6 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.6174, allocations: 79.28 kB / 498.7 MB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.344e-05/0.6174, allocations: 105.8 kB / 498.8 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.394e-06/0.6175, allocations: 0 / 498.8 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001028/0.6176, allocations: 33.61 kB / 498.8 MB, free: 484 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.6176, allocations: 126.7 kB / 498.9 MB, free: 344 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.6178, allocations: 135.2 kB / 499.1 MB, free: 200 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.6179, allocations: 29.7 kB / 499.1 MB, free: 164 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.618, allocations: 194 kB / 499.3 MB, free: 15.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.452e-06/0.618, allocations: 4 kB / 499.3 MB, free: 15.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.618, allocations: 0 / 499.3 MB, free: 15.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6182, allocations: 318.8 kB / 499.6 MB, free: 15.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.96e-05/0.6182, allocations: 11.94 kB / 499.6 MB, free: 15.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.676e-05/0.6183, allocations: 45.16 kB / 499.7 MB, free: 15.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.346e-05/0.6183, allocations: 4 kB / 499.7 MB, free: 15.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.6184, allocations: 0 / 499.7 MB, free: 15.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001939/0.6186, allocations: 73.69 kB / 499.7 MB, free: 15.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.6186, allocations: 8 kB / 499.7 MB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.6186, allocations: 0 / 499.7 MB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.6186, allocations: 7.938 kB / 499.7 MB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.6188, allocations: 11.98 kB / 499.8 MB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.6188, allocations: 0 / 499.8 MB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.367e-05/0.6189, allocations: 11.84 kB / 499.8 MB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.6189, allocations: 4 kB / 499.8 MB, free: 15.45 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 (6): * Single equations (assignments): 6 * 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.000108/0.619, allocations: 188.2 kB / 500 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.673e-05/0.6191, allocations: 113 kB / 0.4883 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.792e-05/0.6192, allocations: 112.6 kB / 0.4885 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.082e-05/0.6193, allocations: 180.2 kB / 0.4886 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.76e-05/0.6194, allocations: 176.3 kB / 0.4888 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.57e-05/0.6195, allocations: 180.3 kB / 0.489 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.6199, allocations: 453 kB / 0.4894 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.342e-05/0.6199, allocations: 105 kB / 0.4895 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.693e-05/0.62, allocations: 109.1 kB / 0.4896 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.738e-05/0.62, allocations: 180.2 kB / 0.4898 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.678e-05/0.6201, allocations: 176.3 kB / 0.4899 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.65e-05/0.6202, allocations: 180.3 kB / 0.4901 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.051e-05/0.6203, allocations: 184.2 kB / 0.4903 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.6205, allocations: 311.7 kB / 0.4906 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.6206, allocations: 189.9 kB / 0.4908 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.491e-05/0.6207, allocations: 176.3 kB / 0.4909 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.6208, allocations: 113 kB / 0.491 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.6209, allocations: 188.2 kB / 0.4912 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-05/0.621, allocations: 105 kB / 0.4913 GB, free: 11.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001203/0.6211, allocations: 110.1 kB / 0.4914 GB, free: 11.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6211, allocations: 0 / 0.4914 GB, free: 11.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003389/0.6214, allocations: 19.91 kB / 0.4914 GB, free: 11.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0004287/0.6219, allocations: 0.8018 MB / 0.4922 GB, free: 10.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.622, allocations: 19.94 kB / 0.4922 GB, free: 10.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.622, allocations: 0 / 0.4922 GB, free: 10.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/0.622, allocations: 0 / 0.4922 GB, free: 10.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.6224, allocations: 0.5383 MB / 0.4928 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005389/0.623, allocations: 228 kB / 0.493 GB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.6233, allocations: 0.6965 MB / 0.4937 GB, free: 9.367 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.6233, allocations: 27.42 kB / 0.4937 GB, free: 9.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6233, allocations: 0 / 0.4937 GB, free: 9.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.548/3.171, allocations: 1.297 MB / 0.495 GB, free: 8.039 MB / 426.7 MB