Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.98/1.98, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.477e-05/2.477e-05, allocations: 0 / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3082, allocations: 44.49 MB / 294.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1841/0.4924, allocations: 86.39 MB / 380.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.4927, allocations: 71.97 kB / 380.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5086/1.001, allocations: 54.45 MB / 435.1 MB, free: 89.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/1.001, allocations: 1.812 kB / 435.1 MB, free: 89.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.817e-05/1.002, allocations: 29.88 kB / 435.1 MB, free: 89.88 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.004337/1.006, allocations: 1.733 MB / 436.9 MB, free: 88.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/1.006, allocations: 11.72 kB / 436.9 MB, free: 88.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004517/1.006, allocations: 220 kB / 437.1 MB, free: 88.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003008/1.009, allocations: 1.253 MB / 438.4 MB, free: 88.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/1.01, allocations: 16.09 kB / 438.4 MB, free: 88.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/1.01, allocations: 40 kB / 438.4 MB, free: 88.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001164/1.011, allocations: 434.4 kB / 438.8 MB, free: 88.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/1.012, allocations: 0.5518 MB / 439.4 MB, free: 88.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/1.012, allocations: 2.812 kB / 439.4 MB, free: 88.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.212e-05/1.012, allocations: 3.953 kB / 439.4 MB, free: 88.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/1.012, allocations: 21.27 kB / 439.4 MB, free: 88.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005185/1.018, allocations: 2.487 MB / 441.9 MB, free: 87.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008339/1.018, allocations: 0.4933 MB / 442.4 MB, free: 87.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000758/1.019, allocations: 479.4 kB / 442.9 MB, free: 87.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01303/1.032, allocations: 8.757 MB / 451.6 MB, free: 80.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006987/1.033, allocations: 304.3 kB / 451.9 MB, free: 80.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=67): time 3.807e-06/1.033, allocations: 3.781 kB / 451.9 MB, free: 80.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=67): time 0.002683/1.036, allocations: 0.9577 MB / 452.9 MB, free: 80.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/1.036, allocations: 89.03 kB / 453 MB, free: 79.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/1.038, allocations: 1.153 MB / 454.1 MB, free: 79.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/1.038, allocations: 33.64 kB / 454.1 MB, free: 79.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000677/1.039, allocations: 0.6982 MB / 454.8 MB, free: 79.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/1.039, allocations: 214.6 kB / 455.1 MB, free: 79.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/1.039, allocations: 0 / 455.1 MB, free: 79.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.949e-05/1.039, allocations: 345.5 kB / 455.4 MB, free: 78.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/1.04, allocations: 180.9 kB / 455.6 MB, free: 78.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005905/1.04, allocations: 379 kB / 455.9 MB, free: 78.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/1.041, allocations: 353.7 kB / 456.3 MB, free: 78.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/1.041, allocations: 3.906 kB / 456.3 MB, free: 78.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002244/1.044, allocations: 0.8979 MB / 457.2 MB, free: 78.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/1.044, allocations: 6.406 kB / 457.2 MB, free: 78.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002059/1.044, allocations: 72.88 kB / 457.3 MB, free: 78.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/1.046, allocations: 0.6759 MB / 457.9 MB, free: 77.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008222/1.046, allocations: 120 kB / 458.1 MB, free: 77.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/1.049, allocations: 1.284 MB / 459.3 MB, free: 77.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/1.05, allocations: 86.14 kB / 459.4 MB, free: 77.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.156e-05/1.05, allocations: 35.25 kB / 459.5 MB, free: 77.05 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.0002668/1.05, allocations: 138.2 kB / 459.6 MB, free: 76.92 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002254/1.053, allocations: 0.9557 MB / 460.5 MB, free: 76.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/1.053, allocations: 195.8 kB / 460.7 MB, free: 76.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/1.056, allocations: 1.099 MB / 461.8 MB, free: 76.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/1.056, allocations: 7.125 kB / 461.8 MB, free: 76.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.056, allocations: 0 / 461.8 MB, free: 76.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/1.056, allocations: 3.844 kB / 461.8 MB, free: 76.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/1.058, allocations: 0.9212 MB / 462.8 MB, free: 75.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001707/1.058, allocations: 66.84 kB / 462.8 MB, free: 75.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006246/1.059, allocations: 63.52 kB / 462.9 MB, free: 75.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/1.06, allocations: 0.6762 MB / 463.6 MB, free: 75.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.972e-05/1.06, allocations: 12.02 kB / 463.6 MB, free: 75.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/1.062, allocations: 1.258 MB / 464.8 MB, free: 74.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.062, allocations: 0 / 464.8 MB, free: 74.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00303/1.065, allocations: 1.285 MB / 466.1 MB, free: 74.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006583/1.066, allocations: 294.1 kB / 466.4 MB, free: 73.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003486/1.066, allocations: 7.812 kB / 466.4 MB, free: 73.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008777/1.067, allocations: 39.62 kB / 466.5 MB, free: 73.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/1.068, allocations: 54.27 kB / 466.5 MB, free: 73.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.427e-05/1.068, allocations: 21.36 kB / 466.5 MB, free: 73.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001695/1.069, allocations: 0.869 MB / 467.4 MB, free: 73.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.012e-06/1.069, allocations: 0 / 467.4 MB, free: 73.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001893/1.071, allocations: 457 kB / 467.9 MB, free: 73.29 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.004643/1.076, allocations: 2.356 MB / 470.2 MB, free: 71.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00198/1.078, allocations: 0.7034 MB / 470.9 MB, free: 71.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.078, allocations: 0 / 470.9 MB, free: 71.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001303/1.079, allocations: 459.3 kB / 471.4 MB, free: 70.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/1.081, allocations: 174.5 kB / 471.5 MB, free: 70.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008271/1.089, allocations: 2.665 MB / 474.2 MB, free: 68.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006729/1.09, allocations: 1.256 MB / 475.5 MB, free: 66.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009131/1.091, allocations: 0.6312 MB / 476.1 MB, free: 66.37 MB / 362.7 MB Notification: Performance of SimCode: time 2.334e-06/1.091, allocations: 0 / 476.1 MB, free: 66.37 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.11/4.2, allocations: 31.36 MB / 0.4956 GB, free: 36.91 MB / 362.7 MB