Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.655/1.655, allocations: 171.2 MB / 183.8 MB, free: 12.01 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.629e-05/3.64e-05, allocations: 4 kB / 225.1 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2602, allocations: 38.77 MB / 263.8 MB, free: 9.77 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.4121, allocations: 82.93 MB / 346.8 MB, free: 6.711 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/0.4125, allocations: 75.95 kB / 346.9 MB, free: 6.637 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4346/0.8471, allocations: 57.99 MB / 404.8 MB, free: 67.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.8471, allocations: 0.6562 kB / 404.8 MB, free: 67.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.104e-05/0.8472, allocations: 24.75 kB / 404.9 MB, free: 67.7 MB / 314.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.004113/0.8513, allocations: 1.733 MB / 406.6 MB, free: 65.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.8514, allocations: 12.03 kB / 406.6 MB, free: 65.9 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001989/0.8516, allocations: 102.8 kB / 406.7 MB, free: 65.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000393/0.852, allocations: 229.3 kB / 406.9 MB, free: 65.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003005/0.8551, allocations: 1.243 MB / 408.2 MB, free: 64.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.8552, allocations: 45.3 kB / 408.2 MB, free: 64.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.8553, allocations: 59.91 kB / 408.3 MB, free: 64.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.8567, allocations: 0.6289 MB / 408.9 MB, free: 63.51 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.8568, allocations: 3.984 kB / 408.9 MB, free: 63.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.844e-05/0.8569, allocations: 20 kB / 408.9 MB, free: 63.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-05/0.8569, allocations: 24.42 kB / 409 MB, free: 63.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.8581, allocations: 458.5 kB / 409.4 MB, free: 63.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005335/0.8634, allocations: 2.598 MB / 412 MB, free: 60.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.8645, allocations: 0.5124 MB / 412.5 MB, free: 59.76 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008598/0.8654, allocations: 494.9 kB / 413 MB, free: 59.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01316/0.8785, allocations: 8.771 MB / 421.8 MB, free: 49.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006999/0.8793, allocations: 317.2 kB / 422.1 MB, free: 48.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 4.819e-06/0.8793, allocations: 3.984 kB / 422.1 MB, free: 48.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.002114/0.8814, allocations: 0.8836 MB / 423 MB, free: 47.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/0.8815, allocations: 93.45 kB / 423.1 MB, free: 47.81 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.8836, allocations: 1.25 MB / 424.3 MB, free: 46.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.8838, allocations: 37.7 kB / 424.3 MB, free: 46.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006211/0.8844, allocations: 0.7014 MB / 425 MB, free: 45.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.8847, allocations: 220.8 kB / 425.3 MB, free: 45.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/0.8848, allocations: 16 kB / 425.3 MB, free: 45.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.8849, allocations: 338.8 kB / 425.6 MB, free: 45.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005247/0.8854, allocations: 197.8 kB / 425.8 MB, free: 45.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006154/0.886, allocations: 391.9 kB / 426.2 MB, free: 44.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005889/0.8866, allocations: 249.8 kB / 426.4 MB, free: 44.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.8866, allocations: 3.938 kB / 426.4 MB, free: 44.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001916/0.8886, allocations: 0.8476 MB / 427.3 MB, free: 43.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.8886, allocations: 12 kB / 427.3 MB, free: 43.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001482/0.8888, allocations: 71.98 kB / 427.4 MB, free: 43.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/0.8905, allocations: 0.6875 MB / 428 MB, free: 42.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008423/0.8914, allocations: 123.8 kB / 428.2 MB, free: 42.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.8931, allocations: 1.112 MB / 429.3 MB, free: 41.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.8944, allocations: 111.2 kB / 429.4 MB, free: 41.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-05/0.8946, allocations: 36 kB / 429.4 MB, free: 41.27 MB / 314.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.0001975/0.8948, allocations: 143.2 kB / 429.6 MB, free: 41.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.895, allocations: 201.6 kB / 429.8 MB, free: 40.92 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002964/0.898, allocations: 1.041 MB / 430.8 MB, free: 39.87 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.898, allocations: 4 kB / 430.8 MB, free: 39.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8981, allocations: 0 / 430.8 MB, free: 39.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.996e-06/0.8981, allocations: 7.984 kB / 430.8 MB, free: 39.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.8998, allocations: 0.9988 MB / 431.8 MB, free: 38.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001348/0.9, allocations: 67.98 kB / 431.9 MB, free: 38.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006492/0.9006, allocations: 75.94 kB / 432 MB, free: 38.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001623/0.9023, allocations: 0.6663 MB / 432.6 MB, free: 37.99 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.408e-05/0.9024, allocations: 19.98 kB / 432.6 MB, free: 37.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/0.904, allocations: 1.081 MB / 433.7 MB, free: 36.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.904, allocations: 4.125 kB / 433.7 MB, free: 36.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00266/0.9067, allocations: 1.215 MB / 434.9 MB, free: 35.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006124/0.9073, allocations: 298.6 kB / 435.2 MB, free: 35.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002631/0.9076, allocations: 16 kB / 435.2 MB, free: 35.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009024/0.9085, allocations: 47.95 kB / 435.3 MB, free: 35.24 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.9087, allocations: 48.33 kB / 435.3 MB, free: 35.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.098e-05/0.9088, allocations: 27.98 kB / 435.4 MB, free: 35.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001661/0.9105, allocations: 0.9618 MB / 436.3 MB, free: 34.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.9105, allocations: 4 kB / 436.3 MB, free: 34.18 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001551/0.912, allocations: 491.1 kB / 436.8 MB, free: 33.7 MB / 314.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.003972/0.916, allocations: 2.222 MB / 439 MB, free: 31.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00215/0.9182, allocations: 0.7244 MB / 439.8 MB, free: 30.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.9183, allocations: 4 kB / 439.8 MB, free: 30.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.9196, allocations: 473.4 kB / 440.2 MB, free: 30.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.9208, allocations: 175 kB / 440.4 MB, free: 30.04 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00759/0.9284, allocations: 2.723 MB / 443.1 MB, free: 27.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006751/0.9291, allocations: 1.255 MB / 444.4 MB, free: 25.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009673/0.9301, allocations: 0.6243 MB / 445 MB, free: 25.35 MB / 314.7 MB Notification: Performance of SimCode: time 1.513e-06/0.9301, allocations: 0 / 445 MB, free: 25.35 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.453/4.383, allocations: 31.32 MB / 476.3 MB, free: 10 MB / 330.7 MB