Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.717/1.717, allocations: 194.9 MB / 202.6 MB, free: 14.27 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2407/1.957, allocations: 46.84 MB / 249.4 MB, free: 14.19 MB / 210.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09186/2.049, allocations: 44.49 MB / 293.9 MB, free: 1.613 MB / 242.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2689/2.318, allocations: 74.11 MB / 368 MB, free: 6.492 MB / 290.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/2.319, allocations: 66.91 kB / 368.1 MB, free: 6.492 MB / 290.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.03856/2.357, allocations: 8.638 MB / 376.7 MB, free: 3.25 MB / 290.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/2.357, allocations: 8.844 kB / 376.7 MB, free: 3.25 MB / 290.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/2.357, allocations: 47.59 kB / 376.8 MB, free: 3.227 MB / 290.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/2.358, allocations: 293.7 kB / 377.1 MB, free: 2.973 MB / 290.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/2.358, allocations: 10.06 kB / 377.1 MB, free: 2.973 MB / 290.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.197e-05/2.358, allocations: 24.16 kB / 377.1 MB, free: 2.973 MB / 290.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006397/2.359, allocations: 189.3 kB / 377.3 MB, free: 2.969 MB / 290.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007507/2.359, allocations: 281.7 kB / 377.6 MB, free: 2.867 MB / 290.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/2.359, allocations: 1.25 kB / 377.6 MB, free: 2.867 MB / 290.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.627e-05/2.359, allocations: 3.906 kB / 377.6 MB, free: 2.863 MB / 290.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/2.36, allocations: 7.406 kB / 377.6 MB, free: 2.863 MB / 290.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003012/2.363, allocations: 1.108 MB / 378.7 MB, free: 2.219 MB / 290.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006725/2.363, allocations: 218.2 kB / 378.9 MB, free: 2.176 MB / 290.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006928/2.364, allocations: 191.4 kB / 379.1 MB, free: 2.141 MB / 290.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008123/2.365, allocations: 1.127 MB / 380.2 MB, free: 0.8008 MB / 290.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.881e-05/2.365, allocations: 40.17 kB / 380.2 MB, free: 16.76 MB / 306.8 MB Notification: Performance of pre-optimization done (n=27): time 3.196e-06/2.365, allocations: 3.938 kB / 380.2 MB, free: 16.75 MB / 306.8 MB Notification: Performance of matching and sorting (n=27): time 0.001023/2.366, allocations: 266.5 kB / 380.5 MB, free: 16.67 MB / 306.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/2.366, allocations: 83.31 kB / 380.6 MB, free: 16.57 MB / 306.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004338/2.366, allocations: 248 kB / 380.8 MB, free: 16.45 MB / 306.8 MB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/2.366, allocations: 25.7 kB / 380.9 MB, free: 16.42 MB / 306.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/2.367, allocations: 189.8 kB / 381 MB, free: 16.26 MB / 306.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.828e-05/2.367, allocations: 96.75 kB / 381.1 MB, free: 16.19 MB / 306.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/2.367, allocations: 4 kB / 381.1 MB, free: 16.19 MB / 306.8 MB Notification: Performance of setup shared object (initialization): time 0.0001495/2.367, allocations: 340.6 kB / 381.5 MB, free: 15.86 MB / 306.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/2.367, allocations: 87.19 kB / 381.6 MB, free: 15.86 MB / 306.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/2.368, allocations: 153.5 kB / 381.7 MB, free: 15.77 MB / 306.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/2.368, allocations: 105.6 kB / 381.8 MB, free: 15.75 MB / 306.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/2.368, allocations: 1.438 kB / 381.8 MB, free: 15.75 MB / 306.8 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001131/2.369, allocations: 360.3 kB / 382.2 MB, free: 15.64 MB / 306.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/2.369, allocations: 9.312 kB / 382.2 MB, free: 15.64 MB / 306.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/2.369, allocations: 6 kB / 382.2 MB, free: 15.64 MB / 306.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003977/2.37, allocations: 68.66 kB / 382.2 MB, free: 15.61 MB / 306.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007045/2.37, allocations: 78.36 kB / 382.3 MB, free: 15.6 MB / 306.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/2.373, allocations: 1.672 MB / 384 MB, free: 14.23 MB / 306.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005452/2.373, allocations: 33.33 kB / 384 MB, free: 14.21 MB / 306.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/2.373, allocations: 13.7 kB / 384 MB, free: 14.21 MB / 306.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001543/2.374, allocations: 115.1 kB / 384.1 MB, free: 14.1 MB / 306.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/2.374, allocations: 34.75 kB / 384.2 MB, free: 14.08 MB / 306.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000994/2.375, allocations: 294 kB / 384.5 MB, free: 13.98 MB / 306.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/2.375, allocations: 2.656 kB / 384.5 MB, free: 13.98 MB / 306.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/2.375, allocations: 0 / 384.5 MB, free: 13.98 MB / 306.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/2.375, allocations: 1.625 kB / 384.5 MB, free: 13.98 MB / 306.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006206/2.375, allocations: 344.2 kB / 384.8 MB, free: 13.75 MB / 306.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/2.375, allocations: 0 / 384.8 MB, free: 13.75 MB / 306.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007518/2.376, allocations: 62.3 kB / 384.9 MB, free: 13.73 MB / 306.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003014/2.376, allocations: 51.45 kB / 384.9 MB, free: 13.72 MB / 306.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/2.377, allocations: 6.625 kB / 384.9 MB, free: 13.72 MB / 306.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006602/2.377, allocations: 0.6209 MB / 385.5 MB, free: 13.18 MB / 306.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/2.377, allocations: 0 / 385.5 MB, free: 13.18 MB / 306.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001206/2.378, allocations: 469.6 kB / 386 MB, free: 12.98 MB / 306.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001616/2.38, allocations: 0.9475 MB / 387 MB, free: 12.4 MB / 306.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002642/2.38, allocations: 131.2 kB / 387.1 MB, free: 12.28 MB / 306.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.995e-05/2.38, allocations: 2.531 kB / 387.1 MB, free: 12.28 MB / 306.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005662/2.381, allocations: 28.09 kB / 387.1 MB, free: 12.27 MB / 306.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.55e-05/2.381, allocations: 16.8 kB / 387.1 MB, free: 12.26 MB / 306.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/2.381, allocations: 10.17 kB / 387.1 MB, free: 12.25 MB / 306.8 MB Notification: Performance of sort global known variables: time 0.0003245/2.382, allocations: 190.1 kB / 387.3 MB, free: 12.17 MB / 306.8 MB Notification: Performance of remove unused functions: time 0.001706/2.383, allocations: 112.5 kB / 387.4 MB, free: 12.14 MB / 306.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * 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: 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003112/2.384, allocations: 131.5 kB / 387.6 MB, free: 12.04 MB / 306.8 MB Notification: Performance of simCode: created initialization part: time 0.001032/2.385, allocations: 338.8 kB / 387.9 MB, free: 11.92 MB / 306.8 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/2.385, allocations: 1.906 kB / 387.9 MB, free: 11.92 MB / 306.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004522/2.385, allocations: 125 kB / 388 MB, free: 11.9 MB / 306.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/2.386, allocations: 20.38 kB / 388 MB, free: 11.89 MB / 306.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/2.388, allocations: 0.6488 MB / 388.7 MB, free: 11.48 MB / 306.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007378/2.388, allocations: 0.8478 MB / 389.5 MB, free: 10.71 MB / 306.8 MB Notification: Performance of SimCode: time 1.132e-06/2.388, allocations: 4.531 kB / 389.5 MB, free: 10.7 MB / 306.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat does not exist to compare? outputFormat=mat