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.903/1.903, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.441e-05, allocations: 4 kB / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09331/0.09338, allocations: 44.51 MB / 299.9 MB, free: 6.551 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4475/0.5409, allocations: 87.04 MB / 387 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.5413, allocations: 75.34 kB / 387 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1846/0.7259, allocations: 57.37 MB / 444.4 MB, free: 7.734 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.726, allocations: 0 / 444.4 MB, free: 7.734 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001819/0.7262, allocations: 31.94 kB / 444.4 MB, free: 7.703 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.006435/0.7326, allocations: 1.732 MB / 446.2 MB, free: 6.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.78e-05/0.7327, allocations: 8.906 kB / 446.2 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002893/0.733, allocations: 109.6 kB / 446.3 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000667/0.7337, allocations: 221.4 kB / 446.5 MB, free: 5.715 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004753/0.7385, allocations: 1.245 MB / 447.8 MB, free: 4.617 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-05/0.7386, allocations: 55.69 kB / 447.8 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/0.7389, allocations: 57.84 kB / 447.9 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/0.7412, allocations: 0.6272 MB / 448.5 MB, free: 4.109 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.7412, allocations: 0 / 448.5 MB, free: 4.109 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.7414, allocations: 24.81 kB / 448.5 MB, free: 4.102 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.273e-05/0.7414, allocations: 19.17 kB / 448.5 MB, free: 4.086 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.7432, allocations: 465.8 kB / 449 MB, free: 3.793 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008068/0.7513, allocations: 2.597 MB / 451.6 MB, free: 1.246 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.7529, allocations: 0.5181 MB / 452.1 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.7544, allocations: 487 kB / 452.6 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01938/0.7738, allocations: 8.767 MB / 461.4 MB, free: 6.117 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008404/0.7747, allocations: 330 kB / 461.7 MB, free: 5.777 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 4.308e-06/0.7747, allocations: 0 / 461.7 MB, free: 5.777 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.002475/0.7772, allocations: 0.8759 MB / 462.6 MB, free: 4.895 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.943e-05/0.7773, allocations: 89.55 kB / 462.6 MB, free: 4.789 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002712/0.78, allocations: 1.25 MB / 463.9 MB, free: 3.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001523/0.7802, allocations: 37.7 kB / 463.9 MB, free: 3.457 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008818/0.7811, allocations: 0.7015 MB / 464.6 MB, free: 2.754 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/0.7814, allocations: 220.8 kB / 464.8 MB, free: 2.535 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/0.7815, allocations: 20 kB / 464.9 MB, free: 2.516 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.7817, allocations: 346.8 kB / 465.2 MB, free: 2.168 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005773/0.7823, allocations: 193.8 kB / 465.4 MB, free: 1.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007354/0.783, allocations: 397.6 kB / 465.8 MB, free: 1.504 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000688/0.7837, allocations: 257.7 kB / 466 MB, free: 1.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.7838, allocations: 4 kB / 466 MB, free: 1.246 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002285/0.786, allocations: 0.8511 MB / 466.9 MB, free: 396 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.7861, allocations: 8 kB / 466.9 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000176/0.7863, allocations: 75.92 kB / 467 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002088/0.7884, allocations: 0.7034 MB / 467.7 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000945/0.7894, allocations: 127.8 kB / 467.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.7916, allocations: 1.1 MB / 468.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.793, allocations: 103.2 kB / 469 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.7932, allocations: 36 kB / 469 MB, free: 14.21 MB / 362.7 MB 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.0002523/0.7934, allocations: 148.8 kB / 469.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003249/0.7938, allocations: 201.6 kB / 469.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003415/0.7972, allocations: 1.025 MB / 470.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.7973, allocations: 7.953 kB / 470.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.7973, allocations: 0 / 470.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.7973, allocations: 3.984 kB / 470.4 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.7994, allocations: 1.003 MB / 471.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001625/0.7996, allocations: 67.98 kB / 471.5 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006853/0.8003, allocations: 71.94 kB / 471.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001906/0.8023, allocations: 0.6778 MB / 472.2 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.8024, allocations: 23.98 kB / 472.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/0.8045, allocations: 1.073 MB / 473.3 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.8045, allocations: 0 / 473.3 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003314/0.8078, allocations: 1.219 MB / 474.5 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008767/0.8088, allocations: 298.5 kB / 474.8 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000274/0.8091, allocations: 15.94 kB / 474.8 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009575/0.81, allocations: 43.95 kB / 474.9 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/0.8103, allocations: 52.62 kB / 474.9 MB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-05/0.8104, allocations: 24.08 kB / 475 MB, free: 8.121 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002203/0.8126, allocations: 0.9616 MB / 475.9 MB, free: 7.133 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.8126, allocations: 0 / 475.9 MB, free: 7.133 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00186/0.8145, allocations: 491.1 kB / 476.4 MB, free: 6.652 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.004993/0.8195, allocations: 2.221 MB / 478.6 MB, free: 4.398 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002546/0.8222, allocations: 0.7379 MB / 479.4 MB, free: 3.648 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.8222, allocations: 7.875 kB / 479.4 MB, free: 3.641 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001572/0.8238, allocations: 478.1 kB / 479.8 MB, free: 3.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.8251, allocations: 179.2 kB / 480 MB, free: 2.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00911/0.8342, allocations: 2.72 MB / 482.7 MB, free: 204 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.8353, allocations: 1.255 MB / 484 MB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/0.8365, allocations: 0.6203 MB / 484.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.8366, allocations: 0 / 484.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.105/3.942, allocations: 31.41 MB / 0.5039 GB, free: 14.85 MB / 410.7 MB