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.859/1.859, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.027e-05/3.035e-05, allocations: 11.09 kB / 255.5 MB, free: 3.09 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09905/0.09911, allocations: 44.51 MB / 300 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4955/0.5947, allocations: 87.04 MB / 387 MB, free: 12.26 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.595, allocations: 80.55 kB / 387.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1711/0.7661, allocations: 57.37 MB / 444.5 MB, free: 7.348 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.7662, allocations: 0 / 444.5 MB, free: 7.348 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.672e-05/0.7663, allocations: 28 kB / 444.5 MB, free: 7.32 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.004857/0.7712, allocations: 1.735 MB / 446.2 MB, free: 5.633 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.7712, allocations: 8.031 kB / 446.2 MB, free: 5.625 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002/0.7714, allocations: 103.9 kB / 446.3 MB, free: 5.551 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004693/0.7719, allocations: 221.4 kB / 446.5 MB, free: 5.332 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/0.7752, allocations: 1.245 MB / 447.8 MB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.447e-05/0.7753, allocations: 46.31 kB / 447.8 MB, free: 4.207 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.7755, allocations: 65.77 kB / 447.9 MB, free: 4.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.7772, allocations: 0.6181 MB / 448.5 MB, free: 3.734 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.7772, allocations: 0 / 448.5 MB, free: 3.734 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.323e-05/0.7773, allocations: 24.73 kB / 448.5 MB, free: 3.727 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.892e-05/0.7774, allocations: 18.56 kB / 448.6 MB, free: 3.711 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.7786, allocations: 466.3 kB / 449 MB, free: 3.414 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006041/0.7847, allocations: 2.591 MB / 451.6 MB, free: 1.098 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.7859, allocations: 0.5159 MB / 452.1 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.7869, allocations: 495 kB / 452.6 MB, free: 92 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02051/0.8074, allocations: 8.771 MB / 461.4 MB, free: 5.961 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/0.8087, allocations: 325.2 kB / 461.7 MB, free: 5.629 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 4.238e-06/0.8087, allocations: 0 / 461.7 MB, free: 5.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.002556/0.8113, allocations: 0.8759 MB / 462.6 MB, free: 4.746 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.306e-05/0.8114, allocations: 85.55 kB / 462.6 MB, free: 4.645 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/0.8142, allocations: 1.254 MB / 463.9 MB, free: 3.352 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001642/0.8144, allocations: 37.7 kB / 463.9 MB, free: 3.309 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008221/0.8152, allocations: 0.6976 MB / 464.6 MB, free: 2.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003027/0.8155, allocations: 224.8 kB / 464.9 MB, free: 2.387 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.8156, allocations: 20 kB / 464.9 MB, free: 2.367 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.8158, allocations: 338.8 kB / 465.2 MB, free: 2.027 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005702/0.8163, allocations: 197.8 kB / 465.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007573/0.8171, allocations: 388.1 kB / 465.8 MB, free: 1.371 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006965/0.8178, allocations: 265.7 kB / 466 MB, free: 1.113 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/0.8178, allocations: 0 / 466 MB, free: 1.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002206/0.8201, allocations: 0.8355 MB / 466.9 MB, free: 276 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.8201, allocations: 9.25 kB / 466.9 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001717/0.8203, allocations: 75.97 kB / 467 MB, free: 192 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/0.8223, allocations: 0.6995 MB / 467.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009172/0.8233, allocations: 127.8 kB / 467.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.8254, allocations: 1.104 MB / 468.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.8268, allocations: 103.3 kB / 469 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.8269, allocations: 40.12 kB / 469 MB, free: 14.09 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.0002438/0.8272, allocations: 144.8 kB / 469.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003431/0.8275, allocations: 209.6 kB / 469.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/0.8309, allocations: 1.025 MB / 470.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/0.831, allocations: 7.953 kB / 470.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.831, allocations: 0 / 470.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.831, allocations: 0 / 470.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.8331, allocations: 1.003 MB / 471.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001636/0.8333, allocations: 67.98 kB / 471.5 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000704/0.8341, allocations: 75.88 kB / 471.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001921/0.836, allocations: 0.6818 MB / 472.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.893e-05/0.8361, allocations: 12 kB / 472.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.8381, allocations: 1.077 MB / 473.3 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.8382, allocations: 0 / 473.3 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003175/0.8414, allocations: 1.215 MB / 474.5 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008067/0.8422, allocations: 298.5 kB / 474.8 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002586/0.8425, allocations: 12 kB / 474.8 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009465/0.8434, allocations: 47.95 kB / 474.9 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/0.8436, allocations: 56.3 kB / 474.9 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.187e-05/0.8437, allocations: 23.98 kB / 475 MB, free: 7.992 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002169/0.8459, allocations: 0.9654 MB / 475.9 MB, free: 7 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.8459, allocations: 0 / 475.9 MB, free: 7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001844/0.8478, allocations: 487.1 kB / 476.4 MB, free: 6.523 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.004863/0.8527, allocations: 2.217 MB / 478.6 MB, free: 4.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002458/0.8552, allocations: 0.7361 MB / 479.4 MB, free: 3.523 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.8552, allocations: 0 / 479.4 MB, free: 3.523 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.8568, allocations: 473.3 kB / 479.8 MB, free: 3.051 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.858, allocations: 176.8 kB / 480 MB, free: 2.875 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008863/0.8669, allocations: 2.727 MB / 482.7 MB, free: 92 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.868, allocations: 1.252 MB / 484 MB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/0.8692, allocations: 0.6243 MB / 484.6 MB, free: 14.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.392e-06/0.8692, allocations: 0 / 484.6 MB, free: 14.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.998/3.867, allocations: 31.31 MB / 0.5038 GB, free: 14.84 MB / 410.7 MB