Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",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.794/1.794, allocations: 171.2 MB / 178.1 MB, free: 8.277 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2058/2, allocations: 41.11 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/2.106, allocations: 38.76 MB / 258 MB, free: 4.355 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3407/2.447, allocations: 82.51 MB / 340.5 MB, free: 5.73 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/2.448, allocations: 67.66 kB / 340.6 MB, free: 5.699 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.2453/2.693, allocations: 57.13 MB / 397.7 MB, free: 1.691 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.566e-05/2.693, allocations: 12 kB / 397.7 MB, free: 1.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007875/2.694, allocations: 221.4 kB / 397.9 MB, free: 1.461 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004004/2.698, allocations: 1.259 MB / 399.2 MB, free: 132 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.709e-05/2.698, allocations: 20 kB / 399.2 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/2.698, allocations: 32 kB / 399.3 MB, free: 80 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002055/2.7, allocations: 438.6 kB / 399.7 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/2.702, allocations: 0.5547 MB / 400.2 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/2.702, allocations: 0 / 400.2 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/2.702, allocations: 4 kB / 400.2 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/2.702, allocations: 16 kB / 400.3 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00686/2.709, allocations: 2.499 MB / 402.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/2.71, allocations: 452.6 kB / 403.2 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/2.712, allocations: 458.3 kB / 403.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01782/2.729, allocations: 8.718 MB / 412.4 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007914/2.73, allocations: 301.7 kB / 412.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 4.028e-06/2.73, allocations: 0 / 412.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.003014/2.733, allocations: 0.9234 MB / 413.6 MB, free: 220 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/2.733, allocations: 85.55 kB / 413.7 MB, free: 116 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1331/2.867, allocations: 1.155 MB / 414.8 MB, free: 126.4 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001498/2.867, allocations: 27.92 kB / 414.8 MB, free: 126.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/2.867, allocations: 409.8 kB / 415.2 MB, free: 126.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/2.867, allocations: 217.8 kB / 415.5 MB, free: 126.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/2.867, allocations: 3.281 kB / 415.5 MB, free: 126.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.903e-05/2.868, allocations: 344.1 kB / 415.8 MB, free: 125.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005372/2.868, allocations: 178.2 kB / 416 MB, free: 125.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006265/2.869, allocations: 374.6 kB / 416.3 MB, free: 125.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/2.87, allocations: 325.1 kB / 416.7 MB, free: 125.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/2.87, allocations: 0 / 416.7 MB, free: 125.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0037/2.874, allocations: 1.054 MB / 417.7 MB, free: 125.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/2.874, allocations: 5.812 kB / 417.7 MB, free: 125.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003417/2.874, allocations: 73.55 kB / 417.8 MB, free: 125.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002307/2.876, allocations: 0.6643 MB / 418.5 MB, free: 125.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009841/2.877, allocations: 129.7 kB / 418.6 MB, free: 125.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003109/2.88, allocations: 1.283 MB / 419.9 MB, free: 124.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/2.883, allocations: 98.5 kB / 420 MB, free: 124.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002682/2.883, allocations: 33.31 kB / 420 MB, free: 124.9 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: RS2.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Q2.vcs:VARIABLE(unit = "V" ) type: Real Q1.B.v:VARIABLE(flow=false unit = "V" ) "Potential at the pin" type: Real Q1.vcs:VARIABLE(unit = "V" ) type: Real Q2.Einternal:VARIABLE(unit = "V" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VCC.counter,VCC.counter,$PRE.VEE.counter,VEE.counter,$whenCondition2,$whenCondition1,$PRE.VCC.T0,VCC.T0,$PRE.VCC.counter2,VCC.counter2,$PRE.VEE.T0,VEE.T0,$PRE.VEE.counter2,VEE.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {5 26} Notification: Performance of prepare postOptimizeDAE: time 0.0004268/2.883, allocations: 133.5 kB / 420.1 MB, free: 124.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005517/2.884, allocations: 199.1 kB / 420.3 MB, free: 124.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006139/2.89, allocations: 1.153 MB / 421.5 MB, free: 124.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/2.89, allocations: 3.219 kB / 421.5 MB, free: 124.6 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/2.89, allocations: 3.594 kB / 421.5 MB, free: 124.6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/2.89, allocations: 3.562 kB / 421.5 MB, free: 124.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/2.893, allocations: 0.9118 MB / 422.4 MB, free: 124.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002164/2.893, allocations: 65.75 kB / 422.5 MB, free: 124.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/2.894, allocations: 78.88 kB / 422.5 MB, free: 124.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002132/2.896, allocations: 0.6624 MB / 423.2 MB, free: 124.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/2.897, allocations: 14.52 kB / 423.2 MB, free: 124.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002659/2.899, allocations: 1.268 MB / 424.5 MB, free: 123.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/2.899, allocations: 0 / 424.5 MB, free: 123.8 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003974/2.903, allocations: 1.272 MB / 425.7 MB, free: 123.6 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004853/2.908, allocations: 1.939 MB / 427.7 MB, free: 123 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/2.909, allocations: 294.1 kB / 428 MB, free: 122.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006575/2.91, allocations: 7.406 kB / 428 MB, free: 122.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/2.912, allocations: 47.47 kB / 428 MB, free: 122.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002768/2.912, allocations: 43.34 kB / 428.1 MB, free: 122.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/2.912, allocations: 30.2 kB / 428.1 MB, free: 122.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.002828/2.915, allocations: 0.8642 MB / 429 MB, free: 122.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003634/2.919, allocations: 470.6 kB / 429.4 MB, free: 122.7 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {5 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.001535/2.921, allocations: 0.6136 MB / 430 MB, free: 122.6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002653/2.923, allocations: 0.7048 MB / 430.7 MB, free: 122.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/2.923, allocations: 2.188 kB / 430.7 MB, free: 122.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001569/2.925, allocations: 460.8 kB / 431.2 MB, free: 122.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/2.927, allocations: 162 kB / 431.4 MB, free: 122.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009465/2.937, allocations: 2.399 MB / 433.8 MB, free: 121.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/2.938, allocations: 1.356 MB / 435.1 MB, free: 121.1 MB / 346.7 MB Notification: Performance of SimCode: time 1.583e-06/2.938, allocations: 0 / 435.1 MB, free: 121.1 MB / 346.7 MB