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.14/2.14, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 6.788e-05/6.801e-05, allocations: 8 kB / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1297, allocations: 44.5 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4359/0.5656, allocations: 72.13 MB / 372.1 MB, free: 12.83 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/0.566, allocations: 66.5 kB / 372.2 MB, free: 12.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01765/0.5837, allocations: 3.055 MB / 375.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.5838, allocations: 0 / 375.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.361e-05/0.5838, allocations: 4.125 kB / 375.2 MB, free: 12.3 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.001309/0.5851, allocations: 459.2 kB / 375.7 MB, free: 11.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.5e-05/0.5853, allocations: 9.125 kB / 375.7 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/0.5854, allocations: 50.86 kB / 375.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.5855, allocations: 23.33 kB / 375.8 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.586, allocations: 220.4 kB / 376 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.969e-05/0.5861, allocations: 15 kB / 376 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-05/0.5862, allocations: 18.41 kB / 376 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007072/0.5869, allocations: 159 kB / 376.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.587, allocations: 0 / 376.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.519e-05/0.587, allocations: 9.406 kB / 376.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.5871, allocations: 4.156 kB / 376.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005469/0.5876, allocations: 116.2 kB / 376.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002714/0.5904, allocations: 0.7728 MB / 377.1 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006053/0.5911, allocations: 129.8 kB / 377.2 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.5914, allocations: 82.45 kB / 377.3 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.5915, allocations: 4.188 kB / 377.3 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/0.5915, allocations: 39.95 kB / 377.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 5.31e-06/0.5916, allocations: 0 / 377.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005858/0.5922, allocations: 129.8 kB / 377.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.5922, allocations: 54.22 kB / 377.5 MB, free: 11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.5925, allocations: 137.6 kB / 377.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.5925, allocations: 27.33 kB / 377.7 MB, free: 10.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.5927, allocations: 137.3 kB / 377.8 MB, free: 10.76 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.15e-05/0.5928, allocations: 48.27 kB / 377.8 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.5928, allocations: 2.938 kB / 377.8 MB, free: 10.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.593, allocations: 322.1 kB / 378.1 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.5933, allocations: 39.38 kB / 378.2 MB, free: 10.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.5935, allocations: 62.77 kB / 378.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.5937, allocations: 48.38 kB / 378.3 MB, free: 10.4 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.5937, allocations: 7.875 kB / 378.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004371/0.5942, allocations: 158.1 kB / 378.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.5942, allocations: 6.859 kB / 378.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.5943, allocations: 0 / 378.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.5943, allocations: 1.219 kB / 378.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004358/0.5947, allocations: 45.28 kB / 378.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.5948, allocations: 6.391 kB / 378.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.595, allocations: 20.77 kB / 378.5 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.595, allocations: 3.375 kB / 378.5 MB, free: 10.33 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 9.833e-05/0.5951, allocations: 107 kB / 378.6 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.395e-05/0.5952, allocations: 15.73 kB / 378.7 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.19e-05/0.5953, allocations: 17.02 kB / 378.7 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.5953, allocations: 5.156 kB / 378.7 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5953, allocations: 1.094 kB / 378.7 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5953, allocations: 0.6562 kB / 378.7 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.5958, allocations: 267.1 kB / 378.9 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5958, allocations: 0.9375 kB / 378.9 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004747/0.5963, allocations: 44.05 kB / 379 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.5963, allocations: 2.469 kB / 379 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.5963, allocations: 5.203 kB / 379 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.5964, allocations: 0 / 379 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5964, allocations: 1.094 kB / 379 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005323/0.5969, allocations: 275.6 kB / 379.3 MB, free: 9.852 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.285e-05/0.597, allocations: 88.64 kB / 379.4 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.597, allocations: 2 kB / 379.4 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.5973, allocations: 20.81 kB / 379.4 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.5974, allocations: 8.188 kB / 379.4 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.5975, allocations: 9.875 kB / 379.4 MB, free: 9.742 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001189/0.5976, allocations: 109.7 kB / 379.5 MB, free: 9.668 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5976, allocations: 1.312 kB / 379.5 MB, free: 9.668 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004519/0.5981, allocations: 50.44 kB / 379.6 MB, free: 9.66 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.0007501/0.5988, allocations: 0.8054 MB / 380.4 MB, free: 8.992 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003469/0.5992, allocations: 106.8 kB / 380.5 MB, free: 8.984 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5992, allocations: 5.25 kB / 380.5 MB, free: 8.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.5993, allocations: 49.58 kB / 380.5 MB, free: 8.977 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.5998, allocations: 30.17 kB / 380.5 MB, free: 8.969 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.6017, allocations: 454.8 kB / 381 MB, free: 8.676 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.602, allocations: 0.725 MB / 381.7 MB, free: 7.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001372/0.6021, allocations: 14.56 kB / 381.7 MB, free: 7.977 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.6022, allocations: 47.53 kB / 381.8 MB, free: 7.969 MB / 314.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6023, allocations: 1.219 kB / 381.8 MB, free: 7.969 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.6322, allocations: 2.917 MB / 384.7 MB, free: 7.656 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002754/0.6325, allocations: 153.5 kB / 384.8 MB, free: 7.434 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.601/3.233, allocations: 0 / 384.8 MB, free: 7.434 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