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.683/1.683, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.62e-05/2.633e-05, allocations: 7.984 kB / 219.6 MB, free: 6.941 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2554, allocations: 38.76 MB / 258.3 MB, free: 12.29 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1195/0.375, allocations: 66.31 MB / 324.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.3753, allocations: 63.97 kB / 324.7 MB, free: 11.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01307/0.3884, allocations: 3.087 MB / 327.8 MB, free: 8.383 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3884, allocations: 0 / 327.8 MB, free: 8.383 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.3885, allocations: 4 kB / 327.8 MB, free: 8.379 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.0008457/0.3893, allocations: 453.9 kB / 328.2 MB, free: 7.891 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.3894, allocations: 12.03 kB / 328.3 MB, free: 7.879 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.353e-05/0.3895, allocations: 23.81 kB / 328.3 MB, free: 7.855 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.3898, allocations: 214.7 kB / 328.5 MB, free: 7.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.3898, allocations: 8 kB / 328.5 MB, free: 7.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.354e-05/0.3899, allocations: 19.94 kB / 328.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003398/0.3902, allocations: 104 kB / 328.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.3906, allocations: 141.6 kB / 328.8 MB, free: 7.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3906, allocations: 0 / 328.8 MB, free: 7.332 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.3907, allocations: 0 / 328.8 MB, free: 7.332 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.3907, allocations: 4 kB / 328.8 MB, free: 7.328 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.3925, allocations: 0.7122 MB / 329.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.3929, allocations: 126.6 kB / 329.6 MB, free: 6.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.3931, allocations: 88.78 kB / 329.7 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.3931, allocations: 0 / 329.7 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.3932, allocations: 38.5 kB / 329.7 MB, free: 6.289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/0.3932, allocations: 3.938 kB / 329.7 MB, free: 6.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003563/0.3935, allocations: 105.6 kB / 329.8 MB, free: 6.176 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.3936, allocations: 51.41 kB / 329.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.3938, allocations: 133.8 kB / 330 MB, free: 5.977 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.3938, allocations: 25.7 kB / 330 MB, free: 5.945 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3939, allocations: 140 kB / 330.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/0.394, allocations: 51.34 kB / 330.2 MB, free: 5.754 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.394, allocations: 0 / 330.2 MB, free: 5.754 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3942, allocations: 322.8 kB / 330.5 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.3943, allocations: 36 kB / 330.6 MB, free: 5.395 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.3944, allocations: 57.7 kB / 330.6 MB, free: 5.332 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.3946, allocations: 43.98 kB / 330.7 MB, free: 5.289 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3946, allocations: 0 / 330.7 MB, free: 5.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003677/0.395, allocations: 152 kB / 330.8 MB, free: 5.137 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.395, allocations: 4 kB / 330.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.395, allocations: 0 / 330.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.395, allocations: 4 kB / 330.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/0.3954, allocations: 43.91 kB / 330.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3955, allocations: 7.953 kB / 330.9 MB, free: 5.078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.3956, allocations: 11.97 kB / 330.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.3957, allocations: 8 kB / 330.9 MB, free: 5.059 MB / 282.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.582e-05/0.3958, allocations: 104.9 kB / 331 MB, free: 4.949 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002904/0.3961, allocations: 127.8 kB / 331.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.3962, allocations: 11.91 kB / 331.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.3962, allocations: 8.75 kB / 331.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.3962, allocations: 7.953 kB / 331.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3962, allocations: 0 / 331.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3963, allocations: 7.984 kB / 331.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.3966, allocations: 226 kB / 331.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3967, allocations: 0 / 331.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.3971, allocations: 39.95 kB / 331.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.3971, allocations: 4 kB / 331.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.3971, allocations: 0 / 331.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3971, allocations: 3.938 kB / 331.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.3971, allocations: 4 kB / 331.4 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000453/0.3976, allocations: 274 kB / 331.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/0.3977, allocations: 85.05 kB / 331.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.3977, allocations: 4 kB / 331.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.398, allocations: 11.98 kB / 331.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.3981, allocations: 4 kB / 331.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.3981, allocations: 11.98 kB / 331.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.3982, allocations: 107.2 kB / 331.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3982, allocations: 0 / 331.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000414/0.3986, allocations: 43.84 kB / 332 MB, free: 3.91 MB / 282.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.0009714/0.3996, allocations: 0.7971 MB / 332.8 MB, free: 3.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003705/0.4, allocations: 96 kB / 332.9 MB, free: 2.996 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4, allocations: 0 / 332.9 MB, free: 2.996 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.4002, allocations: 51.94 kB / 332.9 MB, free: 2.945 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.4007, allocations: 15.94 kB / 332.9 MB, free: 2.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.4026, allocations: 447.1 kB / 333.4 MB, free: 2.453 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.4031, allocations: 0.7318 MB / 334.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.4032, allocations: 9.203 kB / 334.1 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.4034, allocations: 47.42 kB / 334.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/0.4034, allocations: 0 / 334.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1305/0.5339, allocations: 2.441 MB / 336.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/0.5342, allocations: 142.2 kB / 336.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.212/2.747, allocations: 0 / 336.7 MB, free: 15.02 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