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 1.889/1.889, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.364e-05/4.391e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1367, allocations: 44.49 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4383/0.5751, allocations: 87.04 MB / 387 MB, free: 12.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.5753, allocations: 73.36 kB / 387.1 MB, free: 12.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2536/0.829, allocations: 57.37 MB / 444.5 MB, free: 7.227 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.829, allocations: 0 / 444.5 MB, free: 7.227 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001664/0.8292, allocations: 27.94 kB / 444.5 MB, free: 7.199 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.0124/0.8416, allocations: 1.732 MB / 446.2 MB, free: 5.512 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.594e-05/0.8417, allocations: 12.03 kB / 446.2 MB, free: 5.5 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005114/0.8422, allocations: 101 kB / 446.3 MB, free: 5.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005543/0.8428, allocations: 221.4 kB / 446.6 MB, free: 5.211 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003658/0.8465, allocations: 1.253 MB / 447.8 MB, free: 4.105 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.553e-05/0.8466, allocations: 43.3 kB / 447.9 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.8468, allocations: 62.53 kB / 447.9 MB, free: 4.039 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.8484, allocations: 0.6285 MB / 448.5 MB, free: 3.602 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.8485, allocations: 0 / 448.5 MB, free: 3.602 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.403e-05/0.8486, allocations: 23.06 kB / 448.6 MB, free: 3.598 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.717e-05/0.8486, allocations: 12 kB / 448.6 MB, free: 3.586 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.8499, allocations: 462.4 kB / 449 MB, free: 3.293 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006617/0.8566, allocations: 2.592 MB / 451.6 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.8579, allocations: 0.52 MB / 452.1 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.859, allocations: 491.1 kB / 452.6 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01702/0.876, allocations: 8.763 MB / 461.4 MB, free: 5.625 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008964/0.877, allocations: 333.1 kB / 461.7 MB, free: 5.281 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 3.777e-06/0.877, allocations: 4 kB / 461.7 MB, free: 5.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.002608/0.8796, allocations: 0.8681 MB / 462.6 MB, free: 4.402 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.273e-05/0.8798, allocations: 93.52 kB / 462.7 MB, free: 4.293 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002833/0.8826, allocations: 1.25 MB / 463.9 MB, free: 3.004 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001688/0.8828, allocations: 41.64 kB / 464 MB, free: 2.957 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.8839, allocations: 0.7938 MB / 464.8 MB, free: 2.156 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003684/0.8843, allocations: 228.8 kB / 465 MB, free: 1.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.715e-05/0.8844, allocations: 8 kB / 465 MB, free: 1.922 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.8845, allocations: 345.9 kB / 465.3 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005975/0.8852, allocations: 193.8 kB / 465.5 MB, free: 1.391 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007555/0.8859, allocations: 388.1 kB / 465.9 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007041/0.8867, allocations: 265.1 kB / 466.2 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.8867, allocations: 0 / 466.2 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002731/0.8894, allocations: 1.002 MB / 467.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.8895, allocations: 8 kB / 467.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001786/0.8897, allocations: 75.92 kB / 467.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00211/0.8918, allocations: 0.707 MB / 467.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009579/0.8928, allocations: 131.7 kB / 468.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.895, allocations: 1.097 MB / 469.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.8965, allocations: 107.2 kB / 469.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.8966, allocations: 35.98 kB / 469.3 MB, free: 13.48 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.0002504/0.8969, allocations: 141.5 kB / 469.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000343/0.8973, allocations: 201.6 kB / 469.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00345/0.9007, allocations: 1.029 MB / 470.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.9008, allocations: 7.953 kB / 470.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.9008, allocations: 0 / 470.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.9008, allocations: 7.984 kB / 470.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.9031, allocations: 0.9987 MB / 471.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002145/0.9034, allocations: 67.98 kB / 471.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008054/0.9042, allocations: 71.94 kB / 471.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002189/0.9065, allocations: 0.674 MB / 472.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001846/0.9067, allocations: 27.92 kB / 472.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/0.9089, allocations: 1.073 MB / 473.6 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.9089, allocations: 0 / 473.6 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003319/0.9123, allocations: 1.211 MB / 474.8 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007794/0.9131, allocations: 302.5 kB / 475.1 MB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/0.9134, allocations: 8 kB / 475.1 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009617/0.9144, allocations: 48.2 kB / 475.2 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/0.9146, allocations: 52.36 kB / 475.2 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.319e-05/0.9147, allocations: 24 kB / 475.2 MB, free: 7.391 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002217/0.9169, allocations: 0.9655 MB / 476.2 MB, free: 6.398 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.9169, allocations: 0 / 476.2 MB, free: 6.398 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00255/0.9195, allocations: 491.1 kB / 476.7 MB, free: 5.918 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.005095/0.9247, allocations: 2.225 MB / 478.9 MB, free: 3.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002403/0.9271, allocations: 0.7243 MB / 479.6 MB, free: 2.926 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.9271, allocations: 128 / 479.6 MB, free: 2.926 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001515/0.9286, allocations: 489.2 kB / 480.1 MB, free: 2.438 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.9299, allocations: 180.6 kB / 480.3 MB, free: 2.258 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00947/0.9394, allocations: 2.663 MB / 482.9 MB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.9405, allocations: 1.259 MB / 484.2 MB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001068/0.9416, allocations: 175.2 kB / 484.4 MB, free: 14.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/0.9428, allocations: 0.6282 MB / 485 MB, free: 13.45 MB / 378.7 MB Notification: Performance of SimCode: time 3.487e-06/0.9428, allocations: 0 / 485 MB, free: 13.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09904/1.042, allocations: 32.24 MB / 0.5051 GB, free: 13.24 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/1.042, allocations: 200.5 kB / 0.5053 GB, free: 13.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.848/4.89, allocations: 0 / 0.5053 GB, free: 13.01 MB / 410.7 MB