Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",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.692/1.692, allocations: 194.9 MB / 202.5 MB, free: 6.938 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2597/1.952, allocations: 46.84 MB / 249.4 MB, free: 5.375 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08876/2.041, allocations: 44.51 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2782/2.319, allocations: 72.45 MB / 366.3 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/2.319, allocations: 75.77 kB / 366.4 MB, free: 7.051 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.01621/2.336, allocations: 4.135 MB / 370.5 MB, free: 6.363 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/2.336, allocations: 11.69 kB / 370.5 MB, free: 6.363 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.501e-05/2.336, allocations: 31.19 kB / 370.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/2.336, allocations: 253.9 kB / 370.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/2.336, allocations: 7.719 kB / 370.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/2.336, allocations: 15.59 kB / 370.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000434/2.337, allocations: 148.2 kB / 371 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/2.337, allocations: 176.9 kB / 371.1 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/2.337, allocations: 0 / 371.1 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/2.337, allocations: 3.906 kB / 371.1 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/2.337, allocations: 7.844 kB / 371.2 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/2.339, allocations: 0.8557 MB / 372 MB, free: 5.676 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/2.34, allocations: 85.27 kB / 372.1 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004853/2.34, allocations: 145.1 kB / 372.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/2.34, allocations: 5.016 kB / 372.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/2.34, allocations: 33.5 kB / 372.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.665e-06/2.34, allocations: 5.109 kB / 372.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001031/2.341, allocations: 218.4 kB / 372.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/2.341, allocations: 54.75 kB / 372.5 MB, free: 5.477 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/2.342, allocations: 180.5 kB / 372.7 MB, free: 5.375 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/2.342, allocations: 25.7 kB / 372.7 MB, free: 5.344 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/2.342, allocations: 168.4 kB / 372.9 MB, free: 5.211 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.803e-05/2.342, allocations: 55.42 kB / 373 MB, free: 5.176 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/2.342, allocations: 0 / 373 MB, free: 5.176 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/2.342, allocations: 332.7 kB / 373.3 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/2.342, allocations: 43.38 kB / 373.3 MB, free: 20.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/2.342, allocations: 91.89 kB / 373.4 MB, free: 20.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/2.343, allocations: 67.92 kB / 373.5 MB, free: 20.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/2.343, allocations: 3.906 kB / 373.5 MB, free: 20.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00107/2.344, allocations: 275.5 kB / 373.8 MB, free: 20.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/2.344, allocations: 3.875 kB / 373.8 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/2.344, allocations: 0 / 373.8 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008647/2.345, allocations: 105.3 kB / 373.9 MB, free: 20.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/2.345, allocations: 49 kB / 373.9 MB, free: 20.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00273/2.348, allocations: 1.595 MB / 375.5 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003127/2.348, allocations: 16.73 kB / 375.5 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/2.348, allocations: 11.31 kB / 375.5 MB, free: 19.38 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001822/2.348, allocations: 112.6 kB / 375.6 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/2.348, allocations: 24.14 kB / 375.7 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.374e-05/2.348, allocations: 22.17 kB / 375.7 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/2.348, allocations: 4.688 kB / 375.7 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/2.348, allocations: 0 / 375.7 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/2.348, allocations: 5 kB / 375.7 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/2.35, allocations: 0.5392 MB / 376.2 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/2.35, allocations: 0 / 376.2 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/2.35, allocations: 31.73 kB / 376.3 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007685/2.351, allocations: 104.5 kB / 376.4 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/2.351, allocations: 0 / 376.4 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002815/2.354, allocations: 1.609 MB / 378 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/2.354, allocations: 4.781 kB / 378 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001125/2.355, allocations: 377.3 kB / 378.4 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001398/2.356, allocations: 0.7975 MB / 379.2 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/2.357, allocations: 91.22 kB / 379.2 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/2.357, allocations: 0 / 379.2 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/2.357, allocations: 22.3 kB / 379.3 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/2.357, allocations: 14.59 kB / 379.3 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/2.357, allocations: 3.875 kB / 379.3 MB, free: 16.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001741/2.357, allocations: 142.9 kB / 379.4 MB, free: 16.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001419/2.359, allocations: 65.94 kB / 379.5 MB, free: 16.73 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002075/2.359, allocations: 107.8 kB / 379.6 MB, free: 16.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000664/2.36, allocations: 236.1 kB / 379.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/2.36, allocations: 7.719 kB / 379.8 MB, free: 16.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000369/2.36, allocations: 158.8 kB / 380 MB, free: 16.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/2.36, allocations: 29.16 kB / 380 MB, free: 16.42 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/2.363, allocations: 0.5124 MB / 380.5 MB, free: 16.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004656/2.364, allocations: 0.775 MB / 381.3 MB, free: 15.49 MB / 314.7 MB Notification: Performance of SimCode: time 1.453e-06/2.364, allocations: 0 / 381.3 MB, free: 15.49 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat does not exist to compare? outputFormat=mat