Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.057/2.057, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.791e-05/2.801e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3081, allocations: 44.5 MB / 294.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1664/0.4746, allocations: 75.03 MB / 369.2 MB, free: 6.867 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.4749, allocations: 67.97 kB / 369.3 MB, free: 6.801 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07277/0.5477, allocations: 15.38 MB / 384.7 MB, free: 7.363 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5477, allocations: 0 / 384.7 MB, free: 7.363 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.95e-05/0.5478, allocations: 20 kB / 384.7 MB, free: 7.344 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.005297/0.5531, allocations: 1.232 MB / 385.9 MB, free: 6.066 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.5532, allocations: 8.031 kB / 385.9 MB, free: 6.059 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004382/0.5536, allocations: 106.8 kB / 386 MB, free: 5.953 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.5549, allocations: 0.518 MB / 386.6 MB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/0.5549, allocations: 24 kB / 386.6 MB, free: 5.371 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.5552, allocations: 59.91 kB / 386.6 MB, free: 5.312 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00274/0.5579, allocations: 0.8436 MB / 387.5 MB, free: 4.469 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/0.5604, allocations: 0.8259 MB / 388.3 MB, free: 3.625 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.5604, allocations: 0 / 388.3 MB, free: 3.625 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.5606, allocations: 3.953 kB / 388.3 MB, free: 3.621 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/0.5606, allocations: 20 kB / 388.3 MB, free: 3.602 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009867/0.5705, allocations: 3.35 MB / 391.7 MB, free: 148 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002285/0.5728, allocations: 0.7858 MB / 392.5 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.574, allocations: 442.4 kB / 392.9 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.201e-05/0.5741, allocations: 16.45 kB / 392.9 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.5741, allocations: 43.12 kB / 393 MB, free: 14.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 4.238e-06/0.5742, allocations: 0 / 393 MB, free: 14.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=71): time 0.006757/0.5809, allocations: 1.992 MB / 394.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.581, allocations: 56.19 kB / 395 MB, free: 12.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000747/0.5818, allocations: 410.1 kB / 395.4 MB, free: 12.33 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.5819, allocations: 25.7 kB / 395.4 MB, free: 12.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/0.5823, allocations: 453.6 kB / 395.9 MB, free: 11.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003409/0.5827, allocations: 240.4 kB / 396.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.5828, allocations: 0 / 396.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.583, allocations: 338.8 kB / 396.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.584, allocations: 350.6 kB / 396.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.5852, allocations: 474 kB / 397.2 MB, free: 10.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.5865, allocations: 384.5 kB / 397.6 MB, free: 10.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.5865, allocations: 0 / 397.6 MB, free: 10.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00344/0.59, allocations: 1.043 MB / 398.7 MB, free: 9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.59, allocations: 4 kB / 398.7 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.59, allocations: 12.22 kB / 398.7 MB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008923/0.5909, allocations: 163.6 kB / 398.8 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002709/0.5937, allocations: 299.6 kB / 399.1 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00568/0.5994, allocations: 2.523 MB / 401.6 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.6014, allocations: 119.9 kB / 401.8 MB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.6016, allocations: 28.05 kB / 401.8 MB, free: 5.746 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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: 1 {(5,60.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003302/0.6019, allocations: 120.6 kB / 401.9 MB, free: 5.621 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003113/0.605, allocations: 0.9141 MB / 402.8 MB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/0.6053, allocations: 71.09 kB / 402.9 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000328/0.6056, allocations: 82.31 kB / 403 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.6057, allocations: 8 kB / 403 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.6057, allocations: 4 kB / 403 MB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.6057, allocations: 7.938 kB / 403 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.6076, allocations: 0.8851 MB / 403.9 MB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.6076, allocations: 0 / 403.9 MB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002397/0.61, allocations: 251.7 kB / 404.1 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008814/0.6109, allocations: 177.1 kB / 404.3 MB, free: 3.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.611, allocations: 15.97 kB / 404.3 MB, free: 3.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005497/0.6165, allocations: 2.524 MB / 406.8 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.6166, allocations: 0 / 406.8 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004632/0.6212, allocations: 1.533 MB / 408.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002514/0.6215, allocations: 136.3 kB / 408.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/0.6218, allocations: 0 / 408.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001886/0.6237, allocations: 139.9 kB / 408.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/0.6239, allocations: 60.67 kB / 408.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.624, allocations: 23.97 kB / 408.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005686/0.6246, allocations: 311 kB / 409 MB, free: 14.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6246, allocations: 0 / 409 MB, free: 14.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001345/0.626, allocations: 208 kB / 409.2 MB, free: 14.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.C.v,Transistor2.ct.v,Transistor2.Tr.C.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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: 1 {(5,60.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004996/0.631, allocations: 2.102 MB / 411.3 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00356/0.6346, allocations: 1.065 MB / 412.4 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.6347, allocations: 0 / 412.4 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002405/0.6371, allocations: 0.6461 MB / 413 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009801/0.6381, allocations: 74 kB / 413.1 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005746/0.6439, allocations: 1.818 MB / 414.9 MB, free: 8.285 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007699/0.6447, allocations: 0.9813 MB / 415.9 MB, free: 7.277 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/0.6459, allocations: 303.3 kB / 416.2 MB, free: 6.98 MB / 362.7 MB Notification: Performance of SimCode: time 9.31e-07/0.6459, allocations: 0 / 416.2 MB, free: 6.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.229/3.874, allocations: 17.88 MB / 434.1 MB, free: 103.9 MB / 362.7 MB