Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.795/1.795, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.145e-05/3.16e-05, allocations: 0 / 225.1 MB, free: 2.215 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2673, allocations: 38.77 MB / 263.9 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1681/0.4354, allocations: 82.93 MB / 346.8 MB, free: 6.754 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003428/0.4358, allocations: 67.97 kB / 346.9 MB, free: 6.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4249/0.8607, allocations: 57.99 MB / 404.8 MB, free: 67.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.8608, allocations: 0.6562 kB / 404.8 MB, free: 67.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.269e-05/0.8609, allocations: 24 kB / 404.9 MB, free: 67.82 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.004102/0.865, allocations: 1.741 MB / 406.6 MB, free: 66.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.865, allocations: 8.031 kB / 406.6 MB, free: 66.02 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00023/0.8653, allocations: 98.86 kB / 406.7 MB, free: 65.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004053/0.8657, allocations: 229.3 kB / 406.9 MB, free: 65.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00309/0.8688, allocations: 1.251 MB / 408.2 MB, free: 64.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.851e-05/0.8689, allocations: 41.31 kB / 408.2 MB, free: 64.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.8691, allocations: 55.91 kB / 408.3 MB, free: 64.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.8705, allocations: 0.6315 MB / 408.9 MB, free: 63.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.8706, allocations: 0 / 408.9 MB, free: 63.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.694e-05/0.8707, allocations: 20 kB / 408.9 MB, free: 63.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.8707, allocations: 20.42 kB / 409 MB, free: 63.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.8718, allocations: 469.1 kB / 409.4 MB, free: 63.13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005349/0.8772, allocations: 2.598 MB / 412 MB, free: 60.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.8783, allocations: 0.5181 MB / 412.5 MB, free: 59.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009028/0.8792, allocations: 494.9 kB / 413 MB, free: 59.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0135/0.8928, allocations: 8.771 MB / 421.8 MB, free: 49.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007389/0.8935, allocations: 322.1 kB / 422.1 MB, free: 48.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 5.109e-06/0.8936, allocations: 0 / 422.1 MB, free: 48.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.002309/0.8959, allocations: 0.8835 MB / 423 MB, free: 48.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.896, allocations: 89.53 kB / 423.1 MB, free: 47.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/0.8984, allocations: 1.247 MB / 424.3 MB, free: 46.63 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001388/0.8986, allocations: 41.69 kB / 424.4 MB, free: 46.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007589/0.8994, allocations: 0.8054 MB / 425.2 MB, free: 45.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.8996, allocations: 216.8 kB / 425.4 MB, free: 45.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.8997, allocations: 12 kB / 425.4 MB, free: 45.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.647e-05/0.8998, allocations: 337.9 kB / 425.7 MB, free: 45.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.9003, allocations: 197.8 kB / 425.9 MB, free: 45.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005849/0.9009, allocations: 393.5 kB / 426.3 MB, free: 44.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005927/0.9015, allocations: 253.8 kB / 426.5 MB, free: 44.31 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.9015, allocations: 4 kB / 426.5 MB, free: 44.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002249/0.9038, allocations: 1.024 MB / 427.6 MB, free: 43.26 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.9038, allocations: 8 kB / 427.6 MB, free: 43.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001463/0.904, allocations: 75.98 kB / 427.6 MB, free: 43.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001742/0.9058, allocations: 0.6921 MB / 428.3 MB, free: 42.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009054/0.9067, allocations: 127.8 kB / 428.5 MB, free: 42.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.9085, allocations: 1.104 MB / 429.6 MB, free: 41.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.9098, allocations: 103.2 kB / 429.7 MB, free: 41.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.91, allocations: 36 kB / 429.7 MB, free: 41.09 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.0002088/0.9102, allocations: 148.8 kB / 429.9 MB, free: 40.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002578/0.9105, allocations: 197.7 kB / 430 MB, free: 40.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003005/0.9135, allocations: 1.033 MB / 431.1 MB, free: 39.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.9135, allocations: 4 kB / 431.1 MB, free: 39.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.9135, allocations: 0 / 431.1 MB, free: 39.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.9136, allocations: 3.984 kB / 431.1 MB, free: 39.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.9153, allocations: 1.007 MB / 432.1 MB, free: 38.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001406/0.9155, allocations: 75.97 kB / 432.2 MB, free: 38.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006594/0.9162, allocations: 67.89 kB / 432.2 MB, free: 38.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.9178, allocations: 0.6741 MB / 432.9 MB, free: 37.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.918, allocations: 19.98 kB / 432.9 MB, free: 37.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002494/0.9205, allocations: 1.085 MB / 434 MB, free: 36.69 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.9205, allocations: 0 / 434 MB, free: 36.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/0.9233, allocations: 1.219 MB / 435.2 MB, free: 35.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006133/0.9239, allocations: 294.6 kB / 435.5 MB, free: 35.13 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000257/0.9242, allocations: 12 kB / 435.5 MB, free: 35.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009077/0.9251, allocations: 47.95 kB / 435.6 MB, free: 35.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.9253, allocations: 52.33 kB / 435.6 MB, free: 35.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-05/0.9254, allocations: 28.23 kB / 435.7 MB, free: 34.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00169/0.9271, allocations: 0.9618 MB / 436.6 MB, free: 34 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.9271, allocations: 3.938 kB / 436.6 MB, free: 34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001474/0.9286, allocations: 487.1 kB / 437.1 MB, free: 33.52 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.004169/0.9328, allocations: 2.228 MB / 439.3 MB, free: 31.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002181/0.935, allocations: 0.7375 MB / 440.1 MB, free: 30.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.935, allocations: 0 / 440.1 MB, free: 30.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001351/0.9364, allocations: 474.9 kB / 440.5 MB, free: 30.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.9375, allocations: 188.5 kB / 440.7 MB, free: 29.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00781/0.9453, allocations: 2.668 MB / 443.4 MB, free: 27.13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007285/0.9461, allocations: 1.255 MB / 444.6 MB, free: 25.85 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009209/0.947, allocations: 175.2 kB / 444.8 MB, free: 25.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000928/0.948, allocations: 0.6282 MB / 445.4 MB, free: 25.04 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.948, allocations: 0 / 445.4 MB, free: 25.04 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1008/1.049, allocations: 32.28 MB / 477.7 MB, free: 8.797 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003296/1.049, allocations: 205.5 kB / 477.9 MB, free: 8.566 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.113/5.162, allocations: 8 kB / 477.9 MB, free: 8.559 MB / 330.7 MB