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 2.348/2.348, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.091e-05/3.088e-05, allocations: 0 / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3322, allocations: 44.49 MB / 294.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1726/0.5049, allocations: 71.46 MB / 365.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/0.5053, allocations: 67.95 kB / 365.8 MB, free: 10.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01589/0.5212, allocations: 3.013 MB / 368.8 MB, free: 7.371 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5212, allocations: 0 / 368.8 MB, free: 7.371 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.079e-05/0.5213, allocations: 4 kB / 368.8 MB, free: 7.367 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.001116/0.5224, allocations: 454.8 kB / 369.2 MB, free: 6.879 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.5225, allocations: 8.031 kB / 369.2 MB, free: 6.871 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.5226, allocations: 23.72 kB / 369.2 MB, free: 6.848 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.523, allocations: 218.7 kB / 369.5 MB, free: 6.594 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.5231, allocations: 8 kB / 369.5 MB, free: 6.586 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.877e-05/0.5232, allocations: 15.94 kB / 369.5 MB, free: 6.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005068/0.5237, allocations: 107.9 kB / 369.6 MB, free: 6.465 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005584/0.5243, allocations: 141.6 kB / 369.7 MB, free: 6.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.5243, allocations: 0 / 369.7 MB, free: 6.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.445e-05/0.5244, allocations: 4 kB / 369.7 MB, free: 6.316 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.5244, allocations: 4 kB / 369.7 MB, free: 6.312 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002529/0.5269, allocations: 0.7099 MB / 370.4 MB, free: 5.547 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/0.5275, allocations: 134.6 kB / 370.6 MB, free: 5.406 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.5278, allocations: 80.84 kB / 370.7 MB, free: 5.324 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.5278, allocations: 4 kB / 370.7 MB, free: 5.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.5279, allocations: 30.56 kB / 370.7 MB, free: 5.281 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.755e-06/0.5279, allocations: 0 / 370.7 MB, free: 5.281 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004871/0.5284, allocations: 121 kB / 370.8 MB, free: 5.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.5285, allocations: 55.41 kB / 370.9 MB, free: 5.094 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.5287, allocations: 125.3 kB / 371 MB, free: 4.961 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.5287, allocations: 25.7 kB / 371 MB, free: 4.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.5289, allocations: 140.1 kB / 371.1 MB, free: 4.789 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.226e-05/0.529, allocations: 47.2 kB / 371.2 MB, free: 4.742 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.554e-05/0.529, allocations: 4 kB / 371.2 MB, free: 4.738 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.5292, allocations: 318.8 kB / 371.5 MB, free: 4.418 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.5294, allocations: 36 kB / 371.5 MB, free: 4.383 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.5296, allocations: 68.45 kB / 371.6 MB, free: 4.312 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.5298, allocations: 43.92 kB / 371.6 MB, free: 4.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5298, allocations: 0 / 371.6 MB, free: 4.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004868/0.5303, allocations: 145.2 kB / 371.8 MB, free: 4.125 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.5303, allocations: 11.94 kB / 371.8 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.5304, allocations: 0 / 371.8 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.5304, allocations: 3.938 kB / 371.8 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005178/0.5309, allocations: 47.97 kB / 371.9 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.5309, allocations: 4.031 kB / 371.9 MB, free: 4.059 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.5312, allocations: 15.84 kB / 371.9 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.5312, allocations: 4 kB / 371.9 MB, free: 4.039 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 0.0001375/0.5314, allocations: 108.7 kB / 372 MB, free: 3.926 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000407/0.5318, allocations: 121.8 kB / 372.1 MB, free: 3.801 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/0.5319, allocations: 7.906 kB / 372.1 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.889e-05/0.532, allocations: 16.75 kB / 372.1 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.532, allocations: 4 kB / 372.1 MB, free: 3.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.532, allocations: 0 / 372.1 MB, free: 3.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.532, allocations: 3.984 kB / 372.1 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005232/0.5326, allocations: 222 kB / 372.3 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5326, allocations: 0 / 372.3 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005185/0.5331, allocations: 47.91 kB / 372.4 MB, free: 3.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.819e-06/0.5332, allocations: 3.953 kB / 372.4 MB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.5332, allocations: 0 / 372.4 MB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.5332, allocations: 4 kB / 372.4 MB, free: 3.457 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5332, allocations: 0 / 372.4 MB, free: 3.457 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005941/0.5338, allocations: 257.4 kB / 372.7 MB, free: 3.191 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.352e-05/0.534, allocations: 92.95 kB / 372.7 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.241e-05/0.534, allocations: 3.953 kB / 372.8 MB, free: 3.078 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/0.5344, allocations: 16 kB / 372.8 MB, free: 3.062 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/0.5345, allocations: 12.08 kB / 372.8 MB, free: 3.051 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.5345, allocations: 7.984 kB / 372.8 MB, free: 3.043 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001391/0.5347, allocations: 107.3 kB / 372.9 MB, free: 2.938 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5347, allocations: 0 / 372.9 MB, free: 2.938 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006521/0.5353, allocations: 43.84 kB / 372.9 MB, free: 2.895 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.001048/0.5364, allocations: 0.7982 MB / 373.7 MB, free: 2.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004135/0.5368, allocations: 102.1 kB / 373.8 MB, free: 1.973 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5369, allocations: 0 / 373.8 MB, free: 1.973 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.5371, allocations: 51.94 kB / 373.9 MB, free: 1.922 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.5375, allocations: 19.97 kB / 373.9 MB, free: 1.902 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.5395, allocations: 431.1 kB / 374.3 MB, free: 1.438 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.54, allocations: 0.7279 MB / 375.1 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001486/0.5402, allocations: 13.2 kB / 375.1 MB, free: 0.668 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.5404, allocations: 55.36 kB / 375.1 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of SimCode: time 1.133e-06/0.5404, allocations: 0 / 375.1 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0744/0.6148, allocations: 2.443 MB / 377.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/0.6151, allocations: 138.6 kB / 377.7 MB, free: 13.98 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/3.092, allocations: 0 / 377.7 MB, free: 13.98 MB / 330.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