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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.811/1.811, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2236/2.034, allocations: 46.83 MB / 249.3 MB, free: 5.359 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/2.135, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.282/2.417, allocations: 71.39 MB / 365.2 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/2.418, allocations: 68.09 kB / 365.3 MB, free: 7.16 MB / 298.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.01229/2.43, allocations: 3.242 MB / 368.5 MB, free: 6.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/2.43, allocations: 7.625 kB / 368.5 MB, free: 6.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.99e-05/2.43, allocations: 23.31 kB / 368.6 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/2.43, allocations: 220.5 kB / 368.8 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/2.43, allocations: 11.66 kB / 368.8 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/2.43, allocations: 11.64 kB / 368.8 MB, free: 6.336 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003372/2.431, allocations: 116.5 kB / 368.9 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/2.431, allocations: 136.2 kB / 369.1 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/2.431, allocations: 0 / 369.1 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/2.431, allocations: 0 / 369.1 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/2.431, allocations: 3.875 kB / 369.1 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/2.433, allocations: 0.7233 MB / 369.8 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/2.433, allocations: 86.88 kB / 369.9 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/2.433, allocations: 78.95 kB / 369.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/2.433, allocations: 2.609 kB / 369.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/2.434, allocations: 39.06 kB / 370 MB, free: 5.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.545e-06/2.434, allocations: 0 / 370 MB, free: 5.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003472/2.434, allocations: 112.4 kB / 370.1 MB, free: 5.797 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/2.434, allocations: 55.28 kB / 370.1 MB, free: 5.734 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/2.434, allocations: 131 kB / 370.3 MB, free: 5.641 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/2.434, allocations: 25.7 kB / 370.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/2.434, allocations: 135.8 kB / 370.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/2.434, allocations: 42.86 kB / 370.5 MB, free: 5.465 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/2.434, allocations: 0 / 370.5 MB, free: 5.465 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/2.434, allocations: 326.2 kB / 370.8 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/2.434, allocations: 38.69 kB / 370.8 MB, free: 21.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/2.435, allocations: 57.45 kB / 370.9 MB, free: 21.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/2.435, allocations: 41.55 kB / 370.9 MB, free: 21.13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/2.435, allocations: 0 / 370.9 MB, free: 21.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003173/2.435, allocations: 148.9 kB / 371.1 MB, free: 21.08 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/2.435, allocations: 11.84 kB / 371.1 MB, free: 21.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/2.435, allocations: 0 / 371.1 MB, free: 21.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/2.435, allocations: 0 / 371.1 MB, free: 21.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/2.436, allocations: 45.12 kB / 371.1 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/2.436, allocations: 3.969 kB / 371.1 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/2.436, allocations: 14.94 kB / 371.1 MB, free: 21.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/2.436, allocations: 7.906 kB / 371.2 MB, free: 21.06 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.0001015/2.436, allocations: 112.5 kB / 371.3 MB, free: 20.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/2.436, allocations: 11.75 kB / 371.3 MB, free: 20.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.7e-05/2.436, allocations: 17.44 kB / 371.3 MB, free: 20.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/2.436, allocations: 0 / 371.3 MB, free: 20.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/2.436, allocations: 0 / 371.3 MB, free: 20.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/2.436, allocations: 5.375 kB / 371.3 MB, free: 20.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/2.436, allocations: 226.5 kB / 371.5 MB, free: 20.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/2.436, allocations: 3.938 kB / 371.5 MB, free: 20.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004195/2.437, allocations: 45 kB / 371.6 MB, free: 20.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/2.437, allocations: 1.312 kB / 371.6 MB, free: 20.76 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/2.437, allocations: 3.812 kB / 371.6 MB, free: 20.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/2.437, allocations: 3.812 kB / 371.6 MB, free: 20.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/2.437, allocations: 0 / 371.6 MB, free: 20.76 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004292/2.437, allocations: 258.6 kB / 371.8 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006019/2.438, allocations: 0.6738 MB / 372.5 MB, free: 20.1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/2.438, allocations: 90.42 kB / 372.6 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/2.438, allocations: 3.906 kB / 372.6 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/2.438, allocations: 18.86 kB / 372.6 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/2.438, allocations: 7.25 kB / 372.6 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/2.438, allocations: 3.875 kB / 372.6 MB, free: 19.99 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.831e-05/2.439, allocations: 112.6 kB / 372.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001219/2.44, allocations: 46.91 kB / 372.8 MB, free: 19.9 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.0001647/2.44, allocations: 100.1 kB / 372.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002803/2.44, allocations: 102.2 kB / 373 MB, free: 19.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/2.44, allocations: 7.938 kB / 373 MB, free: 19.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/2.44, allocations: 54.31 kB / 373 MB, free: 19.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/2.441, allocations: 22.31 kB / 373.1 MB, free: 19.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/2.442, allocations: 388.6 kB / 373.4 MB, free: 19.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004098/2.442, allocations: 0.75 MB / 374.2 MB, free: 18.84 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/2.442, allocations: 0 / 374.2 MB, free: 18.84 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