Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",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.688/1.688, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2284/1.916, allocations: 46.82 MB / 249.4 MB, free: 5.359 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/2.025, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2858/2.311, allocations: 74.96 MB / 368.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/2.312, allocations: 70.5 kB / 368.9 MB, free: 7.117 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.07988/2.391, allocations: 16.6 MB / 385.5 MB, free: 2.871 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/2.391, allocations: 11.69 kB / 385.6 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006037/2.392, allocations: 107.8 kB / 385.7 MB, free: 2.816 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/2.394, allocations: 0.5267 MB / 386.2 MB, free: 2.461 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.883e-05/2.394, allocations: 27.19 kB / 386.2 MB, free: 2.461 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002951/2.394, allocations: 50.09 kB / 386.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003411/2.397, allocations: 0.8398 MB / 387.1 MB, free: 2.422 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002969/2.4, allocations: 0.8375 MB / 387.9 MB, free: 2.207 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.981e-05/2.4, allocations: 7.891 kB / 387.9 MB, free: 2.199 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/2.401, allocations: 0 / 387.9 MB, free: 2.199 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/2.401, allocations: 19.38 kB / 388 MB, free: 2.199 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01084/2.412, allocations: 3.671 MB / 391.6 MB, free: 16.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/2.413, allocations: 0.5219 MB / 392.2 MB, free: 16.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/2.415, allocations: 444.2 kB / 392.6 MB, free: 16.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-05/2.415, allocations: 12.03 kB / 392.6 MB, free: 16.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/2.415, allocations: 42.5 kB / 392.6 MB, free: 16.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 3.397e-06/2.415, allocations: 4 kB / 392.6 MB, free: 16.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.007276/2.422, allocations: 1.985 MB / 394.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/2.422, allocations: 58.66 kB / 394.7 MB, free: 15.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008185/2.423, allocations: 412.8 kB / 395.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001261/2.423, allocations: 25.7 kB / 395.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/2.423, allocations: 338.9 kB / 395.4 MB, free: 14.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003117/2.424, allocations: 246.6 kB / 395.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/2.424, allocations: 1.312 kB / 395.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002096/2.424, allocations: 377.1 kB / 396.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/2.425, allocations: 350 kB / 396.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/2.427, allocations: 465 kB / 396.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/2.428, allocations: 390.9 kB / 397.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/2.428, allocations: 0 / 397.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.004096/2.432, allocations: 1.081 MB / 398.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/2.432, allocations: 5.312 kB / 398.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/2.432, allocations: 6.938 kB / 398.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/2.433, allocations: 168.8 kB / 398.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003071/2.436, allocations: 302.3 kB / 398.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006516/2.443, allocations: 2.462 MB / 401.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/2.445, allocations: 123 kB / 401.4 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/2.445, allocations: 32.42 kB / 401.4 MB, free: 12.42 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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 {(5,60.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003463/2.446, allocations: 122.9 kB / 401.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/2.446, allocations: 72.95 kB / 401.6 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004147/2.446, allocations: 84.86 kB / 401.7 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/2.447, allocations: 6.969 kB / 401.7 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/2.447, allocations: 2.719 kB / 401.7 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/2.447, allocations: 3.984 kB / 401.7 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/2.449, allocations: 0.9082 MB / 402.6 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/2.449, allocations: 1.344 kB / 402.6 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002851/2.451, allocations: 248.8 kB / 402.8 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00105/2.453, allocations: 178.8 kB / 403 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/2.453, allocations: 12.73 kB / 403 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006522/2.459, allocations: 2.467 MB / 405.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/2.459, allocations: 1.281 kB / 405.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005466/2.465, allocations: 1.534 MB / 407 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007512/2.472, allocations: 2.41 MB / 409.4 MB, free: 8.629 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/2.473, allocations: 140.4 kB / 409.6 MB, free: 8.488 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002546/2.473, allocations: 3.219 kB / 409.6 MB, free: 8.488 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002333/2.475, allocations: 152.4 kB / 409.7 MB, free: 8.438 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/2.475, allocations: 39.88 kB / 409.8 MB, free: 8.414 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/2.476, allocations: 27.48 kB / 409.8 MB, free: 8.402 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0006469/2.476, allocations: 314.5 kB / 410.1 MB, free: 8.215 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002275/2.479, allocations: 222 kB / 410.3 MB, free: 8.199 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.C.v,Transistor2.ct.v,Transistor2.Tr.C.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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 {(5,68.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003459/2.479, allocations: 118.8 kB / 410.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004116/2.483, allocations: 1.037 MB / 411.5 MB, free: 7.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/2.483, allocations: 0 / 411.5 MB, free: 7.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002609/2.486, allocations: 0.6254 MB / 412.1 MB, free: 6.699 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008607/2.487, allocations: 78.38 kB / 412.2 MB, free: 6.625 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006358/2.493, allocations: 1.744 MB / 413.9 MB, free: 4.871 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001684/2.495, allocations: 1.098 MB / 415 MB, free: 3.746 MB / 314.7 MB Notification: Performance of SimCode: time 1.213e-06/2.495, allocations: 0 / 415 MB, free: 3.746 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat does not exist to compare? outputFormat=mat