Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",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.839/1.839, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2282/2.067, allocations: 46.84 MB / 249.4 MB, free: 5.336 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09885/2.166, allocations: 44.5 MB / 293.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2813/2.447, allocations: 72.27 MB / 366.1 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/2.448, allocations: 71.53 kB / 366.2 MB, free: 7.145 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.01544/2.463, allocations: 3.815 MB / 370 MB, free: 6.484 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/2.463, allocations: 11.69 kB / 370 MB, free: 6.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.209e-05/2.463, allocations: 31.38 kB / 370 MB, free: 6.465 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/2.463, allocations: 235.4 kB / 370.3 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/2.464, allocations: 9.109 kB / 370.3 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/2.464, allocations: 15.66 kB / 370.3 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005341/2.464, allocations: 132 kB / 370.4 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/2.465, allocations: 165.5 kB / 370.6 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/2.465, allocations: 3.906 kB / 370.6 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/2.465, allocations: 0 / 370.6 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/2.465, allocations: 7.594 kB / 370.6 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/2.467, allocations: 0.8604 MB / 371.5 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005244/2.467, allocations: 143.6 kB / 371.6 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/2.468, allocations: 104.9 kB / 371.7 MB, free: 5.703 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/2.468, allocations: 4 kB / 371.7 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/2.468, allocations: 40.12 kB / 371.8 MB, free: 5.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 2.725e-06/2.468, allocations: 0 / 371.8 MB, free: 5.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009793/2.469, allocations: 204.8 kB / 372 MB, free: 5.605 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/2.469, allocations: 52.77 kB / 372 MB, free: 5.543 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/2.469, allocations: 175.2 kB / 372.2 MB, free: 5.445 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/2.469, allocations: 25.7 kB / 372.2 MB, free: 5.414 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.714e-05/2.469, allocations: 156.9 kB / 372.4 MB, free: 5.289 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.299e-05/2.469, allocations: 48.09 kB / 372.4 MB, free: 5.258 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/2.469, allocations: 3.938 kB / 372.4 MB, free: 5.254 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/2.47, allocations: 331.3 kB / 372.7 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/2.47, allocations: 39.75 kB / 372.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/2.47, allocations: 93.17 kB / 372.9 MB, free: 20.87 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/2.47, allocations: 54.33 kB / 372.9 MB, free: 20.87 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/2.47, allocations: 0 / 372.9 MB, free: 20.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001301/2.472, allocations: 264.2 kB / 373.2 MB, free: 20.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/2.472, allocations: 5.391 kB / 373.2 MB, free: 20.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/2.472, allocations: 3.875 kB / 373.2 MB, free: 20.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000837/2.473, allocations: 106.7 kB / 373.3 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/2.473, allocations: 43.45 kB / 373.3 MB, free: 20.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002925/2.476, allocations: 1.587 MB / 374.9 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/2.476, allocations: 11.75 kB / 374.9 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/2.476, allocations: 14.5 kB / 374.9 MB, free: 19.47 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 (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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001709/2.476, allocations: 118.1 kB / 375.1 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.976e-05/2.477, allocations: 23.47 kB / 375.1 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.516e-05/2.477, allocations: 19.33 kB / 375.1 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/2.477, allocations: 3.984 kB / 375.1 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/2.477, allocations: 0 / 375.1 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/2.477, allocations: 0 / 375.1 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/2.478, allocations: 0.5334 MB / 375.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/2.478, allocations: 0 / 375.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/2.478, allocations: 22.78 kB / 375.7 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007711/2.479, allocations: 102.1 kB / 375.8 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/2.479, allocations: 9.016 kB / 375.8 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002778/2.482, allocations: 1.6 MB / 377.4 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/2.482, allocations: 0 / 377.4 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001081/2.483, allocations: 362.4 kB / 377.7 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001281/2.484, allocations: 0.7773 MB / 378.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/2.485, allocations: 102.2 kB / 378.6 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/2.485, allocations: 0 / 378.6 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/2.485, allocations: 10.05 kB / 378.6 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/2.485, allocations: 10.98 kB / 378.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/2.485, allocations: 7.906 kB / 378.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001709/2.485, allocations: 136.1 kB / 378.8 MB, free: 16.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001465/2.487, allocations: 71.34 kB / 378.8 MB, free: 16.82 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0001932/2.487, allocations: 104.5 kB / 378.9 MB, free: 16.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005506/2.487, allocations: 225.1 kB / 379.1 MB, free: 16.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/2.487, allocations: 0 / 379.1 MB, free: 16.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003238/2.488, allocations: 160.5 kB / 379.3 MB, free: 16.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/2.488, allocations: 20.19 kB / 379.3 MB, free: 16.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/2.491, allocations: 455.8 kB / 379.8 MB, free: 16.33 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004325/2.491, allocations: 0.7632 MB / 380.5 MB, free: 15.63 MB / 314.7 MB Notification: Performance of SimCode: time 9.71e-07/2.491, allocations: 0 / 380.5 MB, free: 15.63 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat does not exist to compare? outputFormat=mat