Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",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.606/1.606, allocations: 194.9 MB / 202.5 MB, free: 6.914 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2197/1.826, allocations: 46.84 MB / 249.4 MB, free: 5.324 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08751/1.913, allocations: 44.5 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3249/2.238, allocations: 73.71 MB / 367.6 MB, free: 7.188 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003857/2.239, allocations: 74.59 kB / 367.6 MB, free: 7.188 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0237/2.262, allocations: 5.232 MB / 372.9 MB, free: 6.395 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/2.262, allocations: 8.312 kB / 372.9 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.571e-05/2.262, allocations: 34.88 kB / 372.9 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/2.263, allocations: 242.9 kB / 373.1 MB, free: 6.168 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/2.263, allocations: 7.781 kB / 373.2 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/2.263, allocations: 12.19 kB / 373.2 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004012/2.263, allocations: 122.8 kB / 373.3 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/2.264, allocations: 159 kB / 373.4 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/2.264, allocations: 0.6094 kB / 373.4 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/2.264, allocations: 3.938 kB / 373.4 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/2.264, allocations: 7.812 kB / 373.5 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/2.266, allocations: 0.8123 MB / 374.3 MB, free: 5.695 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/2.266, allocations: 113.7 kB / 374.4 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/2.266, allocations: 50.03 kB / 374.4 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/2.266, allocations: 3.875 kB / 374.4 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/2.267, allocations: 106.4 kB / 374.5 MB, free: 5.594 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.864e-06/2.267, allocations: 0 / 374.5 MB, free: 5.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003423/2.267, allocations: 119.8 kB / 374.7 MB, free: 5.547 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/2.267, allocations: 81.86 kB / 374.7 MB, free: 5.449 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/2.267, allocations: 194.4 kB / 374.9 MB, free: 5.352 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/2.267, allocations: 25.7 kB / 374.9 MB, free: 5.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/2.267, allocations: 151.4 kB / 375.1 MB, free: 5.203 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/2.267, allocations: 38.38 kB / 375.1 MB, free: 5.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.612e-05/2.267, allocations: 0 / 375.1 MB, free: 5.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/2.268, allocations: 328.3 kB / 375.5 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/2.268, allocations: 42.72 kB / 375.5 MB, free: 20.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/2.268, allocations: 95.88 kB / 375.6 MB, free: 20.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/2.268, allocations: 52.67 kB / 375.6 MB, free: 20.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/2.268, allocations: 0.6094 kB / 375.6 MB, free: 20.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000411/2.269, allocations: 179.7 kB / 375.8 MB, free: 20.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/2.269, allocations: 8.406 kB / 375.8 MB, free: 20.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/2.269, allocations: 0 / 375.8 MB, free: 20.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/2.269, allocations: 3.875 kB / 375.8 MB, free: 20.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004631/2.269, allocations: 57.75 kB / 375.9 MB, free: 20.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/2.269, allocations: 7.719 kB / 375.9 MB, free: 20.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/2.27, allocations: 42.5 kB / 375.9 MB, free: 20.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/2.27, allocations: 11.94 kB / 375.9 MB, free: 20.71 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * 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.0001121/2.27, allocations: 116.7 kB / 376.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/2.27, allocations: 19.34 kB / 376.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.186e-05/2.27, allocations: 19.53 kB / 376.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/2.27, allocations: 0.7969 kB / 376.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/2.27, allocations: 0 / 376.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/2.27, allocations: 8.641 kB / 376.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/2.27, allocations: 245.4 kB / 376.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/2.27, allocations: 0 / 376.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000405/2.271, allocations: 40.48 kB / 376.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/2.271, allocations: 8.656 kB / 376.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/2.271, allocations: 0.5156 kB / 376.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/2.271, allocations: 4 kB / 376.4 MB, free: 20.4 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/2.271, allocations: 3.906 kB / 376.4 MB, free: 20.4 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004579/2.271, allocations: 206.3 kB / 376.6 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007674/2.272, allocations: 0.6281 MB / 377.2 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.307e-05/2.272, allocations: 102.4 kB / 377.3 MB, free: 19.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.096e-05/2.272, allocations: 4.562 kB / 377.3 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/2.273, allocations: 30.8 kB / 377.4 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.086e-05/2.273, allocations: 18.31 kB / 377.4 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/2.273, allocations: 3.844 kB / 377.4 MB, free: 19.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001861/2.273, allocations: 149.9 kB / 377.5 MB, free: 19.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001221/2.274, allocations: 50.89 kB / 377.6 MB, free: 19.67 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001681/2.274, allocations: 104.4 kB / 377.7 MB, free: 19.58 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003507/2.275, allocations: 148.3 kB / 377.8 MB, free: 19.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/2.275, allocations: 0 / 377.8 MB, free: 19.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/2.275, allocations: 50.66 kB / 377.9 MB, free: 19.53 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/2.275, allocations: 25.94 kB / 377.9 MB, free: 19.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009674/2.276, allocations: 307.6 kB / 378.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004903/2.277, allocations: 0.7698 MB / 379 MB, free: 18.65 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/2.277, allocations: 0 / 379 MB, free: 18.65 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat does not exist to compare? outputFormat=mat