Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.711/2.711, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.311e-05, allocations: 3.844 kB / 249.8 MB, free: 5.238 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6165/0.7217, allocations: 86.38 MB / 380.6 MB, free: 5.691 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/0.722, allocations: 70.5 kB / 380.7 MB, free: 5.684 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2543/0.9764, allocations: 54.67 MB / 435.4 MB, free: 3.395 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.9765, allocations: 0 / 435.4 MB, free: 3.395 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001086/0.9766, allocations: 24 kB / 435.4 MB, free: 3.371 MB / 330.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.005883/0.9825, allocations: 1.732 MB / 437.1 MB, free: 1.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.808e-05/0.9826, allocations: 12.02 kB / 437.1 MB, free: 1.578 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002514/0.9829, allocations: 79.39 kB / 437.2 MB, free: 1.492 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006134/0.9835, allocations: 233.3 kB / 437.5 MB, free: 1.262 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004359/0.9879, allocations: 1.243 MB / 438.7 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.895e-05/0.988, allocations: 22 kB / 438.7 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/0.9882, allocations: 43.84 kB / 438.8 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001654/0.9899, allocations: 446.4 kB / 439.2 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.9918, allocations: 0.5509 MB / 439.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.9918, allocations: 0 / 439.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.992, allocations: 4 kB / 439.8 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-05/0.992, allocations: 23.98 kB / 439.8 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008936/1.001, allocations: 2.472 MB / 442.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/1.003, allocations: 0.4971 MB / 442.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001807/1.005, allocations: 475 kB / 443.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02951/1.034, allocations: 8.752 MB / 452 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00142/1.036, allocations: 309.2 kB / 452.3 MB, free: 0.957 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 6.281e-06/1.036, allocations: 3.938 kB / 452.3 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.005258/1.041, allocations: 0.9576 MB / 453.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/1.041, allocations: 89.42 kB / 453.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005846/1.047, allocations: 1.152 MB / 454.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002208/1.048, allocations: 29.7 kB / 454.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001875/1.049, allocations: 0.7937 MB / 455.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.007914/1.057, allocations: 212.8 kB / 455.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/1.058, allocations: 0 / 455.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003906/1.058, allocations: 341.9 kB / 455.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/1.06, allocations: 182.1 kB / 456 MB, free: 13.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/1.061, allocations: 382 kB / 456.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008007/1.069, allocations: 364 kB / 456.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-05/1.07, allocations: 4 kB / 456.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.01187/1.081, allocations: 1.052 MB / 457.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.474e-05/1.082, allocations: 8 kB / 457.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004107/1.086, allocations: 71.98 kB / 457.9 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004019/1.09, allocations: 0.676 MB / 458.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/1.092, allocations: 127.8 kB / 458.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00578/1.098, allocations: 1.276 MB / 459.9 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/1.101, allocations: 87.25 kB / 460 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003359/1.101, allocations: 36.06 kB / 460.1 MB, free: 8.945 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.000596/1.102, allocations: 145.2 kB / 460.2 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009318/1.103, allocations: 201.6 kB / 460.4 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008622/1.111, allocations: 1.088 MB / 461.5 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.977e-05/1.111, allocations: 15.92 kB / 461.5 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/1.111, allocations: 3.953 kB / 461.5 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/1.111, allocations: 0 / 461.5 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004191/1.116, allocations: 0.9193 MB / 462.4 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004176/1.116, allocations: 67.98 kB / 462.5 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/1.118, allocations: 63.94 kB / 462.6 MB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004143/1.122, allocations: 0.67 MB / 463.2 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001824/1.122, allocations: 15.98 kB / 463.2 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004534/1.126, allocations: 1.252 MB / 464.5 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.036e-06/1.127, allocations: 0 / 464.5 MB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005472/1.132, allocations: 1.289 MB / 465.8 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/1.133, allocations: 294.6 kB / 466.1 MB, free: 2.797 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004357/1.134, allocations: 8 kB / 466.1 MB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002087/1.136, allocations: 43.91 kB / 466.1 MB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004153/1.136, allocations: 44.38 kB / 466.2 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/1.136, allocations: 31.92 kB / 466.2 MB, free: 2.672 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003944/1.14, allocations: 0.867 MB / 467.1 MB, free: 1.785 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.433e-06/1.14, allocations: 0 / 467.1 MB, free: 1.785 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003622/1.144, allocations: 451.1 kB / 467.5 MB, free: 1.344 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.01134/1.155, allocations: 2.352 MB / 469.9 MB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005049/1.161, allocations: 0.7126 MB / 470.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/1.161, allocations: 0 / 470.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003552/1.164, allocations: 462.6 kB / 471 MB, free: 13.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002549/1.167, allocations: 170.9 kB / 471.2 MB, free: 13.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/1.186, allocations: 2.63 MB / 473.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002438/1.188, allocations: 1.247 MB / 475.1 MB, free: 9.699 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002328/1.19, allocations: 175.2 kB / 475.2 MB, free: 9.523 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002692/1.193, allocations: 0.6203 MB / 475.9 MB, free: 8.902 MB / 378.7 MB Notification: Performance of SimCode: time 3.106e-06/1.193, allocations: 0 / 475.9 MB, free: 8.902 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4733/1.667, allocations: 29.22 MB / 0.4932 GB, free: 103.3 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003015/1.667, allocations: 163.1 kB / 0.4934 GB, free: 103.1 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.129/6.796, allocations: 0 / 0.4934 GB, free: 103.1 MB / 394.7 MB