Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.69/1.69, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.517e-05/3.529e-05, allocations: 4 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2549, allocations: 38.77 MB / 263.9 MB, free: 9.715 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.3761, allocations: 66.99 MB / 330.9 MB, free: 6.633 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.3764, allocations: 67.97 kB / 330.9 MB, free: 6.566 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01343/0.3898, allocations: 3.123 MB / 334 MB, free: 3.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3899, allocations: 0 / 334 MB, free: 3.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.3899, allocations: 4 kB / 334.1 MB, free: 3.426 MB / 282.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.000861/0.3908, allocations: 457.9 kB / 334.5 MB, free: 2.934 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.3908, allocations: 8.031 kB / 334.5 MB, free: 2.926 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.913e-05/0.3909, allocations: 54.48 kB / 334.6 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.681e-05/0.391, allocations: 15.81 kB / 334.6 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.3913, allocations: 222.7 kB / 334.8 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.3914, allocations: 12 kB / 334.8 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.597e-05/0.3914, allocations: 23.95 kB / 334.8 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.3919, allocations: 161.6 kB / 335 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.3919, allocations: 3.984 kB / 335 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.392, allocations: 4 kB / 335 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.392, allocations: 4 kB / 335 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003435/0.3923, allocations: 116 kB / 335.1 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.3942, allocations: 0.7586 MB / 335.9 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.3946, allocations: 134.5 kB / 336 MB, free: 1.297 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.3948, allocations: 84.86 kB / 336.1 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.3949, allocations: 3.938 kB / 336.1 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.3949, allocations: 34.56 kB / 336.1 MB, free: 1.164 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.715e-06/0.3949, allocations: 0 / 336.1 MB, free: 1.164 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003852/0.3953, allocations: 117.6 kB / 336.2 MB, free: 1.043 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.3954, allocations: 55.41 kB / 336.3 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.3956, allocations: 144.8 kB / 336.4 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.3956, allocations: 29.7 kB / 336.5 MB, free: 0.793 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.929e-05/0.3957, allocations: 136.1 kB / 336.6 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.687e-05/0.3958, allocations: 51.34 kB / 336.6 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/0.3958, allocations: 0 / 336.6 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.396, allocations: 330.8 kB / 337 MB, free: 280 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.3961, allocations: 40 kB / 337 MB, free: 240 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.3962, allocations: 54.92 kB / 337.1 MB, free: 180 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.3964, allocations: 55.97 kB / 337.1 MB, free: 124 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3964, allocations: 0 / 337.1 MB, free: 124 kB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004033/0.3968, allocations: 154.2 kB / 337.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3969, allocations: 6.031 kB / 337.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.3969, allocations: 3.984 kB / 337.3 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.3969, allocations: 4 kB / 337.3 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/0.3973, allocations: 39.97 kB / 337.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.3974, allocations: 7.953 kB / 337.3 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.3976, allocations: 23.86 kB / 337.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.3976, allocations: 7.938 kB / 337.4 MB, free: 15.87 MB / 298.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 0.0001027/0.3977, allocations: 112.9 kB / 337.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.3978, allocations: 11.91 kB / 337.5 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.74e-05/0.3978, allocations: 12.75 kB / 337.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.3978, allocations: 4 kB / 337.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3979, allocations: 0 / 337.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.3979, allocations: 7.938 kB / 337.5 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004253/0.3983, allocations: 261.4 kB / 337.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.3983, allocations: 11.97 kB / 337.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.3987, allocations: 35.98 kB / 337.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.3988, allocations: 0 / 337.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.3988, allocations: 7.938 kB / 337.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.3988, allocations: 4 kB / 337.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3988, allocations: 0 / 337.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/0.3994, allocations: 275.5 kB / 338.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/0.3994, allocations: 93 kB / 338.2 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.3995, allocations: 4 kB / 338.2 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.3998, allocations: 15.98 kB / 338.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.3998, allocations: 7.984 kB / 338.2 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.3999, allocations: 4 kB / 338.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001223/0.4, allocations: 115.6 kB / 338.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4, allocations: 0 / 338.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003969/0.4004, allocations: 51.84 kB / 338.4 MB, free: 14.77 MB / 298.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.0008608/0.4013, allocations: 0.8099 MB / 339.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003189/0.4016, allocations: 99.94 kB / 339.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4016, allocations: 4 kB / 339.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.4018, allocations: 52.06 kB / 339.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.4022, allocations: 20.03 kB / 339.4 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.4036, allocations: 459.7 kB / 339.8 MB, free: 13.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.404, allocations: 0.7282 MB / 340.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.4041, allocations: 13.2 kB / 340.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.4042, allocations: 51.42 kB / 340.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.4042, allocations: 0 / 340.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02808/0.4323, allocations: 2.915 MB / 343.5 MB, free: 9.598 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003271/0.4327, allocations: 148.5 kB / 343.7 MB, free: 9.375 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/2.751, allocations: 11.81 kB / 343.7 MB, free: 9.363 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat does not exist to compare? outputFormat=mat