Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.978/1.978, allocations: 194.9 MB / 208 MB, free: 3.27 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.843e-05/2.853e-05, allocations: 4 kB / 255.5 MB, free: 2.648 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1011, allocations: 44.51 MB / 300 MB, free: 6.082 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4773/0.5784, allocations: 72.11 MB / 372.1 MB, free: 22.06 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.5787, allocations: 66.55 kB / 372.1 MB, free: 22.06 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0127/0.5915, allocations: 3.049 MB / 375.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5915, allocations: 4 kB / 375.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.832e-05/0.5915, allocations: 7.5 kB / 375.2 MB, free: 21.54 MB / 314.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.0007717/0.5923, allocations: 448.9 kB / 375.6 MB, free: 21.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.5924, allocations: 13.62 kB / 375.6 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.732e-05/0.5925, allocations: 50.67 kB / 375.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.311e-05/0.5925, allocations: 22.38 kB / 375.7 MB, free: 21.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.5928, allocations: 219.8 kB / 375.9 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.5928, allocations: 15.75 kB / 376 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.5929, allocations: 19.48 kB / 376 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/0.5933, allocations: 159.3 kB / 376.1 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.5934, allocations: 0 / 376.1 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.5934, allocations: 9.344 kB / 376.1 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.5934, allocations: 6.531 kB / 376.1 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004391/0.5939, allocations: 117.7 kB / 376.3 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.5956, allocations: 0.7741 MB / 377 MB, free: 20.42 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.596, allocations: 135.7 kB / 377.2 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.5962, allocations: 81.25 kB / 377.2 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.5962, allocations: 2.281 kB / 377.2 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.5963, allocations: 39.61 kB / 377.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.376e-06/0.5963, allocations: 0 / 377.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003487/0.5966, allocations: 124.1 kB / 377.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.5967, allocations: 56.94 kB / 377.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.5968, allocations: 137.6 kB / 377.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.5969, allocations: 28.89 kB / 377.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.597, allocations: 137.2 kB / 377.8 MB, free: 19.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.597, allocations: 46.7 kB / 377.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.597, allocations: 4.688 kB / 377.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.756e-05/0.5971, allocations: 325.3 kB / 378.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.5972, allocations: 40.81 kB / 378.2 MB, free: 19.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.5974, allocations: 61.25 kB / 378.2 MB, free: 19.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.5975, allocations: 49.45 kB / 378.3 MB, free: 19.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5976, allocations: 3.938 kB / 378.3 MB, free: 19.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000349/0.5979, allocations: 155.9 kB / 378.4 MB, free: 19.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.598, allocations: 9 kB / 378.4 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.598, allocations: 0.9688 kB / 378.4 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.598, allocations: 1.406 kB / 378.4 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/0.5984, allocations: 41.69 kB / 378.5 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.5984, allocations: 1.469 kB / 378.5 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.5986, allocations: 20.03 kB / 378.5 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.5986, allocations: 4.844 kB / 378.5 MB, free: 19.57 MB / 314.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 7.295e-05/0.5987, allocations: 120 kB / 378.6 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.5988, allocations: 13.58 kB / 378.6 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.911e-05/0.5988, allocations: 15.33 kB / 378.7 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.5989, allocations: 1.531 kB / 378.7 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.5989, allocations: 1.594 kB / 378.7 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.5989, allocations: 0.9375 kB / 378.7 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.5992, allocations: 268.4 kB / 378.9 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5993, allocations: 0 / 378.9 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/0.5997, allocations: 43.27 kB / 379 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.5997, allocations: 8.953 kB / 379 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.5998, allocations: 3.344 kB / 379 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.5998, allocations: 1.344 kB / 379 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5998, allocations: 0 / 379 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.6002, allocations: 269.9 kB / 379.2 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.6003, allocations: 90.05 kB / 379.3 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.6004, allocations: 5.141 kB / 379.3 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.6006, allocations: 22.08 kB / 379.4 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.6007, allocations: 7.688 kB / 379.4 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.6007, allocations: 3.344 kB / 379.4 MB, free: 18.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001022/0.6008, allocations: 118.6 kB / 379.5 MB, free: 18.9 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6008, allocations: 0 / 379.5 MB, free: 18.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003757/0.6012, allocations: 49.66 kB / 379.5 MB, free: 18.89 MB / 314.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.0006346/0.6019, allocations: 0.8049 MB / 380.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003077/0.6022, allocations: 108.8 kB / 380.4 MB, free: 18.22 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6022, allocations: 7.875 kB / 380.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.6023, allocations: 61.92 kB / 380.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.6027, allocations: 23.48 kB / 380.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.6041, allocations: 449.6 kB / 381 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.6043, allocations: 0.7269 MB / 381.7 MB, free: 17.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.6044, allocations: 13.61 kB / 381.7 MB, free: 17.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.6045, allocations: 47.38 kB / 381.8 MB, free: 17.2 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6045, allocations: 0 / 381.8 MB, free: 17.2 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.6312, allocations: 2.929 MB / 384.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002815/0.6315, allocations: 155.1 kB / 384.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/3.199, allocations: 0 / 384.8 MB, free: 16.66 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat does not exist to compare? outputFormat=mat