Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.023/2.023, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.041e-05/4.044e-05, allocations: 4 kB / 292.2 MB, free: 8.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1181, allocations: 50.41 MB / 342.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4527/0.5709, allocations: 78.14 MB / 420.8 MB, free: 15.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.5713, allocations: 63.28 kB / 420.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01447/0.5858, allocations: 3.212 MB / 424 MB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5858, allocations: 0 / 424 MB, free: 12.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.5859, allocations: 4 kB / 424 MB, free: 12.84 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009085/0.5868, allocations: 453.6 kB / 424.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.5869, allocations: 8.031 kB / 424.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.457e-05/0.587, allocations: 53.55 kB / 424.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.238e-05/0.587, allocations: 23.7 kB / 424.6 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.5873, allocations: 210.1 kB / 424.8 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.5874, allocations: 15.69 kB / 424.8 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.041e-05/0.5874, allocations: 19.84 kB / 424.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/0.5879, allocations: 163.5 kB / 425 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.5879, allocations: 3.984 kB / 425 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.588, allocations: 11.77 kB / 425 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.588, allocations: 8 kB / 425 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003416/0.5883, allocations: 110.4 kB / 425.1 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.5902, allocations: 0.7682 MB / 425.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/0.5906, allocations: 132.8 kB / 426 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.5908, allocations: 83.3 kB / 426.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.5909, allocations: 4 kB / 426.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.5909, allocations: 38.31 kB / 426.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.135e-06/0.5909, allocations: 0 / 426.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003776/0.5913, allocations: 117.1 kB / 426.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.5914, allocations: 59.34 kB / 426.3 MB, free: 10.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.5916, allocations: 134.9 kB / 426.4 MB, free: 10.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.5916, allocations: 29.64 kB / 426.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.5917, allocations: 202 kB / 426.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.297e-05/0.5918, allocations: 50.95 kB / 426.7 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/0.5918, allocations: 7.875 kB / 426.7 MB, free: 10.35 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.5919, allocations: 310.8 kB / 427 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.5921, allocations: 43.33 kB / 427.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.5922, allocations: 60.77 kB / 427.1 MB, free: 9.961 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.5924, allocations: 47.3 kB / 427.2 MB, free: 9.934 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5924, allocations: 0 / 427.2 MB, free: 9.934 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000353/0.5927, allocations: 143.8 kB / 427.3 MB, free: 9.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.5928, allocations: 8 kB / 427.3 MB, free: 9.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5928, allocations: 3.938 kB / 427.3 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.5928, allocations: 0 / 427.3 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/0.5932, allocations: 42.8 kB / 427.4 MB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.5933, allocations: 3.984 kB / 427.4 MB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.5935, allocations: 19.78 kB / 427.4 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.5935, allocations: 4 kB / 427.4 MB, free: 9.746 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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 9.495e-05/0.5936, allocations: 116.8 kB / 427.5 MB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/0.5937, allocations: 15.81 kB / 427.5 MB, free: 9.613 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.18e-05/0.5937, allocations: 19.73 kB / 427.5 MB, free: 9.605 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.5938, allocations: 0 / 427.5 MB, free: 9.605 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.5938, allocations: 7.938 kB / 427.5 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.5938, allocations: 0 / 427.5 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.5942, allocations: 270.5 kB / 427.8 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5942, allocations: 0 / 427.8 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/0.5946, allocations: 39.98 kB / 427.8 MB, free: 9.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/0.5947, allocations: 3.984 kB / 427.8 MB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.5947, allocations: 7.375 kB / 427.9 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5947, allocations: 0 / 427.9 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5947, allocations: 0 / 427.9 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004906/0.5952, allocations: 275 kB / 428.1 MB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/0.5953, allocations: 85.02 kB / 428.2 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.5954, allocations: 3.062 kB / 428.2 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.5956, allocations: 20.03 kB / 428.2 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.5957, allocations: 11.8 kB / 428.2 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.5957, allocations: 4 kB / 428.2 MB, free: 8.906 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.5958, allocations: 112.4 kB / 428.4 MB, free: 8.809 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5959, allocations: 0 / 428.4 MB, free: 8.809 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004028/0.5963, allocations: 47.22 kB / 428.4 MB, free: 8.766 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.000801/0.5971, allocations: 0.819 MB / 429.2 MB, free: 7.969 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003167/0.5974, allocations: 108.7 kB / 429.3 MB, free: 7.895 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5974, allocations: 0 / 429.3 MB, free: 7.895 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.5976, allocations: 49.06 kB / 429.4 MB, free: 7.863 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.598, allocations: 26.42 kB / 429.4 MB, free: 7.844 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.5995, allocations: 479.6 kB / 429.9 MB, free: 7.355 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.5998, allocations: 0.7321 MB / 430.6 MB, free: 6.598 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.6, allocations: 49.73 kB / 430.6 MB, free: 6.578 MB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6, allocations: 0 / 430.6 MB, free: 6.578 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.352/2.952, allocations: 2.719 MB / 433.4 MB, free: 3.891 MB / 346.7 MB