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.835/1.835, allocations: 171.3 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.493e-05/2.501e-05, allocations: 4 kB / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2614, allocations: 38.77 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.4221, allocations: 82.26 MB / 340.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.4224, allocations: 71.97 kB / 340.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4391/0.8615, allocations: 55.08 MB / 395.8 MB, free: 77.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.8616, allocations: 0 / 395.8 MB, free: 77.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001102/0.8617, allocations: 28.3 kB / 395.8 MB, free: 77.79 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.004705/0.8665, allocations: 1.738 MB / 397.5 MB, free: 76.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.8665, allocations: 8.031 kB / 397.5 MB, free: 76.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005695/0.8671, allocations: 225.7 kB / 397.7 MB, free: 75.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003188/0.8703, allocations: 1.242 MB / 399 MB, free: 74.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.215e-05/0.8704, allocations: 23.94 kB / 399 MB, free: 74.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.8706, allocations: 43.91 kB / 399.1 MB, free: 74.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001153/0.8717, allocations: 434.6 kB / 399.5 MB, free: 74.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.8731, allocations: 0.5509 MB / 400 MB, free: 73.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.8731, allocations: 0 / 400 MB, free: 73.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.977e-05/0.8732, allocations: 4 kB / 400 MB, free: 73.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.8733, allocations: 19.95 kB / 400.1 MB, free: 73.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005742/0.879, allocations: 2.489 MB / 402.5 MB, free: 70.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009434/0.88, allocations: 0.501 MB / 403 MB, free: 70.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007944/0.8808, allocations: 471 kB / 403.5 MB, free: 69.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01337/0.8942, allocations: 8.766 MB / 412.3 MB, free: 59.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006615/0.8949, allocations: 311.6 kB / 412.6 MB, free: 59.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 4.799e-06/0.895, allocations: 0 / 412.6 MB, free: 59.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.002626/0.8976, allocations: 0.95 MB / 413.5 MB, free: 58.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.8977, allocations: 89.53 kB / 413.6 MB, free: 58.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/0.8997, allocations: 1.155 MB / 414.8 MB, free: 57.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.8999, allocations: 25.7 kB / 414.8 MB, free: 57.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007676/0.9007, allocations: 0.7898 MB / 415.6 MB, free: 56.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/0.901, allocations: 220.8 kB / 415.8 MB, free: 56.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.9011, allocations: 4 kB / 415.8 MB, free: 56.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.744e-05/0.9012, allocations: 338 kB / 416.1 MB, free: 55.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/0.9016, allocations: 178.1 kB / 416.3 MB, free: 55.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/0.9021, allocations: 377.8 kB / 416.7 MB, free: 55.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.9032, allocations: 360 kB / 417 MB, free: 54.92 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.9032, allocations: 0 / 417 MB, free: 54.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002594/0.9058, allocations: 1.06 MB / 418.1 MB, free: 53.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.9059, allocations: 12.12 kB / 418.1 MB, free: 53.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001838/0.9061, allocations: 75.98 kB / 418.2 MB, free: 53.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001677/0.9078, allocations: 0.6679 MB / 418.8 MB, free: 53.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008677/0.9087, allocations: 123.8 kB / 419 MB, free: 52.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/0.9111, allocations: 1.28 MB / 420.2 MB, free: 51.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.9125, allocations: 87.27 kB / 420.3 MB, free: 51.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.9127, allocations: 36 kB / 420.4 MB, free: 51.54 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: RS2.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Q2.vcs:VARIABLE(unit = "V" ) type: Real Q1.B.v:VARIABLE(flow=false unit = "V" ) "Potential at the pin" type: Real Q1.vcs:VARIABLE(unit = "V" ) type: Real Q2.Einternal:VARIABLE(unit = "V" ) type: Real 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.0003015/0.913, allocations: 137.3 kB / 420.5 MB, free: 51.4 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002585/0.9156, allocations: 0.9538 MB / 421.4 MB, free: 50.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003716/0.916, allocations: 201.7 kB / 421.6 MB, free: 50.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00352/0.9196, allocations: 1.096 MB / 422.7 MB, free: 49.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.9196, allocations: 12 kB / 422.8 MB, free: 49.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.9196, allocations: 0 / 422.8 MB, free: 49.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.9197, allocations: 0 / 422.8 MB, free: 49.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/0.9215, allocations: 0.9169 MB / 423.7 MB, free: 48.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001849/0.9217, allocations: 67.98 kB / 423.7 MB, free: 48.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000675/0.9224, allocations: 75.88 kB / 423.8 MB, free: 48.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001671/0.9241, allocations: 0.662 MB / 424.5 MB, free: 47.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.9242, allocations: 11.98 kB / 424.5 MB, free: 47.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/0.9265, allocations: 1.26 MB / 425.7 MB, free: 46.06 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.9265, allocations: 3.938 kB / 425.7 MB, free: 46.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003169/0.9297, allocations: 1.284 MB / 427 MB, free: 44.74 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007636/0.9305, allocations: 298.5 kB / 427.3 MB, free: 44.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003637/0.9309, allocations: 8 kB / 427.3 MB, free: 44.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009483/0.9319, allocations: 35.95 kB / 427.4 MB, free: 44.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00021/0.9321, allocations: 52.38 kB / 427.4 MB, free: 44.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.593e-05/0.9322, allocations: 23.98 kB / 427.4 MB, free: 44.31 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001667/0.9339, allocations: 0.867 MB / 428.3 MB, free: 43.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.9339, allocations: 4 kB / 428.3 MB, free: 43.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001729/0.9356, allocations: 455.2 kB / 428.8 MB, free: 42.98 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.004607/0.9403, allocations: 2.356 MB / 431.1 MB, free: 40.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002332/0.9427, allocations: 0.6937 MB / 431.8 MB, free: 39.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.9427, allocations: 4.188 kB / 431.8 MB, free: 39.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.9442, allocations: 465.9 kB / 432.3 MB, free: 39.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.9455, allocations: 171 kB / 432.4 MB, free: 39.29 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008405/0.9539, allocations: 2.63 MB / 435.1 MB, free: 36.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000718/0.9547, allocations: 1.251 MB / 436.3 MB, free: 35.34 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001084/0.9558, allocations: 183.2 kB / 436.5 MB, free: 35.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/0.9569, allocations: 0.6243 MB / 437.1 MB, free: 34.53 MB / 314.7 MB Notification: Performance of SimCode: time 1.503e-06/0.957, allocations: 0 / 437.1 MB, free: 34.53 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09395/1.051, allocations: 28.36 MB / 465.5 MB, free: 6.156 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/1.051, allocations: 158.2 kB / 465.6 MB, free: 5.965 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.979/5.031, allocations: 0 / 465.6 MB, free: 5.965 MB / 314.7 MB