Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_2_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.611/1.611, allocations: 194.9 MB / 202.5 MB, free: 6.918 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1919/1.803, allocations: 46.83 MB / 249.3 MB, free: 5.371 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08926/1.892, allocations: 44.49 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2854/2.177, allocations: 86.31 MB / 380.2 MB, free: 5.977 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/2.178, allocations: 73.38 kB / 380.2 MB, free: 5.965 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.1857/2.363, allocations: 56.5 MB / 436.7 MB, free: 1.746 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/2.363, allocations: 8 kB / 436.7 MB, free: 1.738 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000548/2.364, allocations: 225.4 kB / 437 MB, free: 1.516 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003495/2.368, allocations: 1.262 MB / 438.2 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.048e-05/2.368, allocations: 19.94 kB / 438.2 MB, free: 212 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/2.368, allocations: 36 kB / 438.3 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001364/2.369, allocations: 439.1 kB / 438.7 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/2.371, allocations: 0.5509 MB / 439.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/2.371, allocations: 3.906 kB / 439.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.051e-05/2.371, allocations: 0 / 439.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/2.371, allocations: 15.98 kB / 439.3 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006232/2.377, allocations: 2.491 MB / 441.8 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/2.378, allocations: 452 kB / 442.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009784/2.379, allocations: 462.2 kB / 442.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01633/2.396, allocations: 8.717 MB / 451.4 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000773/2.396, allocations: 297.8 kB / 451.7 MB, free: 1.328 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 4.639e-06/2.396, allocations: 3.938 kB / 451.7 MB, free: 1.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.002996/2.399, allocations: 0.927 MB / 452.6 MB, free: 396 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.331e-05/2.4, allocations: 85.55 kB / 452.7 MB, free: 292 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/2.402, allocations: 1.155 MB / 453.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001572/2.402, allocations: 29.7 kB / 453.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004534/2.403, allocations: 412.9 kB / 454.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/2.403, allocations: 220.7 kB / 454.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/2.403, allocations: 0 / 454.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/2.403, allocations: 335 kB / 454.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005654/2.404, allocations: 185.8 kB / 455 MB, free: 13.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007213/2.405, allocations: 375.9 kB / 455.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/2.406, allocations: 322.7 kB / 455.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/2.406, allocations: 0 / 455.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002951/2.409, allocations: 1.045 MB / 456.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/2.409, allocations: 4 kB / 456.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001871/2.409, allocations: 71.98 kB / 456.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002089/2.411, allocations: 0.6719 MB / 457.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009806/2.412, allocations: 127.8 kB / 457.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002868/2.415, allocations: 1.292 MB / 458.9 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/2.417, allocations: 87.25 kB / 459 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/2.417, allocations: 43.92 kB / 459 MB, free: 9.77 MB / 362.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.0003131/2.417, allocations: 145 kB / 459.1 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003302/2.417, allocations: 197.7 kB / 459.3 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004512/2.422, allocations: 1.154 MB / 460.5 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/2.422, allocations: 8 kB / 460.5 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/2.422, allocations: 3.938 kB / 460.5 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/2.422, allocations: 0 / 460.5 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/2.424, allocations: 0.9112 MB / 461.4 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001834/2.424, allocations: 67.98 kB / 461.5 MB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000757/2.425, allocations: 71.94 kB / 461.6 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00203/2.427, allocations: 0.6661 MB / 462.2 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.35e-05/2.427, allocations: 19.98 kB / 462.2 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002734/2.43, allocations: 1.26 MB / 463.5 MB, free: 5.191 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/2.43, allocations: 0 / 463.5 MB, free: 5.191 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00356/2.433, allocations: 1.262 MB / 464.8 MB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004596/2.438, allocations: 1.938 MB / 466.7 MB, free: 1.945 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008201/2.439, allocations: 306.4 kB / 467 MB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003242/2.439, allocations: 4.125 kB / 467 MB, free: 1.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/2.44, allocations: 47.95 kB / 467.1 MB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/2.441, allocations: 44.38 kB / 467.1 MB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.91e-05/2.441, allocations: 27.98 kB / 467.1 MB, free: 1.504 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.001927/2.443, allocations: 0.867 MB / 468 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002475/2.445, allocations: 467.1 kB / 468.4 MB, free: 164 kB / 362.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.00151/2.447, allocations: 0.6166 MB / 469.1 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002469/2.449, allocations: 0.6968 MB / 469.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/2.449, allocations: 3.938 kB / 469.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001616/2.451, allocations: 461.1 kB / 470.2 MB, free: 14.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/2.452, allocations: 170.9 kB / 470.4 MB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008365/2.46, allocations: 2.394 MB / 472.8 MB, free: 11.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/2.462, allocations: 1.344 MB / 474.1 MB, free: 10.44 MB / 378.7 MB Notification: Performance of SimCode: time 1.492e-06/2.462, allocations: 0 / 474.1 MB, free: 10.44 MB / 378.7 MB