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.827/1.827, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.697e-05/3.708e-05, allocations: 4 kB / 225.1 MB, free: 2.625 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2776, allocations: 38.77 MB / 263.8 MB, free: 9.746 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1493/0.427, allocations: 82.93 MB / 346.8 MB, free: 6.691 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.4273, allocations: 71.97 kB / 346.8 MB, free: 6.621 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4158/0.8432, allocations: 57.98 MB / 404.8 MB, free: 67.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.085e-06/0.8432, allocations: 0 / 404.8 MB, free: 67.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.335e-05/0.8433, allocations: 28.77 kB / 404.8 MB, free: 67.65 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.004347/0.8477, allocations: 1.737 MB / 406.6 MB, free: 65.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.8478, allocations: 8.031 kB / 406.6 MB, free: 65.85 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002195/0.848, allocations: 106.8 kB / 406.7 MB, free: 65.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000416/0.8484, allocations: 225.3 kB / 406.9 MB, free: 65.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003045/0.8515, allocations: 1.247 MB / 408.2 MB, free: 64.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/0.8516, allocations: 45.3 kB / 408.2 MB, free: 64.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.8517, allocations: 59.84 kB / 408.3 MB, free: 64.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.8532, allocations: 0.6277 MB / 408.9 MB, free: 63.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.8532, allocations: 4 kB / 408.9 MB, free: 63.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.685e-05/0.8533, allocations: 20 kB / 408.9 MB, free: 63.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.8534, allocations: 15.98 kB / 408.9 MB, free: 63.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.8545, allocations: 469.6 kB / 409.4 MB, free: 62.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005428/0.8599, allocations: 2.594 MB / 412 MB, free: 60.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.861, allocations: 0.5181 MB / 412.5 MB, free: 59.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008698/0.8619, allocations: 0.495 MB / 413 MB, free: 59.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0134/0.8753, allocations: 8.763 MB / 421.8 MB, free: 49.08 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007335/0.8761, allocations: 326 kB / 422.1 MB, free: 48.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 4.208e-06/0.8761, allocations: 0 / 422.1 MB, free: 48.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.002223/0.8783, allocations: 0.8757 MB / 422.9 MB, free: 47.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.8784, allocations: 93.53 kB / 423 MB, free: 47.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.8806, allocations: 1.25 MB / 424.3 MB, free: 46.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001305/0.8808, allocations: 37.7 kB / 424.3 MB, free: 46.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006522/0.8815, allocations: 0.7053 MB / 425 MB, free: 45.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/0.8817, allocations: 224.8 kB / 425.2 MB, free: 45.49 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.8818, allocations: 8 kB / 425.3 MB, free: 45.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.8819, allocations: 350.7 kB / 425.6 MB, free: 45.13 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.8824, allocations: 193.8 kB / 425.8 MB, free: 44.94 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/0.883, allocations: 393.5 kB / 426.2 MB, free: 44.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006098/0.8836, allocations: 253.8 kB / 426.4 MB, free: 44.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.8836, allocations: 4 kB / 426.4 MB, free: 44.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001945/0.8856, allocations: 0.8625 MB / 427.3 MB, free: 43.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.8857, allocations: 4 kB / 427.3 MB, free: 43.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001494/0.8858, allocations: 75.98 kB / 427.4 MB, free: 43.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001759/0.8876, allocations: 0.688 MB / 428.1 MB, free: 42.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008666/0.8885, allocations: 127.9 kB / 428.2 MB, free: 42.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.8903, allocations: 1.12 MB / 429.3 MB, free: 41.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.8918, allocations: 99.23 kB / 429.4 MB, free: 41.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.8919, allocations: 40 kB / 429.4 MB, free: 41.17 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.0002184/0.8921, allocations: 147.2 kB / 429.6 MB, free: 41.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003246/0.8925, allocations: 209.6 kB / 429.8 MB, free: 40.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003099/0.8956, allocations: 1.025 MB / 430.8 MB, free: 39.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.8957, allocations: 8 kB / 430.8 MB, free: 39.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.8957, allocations: 0 / 430.8 MB, free: 39.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.8957, allocations: 3.984 kB / 430.8 MB, free: 39.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.8975, allocations: 1.003 MB / 431.8 MB, free: 38.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001458/0.8977, allocations: 67.98 kB / 431.9 MB, free: 38.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006651/0.8983, allocations: 71.94 kB / 432 MB, free: 38.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001714/0.9001, allocations: 0.674 MB / 432.6 MB, free: 37.9 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.9002, allocations: 19.98 kB / 432.7 MB, free: 37.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.9019, allocations: 1.077 MB / 433.7 MB, free: 36.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.9019, allocations: 3.938 kB / 433.7 MB, free: 36.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/0.9048, allocations: 1.215 MB / 434.9 MB, free: 35.53 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008063/0.9056, allocations: 298.6 kB / 435.2 MB, free: 35.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002674/0.9059, allocations: 12 kB / 435.2 MB, free: 35.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009417/0.9069, allocations: 51.95 kB / 435.3 MB, free: 35.15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.9071, allocations: 52.27 kB / 435.4 MB, free: 35.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.648e-05/0.9072, allocations: 23.98 kB / 435.4 MB, free: 35.08 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001784/0.909, allocations: 0.9657 MB / 436.3 MB, free: 34.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.12e-07/0.909, allocations: 0 / 436.3 MB, free: 34.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001699/0.9107, allocations: 487.1 kB / 436.8 MB, free: 33.61 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.004281/0.9151, allocations: 2.229 MB / 439 MB, free: 31.35 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002253/0.9174, allocations: 0.7377 MB / 439.8 MB, free: 30.6 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.9174, allocations: 0 / 439.8 MB, free: 30.6 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001385/0.9188, allocations: 482.6 kB / 440.3 MB, free: 30.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.92, allocations: 180.5 kB / 440.4 MB, free: 29.94 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008162/0.9282, allocations: 2.72 MB / 443.2 MB, free: 27.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006779/0.9289, allocations: 1.255 MB / 444.4 MB, free: 25.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009935/0.93, allocations: 0.6243 MB / 445 MB, free: 25.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.232e-06/0.93, allocations: 4 kB / 445 MB, free: 25.24 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.328/4.258, allocations: 31.4 MB / 476.4 MB, free: 9.82 MB / 330.7 MB