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"}) Notification: Performance of loadModel(Modelica): time 2.035/2.035, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.324e-05/2.322e-05, allocations: 0 / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3062, allocations: 44.49 MB / 294.2 MB, free: 14.47 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2094/0.5156, allocations: 86.38 MB / 380.6 MB, free: 11.51 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003962/0.5161, allocations: 67.91 kB / 380.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4946/1.011, allocations: 54.46 MB / 435.1 MB, free: 90.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.011, allocations: 1.812 kB / 435.1 MB, free: 90.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.667e-05/1.011, allocations: 23.28 kB / 435.2 MB, free: 90.11 MB / 362.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.004469/1.015, allocations: 1.736 MB / 436.9 MB, free: 89.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/1.015, allocations: 9.125 kB / 436.9 MB, free: 89.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004443/1.016, allocations: 227.1 kB / 437.1 MB, free: 89.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002716/1.019, allocations: 1.249 MB / 438.4 MB, free: 88.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/1.019, allocations: 18.16 kB / 438.4 MB, free: 88.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/1.019, allocations: 38.09 kB / 438.4 MB, free: 88.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001103/1.02, allocations: 436.3 kB / 438.9 MB, free: 88.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/1.021, allocations: 0.5553 MB / 439.4 MB, free: 88.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/1.021, allocations: 352 / 439.4 MB, free: 88.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/1.021, allocations: 3.953 kB / 439.4 MB, free: 88.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/1.021, allocations: 17.75 kB / 439.4 MB, free: 88.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005422/1.027, allocations: 2.489 MB / 441.9 MB, free: 87.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008846/1.028, allocations: 498.5 kB / 442.4 MB, free: 87.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007912/1.029, allocations: 485.7 kB / 442.9 MB, free: 87.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01346/1.042, allocations: 8.753 MB / 451.6 MB, free: 80.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006551/1.043, allocations: 312.3 kB / 451.9 MB, free: 80.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=67): time 3.587e-06/1.043, allocations: 0 / 451.9 MB, free: 80.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=67): time 0.002588/1.045, allocations: 0.9556 MB / 452.9 MB, free: 80.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/1.045, allocations: 84.89 kB / 453 MB, free: 80.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/1.047, allocations: 1.158 MB / 454.1 MB, free: 79.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.192e-05/1.048, allocations: 29.7 kB / 454.2 MB, free: 79.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007818/1.048, allocations: 0.794 MB / 455 MB, free: 79.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/1.049, allocations: 218.1 kB / 455.2 MB, free: 79.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.066e-05/1.049, allocations: 0 / 455.2 MB, free: 79.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.998e-05/1.049, allocations: 337.1 kB / 455.5 MB, free: 79.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/1.049, allocations: 182 kB / 455.7 MB, free: 79.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/1.05, allocations: 377.3 kB / 456.1 MB, free: 78.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/1.051, allocations: 355.1 kB / 456.4 MB, free: 78.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.051, allocations: 0 / 456.4 MB, free: 78.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00254/1.053, allocations: 1.068 MB / 457.5 MB, free: 78.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/1.053, allocations: 5.906 kB / 457.5 MB, free: 78.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001846/1.054, allocations: 75.58 kB / 457.5 MB, free: 78.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001723/1.055, allocations: 0.6627 MB / 458.2 MB, free: 78.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008729/1.056, allocations: 123.5 kB / 458.3 MB, free: 78.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/1.058, allocations: 1.287 MB / 459.6 MB, free: 77.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/1.06, allocations: 86.05 kB / 459.7 MB, free: 77.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/1.06, allocations: 40.28 kB / 459.7 MB, free: 77.25 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.0002737/1.06, allocations: 132 kB / 459.9 MB, free: 77.13 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002415/1.063, allocations: 0.9557 MB / 460.8 MB, free: 76.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003617/1.063, allocations: 200.2 kB / 461 MB, free: 76.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003519/1.067, allocations: 1.105 MB / 462.1 MB, free: 76.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/1.067, allocations: 5.375 kB / 462.1 MB, free: 76.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.527e-06/1.067, allocations: 0 / 462.1 MB, free: 76.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/1.067, allocations: 3.891 kB / 462.1 MB, free: 76.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/1.069, allocations: 0.9138 MB / 463 MB, free: 75.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001776/1.069, allocations: 75.11 kB / 463.1 MB, free: 75.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006477/1.069, allocations: 67.94 kB / 463.2 MB, free: 75.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001616/1.071, allocations: 0.6645 MB / 463.9 MB, free: 75.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.735e-05/1.071, allocations: 16.34 kB / 463.9 MB, free: 75.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/1.073, allocations: 1.257 MB / 465.1 MB, free: 74.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.073, allocations: 3.938 kB / 465.1 MB, free: 74.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004428/1.078, allocations: 1.289 MB / 466.4 MB, free: 74.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007486/1.079, allocations: 292.8 kB / 466.7 MB, free: 74.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003084/1.079, allocations: 3.938 kB / 466.7 MB, free: 74.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009304/1.08, allocations: 45.47 kB / 466.7 MB, free: 74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/1.08, allocations: 47 kB / 466.8 MB, free: 74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.468e-05/1.08, allocations: 25.3 kB / 466.8 MB, free: 74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001557/1.082, allocations: 0.8666 MB / 467.7 MB, free: 73.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.5e-07/1.082, allocations: 0 / 467.7 MB, free: 73.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001583/1.083, allocations: 451.2 kB / 468.1 MB, free: 73.5 MB / 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.004377/1.088, allocations: 2.361 MB / 470.5 MB, free: 71.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00202/1.09, allocations: 0.709 MB / 471.2 MB, free: 70.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.09, allocations: 0 / 471.2 MB, free: 70.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001288/1.091, allocations: 456.2 kB / 471.6 MB, free: 70.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/1.092, allocations: 180.7 kB / 471.8 MB, free: 70.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007502/1.1, allocations: 2.616 MB / 474.4 MB, free: 67.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006708/1.101, allocations: 1.256 MB / 475.7 MB, free: 66.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009046/1.102, allocations: 179.7 kB / 475.9 MB, free: 66.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008726/1.102, allocations: 0.6226 MB / 476.5 MB, free: 66.15 MB / 362.7 MB Notification: Performance of SimCode: time 1.854e-06/1.103, allocations: 0 / 476.5 MB, free: 66.15 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08788/1.19, allocations: 28.37 MB / 0.493 GB, free: 39.58 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/1.191, allocations: 162.5 kB / 0.4932 GB, free: 39.38 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.917/5.108, allocations: 4 kB / 0.4932 GB, free: 39.38 MB / 362.7 MB