Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.152/2.152, allocations: 194.9 MB / 208 MB, free: 3.27 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.754e-05/3.779e-05, allocations: 0 / 255.4 MB, free: 2.656 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09585/0.09593, allocations: 44.51 MB / 300 MB, free: 6.09 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.447/0.543, allocations: 87.04 MB / 387 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.5433, allocations: 73.66 kB / 387.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1911/0.7345, allocations: 57.36 MB / 444.4 MB, free: 7.297 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.7345, allocations: 0 / 444.4 MB, free: 7.297 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001651/0.7347, allocations: 28 kB / 444.5 MB, free: 7.27 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.005511/0.7402, allocations: 1.74 MB / 446.2 MB, free: 5.578 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.7403, allocations: 11.97 kB / 446.2 MB, free: 5.566 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000346/0.7407, allocations: 107.1 kB / 446.3 MB, free: 5.488 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005472/0.7412, allocations: 222.2 kB / 446.5 MB, free: 5.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004038/0.7453, allocations: 1.244 MB / 447.8 MB, free: 4.172 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-05/0.7454, allocations: 48.75 kB / 447.8 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002912/0.7457, allocations: 56.03 kB / 447.9 MB, free: 4.105 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.7476, allocations: 0.6317 MB / 448.5 MB, free: 3.668 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.7477, allocations: 4 kB / 448.5 MB, free: 3.664 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.7478, allocations: 26.06 kB / 448.5 MB, free: 3.656 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-05/0.7479, allocations: 19.23 kB / 448.6 MB, free: 3.641 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/0.7495, allocations: 467.7 kB / 449 MB, free: 3.344 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007985/0.7576, allocations: 2.593 MB / 451.6 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.7591, allocations: 0.5211 MB / 452.1 MB, free: 288 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.7604, allocations: 495 kB / 452.6 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01791/0.7783, allocations: 8.767 MB / 461.4 MB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009377/0.7793, allocations: 326 kB / 461.7 MB, free: 5.336 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 4.048e-06/0.7794, allocations: 0 / 461.7 MB, free: 5.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.002917/0.7823, allocations: 0.8798 MB / 462.6 MB, free: 4.453 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.7824, allocations: 89.55 kB / 462.7 MB, free: 4.348 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003333/0.7858, allocations: 1.25 MB / 463.9 MB, free: 3.059 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.786, allocations: 37.7 kB / 464 MB, free: 3.016 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.7873, allocations: 0.8016 MB / 464.8 MB, free: 2.207 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000426/0.7877, allocations: 224.8 kB / 465 MB, free: 1.984 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.7878, allocations: 12 kB / 465 MB, free: 1.973 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.788, allocations: 337.9 kB / 465.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006441/0.7887, allocations: 201.8 kB / 465.5 MB, free: 1.441 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008212/0.7895, allocations: 393.7 kB / 465.9 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000808/0.7904, allocations: 265.1 kB / 466.2 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.7904, allocations: 4 kB / 466.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002972/0.7934, allocations: 1.013 MB / 467.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.7935, allocations: 12.7 kB / 467.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002102/0.7937, allocations: 75.98 kB / 467.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002133/0.7958, allocations: 0.6991 MB / 468 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009544/0.7968, allocations: 123.7 kB / 468.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/0.7992, allocations: 1.104 MB / 469.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.8007, allocations: 103.3 kB / 469.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/0.8009, allocations: 36 kB / 469.3 MB, free: 13.51 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.000276/0.8012, allocations: 145.4 kB / 469.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004643/0.8017, allocations: 201.6 kB / 469.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003654/0.8054, allocations: 1.025 MB / 470.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.8054, allocations: 11.95 kB / 470.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.8054, allocations: 0 / 470.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.8055, allocations: 0 / 470.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.8078, allocations: 1.003 MB / 471.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001961/0.808, allocations: 67.98 kB / 471.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007265/0.8088, allocations: 71.88 kB / 471.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002093/0.8109, allocations: 0.6818 MB / 472.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.8111, allocations: 20.12 kB / 472.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.8132, allocations: 1.073 MB / 473.6 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8133, allocations: 0 / 473.6 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003642/0.8169, allocations: 1.219 MB / 474.8 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009025/0.8179, allocations: 298.5 kB / 475.1 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003202/0.8182, allocations: 12 kB / 475.1 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.8193, allocations: 47.95 kB / 475.2 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/0.8195, allocations: 52.36 kB / 475.2 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-05/0.8196, allocations: 23.98 kB / 475.3 MB, free: 7.422 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002763/0.8224, allocations: 0.9577 MB / 476.2 MB, free: 6.438 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.633e-06/0.8225, allocations: 0 / 476.2 MB, free: 6.438 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003292/0.8258, allocations: 495.1 kB / 476.7 MB, free: 5.953 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.005767/0.8316, allocations: 2.217 MB / 478.9 MB, free: 3.703 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002755/0.8344, allocations: 0.7418 MB / 479.7 MB, free: 2.949 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.8345, allocations: 0 / 479.7 MB, free: 2.949 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001799/0.8363, allocations: 482.3 kB / 480.1 MB, free: 2.461 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.8377, allocations: 182.9 kB / 480.3 MB, free: 2.277 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00975/0.8475, allocations: 2.676 MB / 483 MB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/0.8488, allocations: 1.252 MB / 484.2 MB, free: 14.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001169/0.85, allocations: 179.2 kB / 484.4 MB, free: 14.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001368/0.8514, allocations: 0.6203 MB / 485 MB, free: 13.46 MB / 378.7 MB Notification: Performance of SimCode: time 1.363e-06/0.8515, allocations: 0 / 485 MB, free: 13.46 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1316/0.9831, allocations: 32.27 MB / 0.5052 GB, free: 13.22 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002898/0.9834, allocations: 209.8 kB / 0.5054 GB, free: 12.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.223/5.207, allocations: 4 kB / 0.5054 GB, free: 12.98 MB / 410.7 MB