Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.957/1.957, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.51e-05/3.516e-05, allocations: 4 kB / 292.2 MB, free: 8.734 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 50.41 MB / 342.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4236/0.5305, allocations: 81.4 MB / 424 MB, free: 12.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.5308, allocations: 82.27 kB / 424.1 MB, free: 12.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0289/0.5597, allocations: 6.391 MB / 430.5 MB, free: 6.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5598, allocations: 0 / 430.5 MB, free: 6.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.005e-05/0.5598, allocations: 11.98 kB / 430.5 MB, free: 6.898 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001513/0.5613, allocations: 0.5925 MB / 431.1 MB, free: 6.273 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.5614, allocations: 8.031 kB / 431.1 MB, free: 6.266 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.996e-05/0.5615, allocations: 61.34 kB / 431.2 MB, free: 6.211 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.5616, allocations: 40.28 kB / 431.2 MB, free: 6.172 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004952/0.5621, allocations: 288.6 kB / 431.5 MB, free: 5.887 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.5622, allocations: 16 kB / 431.5 MB, free: 5.879 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.825e-05/0.5623, allocations: 24.88 kB / 431.5 MB, free: 5.863 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/0.5629, allocations: 277.7 kB / 431.8 MB, free: 5.668 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.563, allocations: 0 / 431.8 MB, free: 5.668 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.563, allocations: 6.812 kB / 431.8 MB, free: 5.668 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.563, allocations: 15.92 kB / 431.8 MB, free: 5.652 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005329/0.5636, allocations: 194.8 kB / 432 MB, free: 5.539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002954/0.5666, allocations: 1.176 MB / 433.2 MB, free: 4.508 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000473/0.5671, allocations: 151.4 kB / 433.3 MB, free: 4.402 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.5672, allocations: 59.8 kB / 433.4 MB, free: 4.367 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.5673, allocations: 8 kB / 433.4 MB, free: 4.359 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003322/0.5676, allocations: 134.4 kB / 433.5 MB, free: 4.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.254e-06/0.5677, allocations: 0 / 433.5 MB, free: 4.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001072/0.5687, allocations: 246.7 kB / 433.8 MB, free: 4.023 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.5689, allocations: 106.8 kB / 433.9 MB, free: 3.895 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004469/0.5693, allocations: 258.6 kB / 434.1 MB, free: 3.691 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.412e-05/0.5694, allocations: 25.7 kB / 434.2 MB, free: 3.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.5696, allocations: 259 kB / 434.4 MB, free: 3.434 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/0.5696, allocations: 49.94 kB / 434.5 MB, free: 3.391 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.5697, allocations: 2.875 kB / 434.5 MB, free: 3.391 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.5698, allocations: 318.2 kB / 434.8 MB, free: 3.074 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.57, allocations: 66.59 kB / 434.8 MB, free: 3.031 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.5703, allocations: 162.2 kB / 435 MB, free: 2.859 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.5705, allocations: 101 kB / 435.1 MB, free: 2.781 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.5706, allocations: 4 kB / 435.1 MB, free: 2.777 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001256/0.5718, allocations: 363 kB / 435.5 MB, free: 2.477 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.083e-05/0.5719, allocations: 33.83 kB / 435.5 MB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.5719, allocations: 8 kB / 435.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003213/0.5722, allocations: 54.97 kB / 435.6 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.5727, allocations: 55.89 kB / 435.6 MB, free: 2.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003175/0.5759, allocations: 1.734 MB / 437.3 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006846/0.5766, allocations: 63.03 kB / 437.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.5766, allocations: 15.23 kB / 437.4 MB, free: 0.543 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001667/0.5768, allocations: 127.8 kB / 437.5 MB, free: 428 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/0.5769, allocations: 23.72 kB / 437.6 MB, free: 404 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.835e-05/0.577, allocations: 27.95 kB / 437.6 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.577, allocations: 224 / 437.6 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.577, allocations: 0 / 437.6 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.577, allocations: 7.938 kB / 437.6 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/0.5775, allocations: 329.2 kB / 437.9 MB, free: 60 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5775, allocations: 0 / 437.9 MB, free: 60 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.5777, allocations: 27.97 kB / 438 MB, free: 32 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002469/0.578, allocations: 55.09 kB / 438 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.578, allocations: 11.19 kB / 438 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/0.5803, allocations: 1.635 MB / 439.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.5803, allocations: 3.953 kB / 439.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009772/0.5813, allocations: 262.3 kB / 439.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.5814, allocations: 116.4 kB / 440 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.802e-05/0.5815, allocations: 3.562 kB / 440 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004791/0.582, allocations: 43.39 kB / 440.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.873e-05/0.5821, allocations: 19.59 kB / 440.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.5821, allocations: 8 kB / 440.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002837/0.5824, allocations: 196.3 kB / 440.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.5824, allocations: 0 / 440.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005867/0.583, allocations: 78.91 kB / 440.4 MB, free: 13.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001279/0.5843, allocations: 0.8116 MB / 441.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.5857, allocations: 414.9 kB / 441.6 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5857, allocations: 0 / 441.6 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003598/0.5861, allocations: 189.7 kB / 441.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.5865, allocations: 47.31 kB / 441.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005357/0.5919, allocations: 0.8929 MB / 442.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.5923, allocations: 0.7638 MB / 443.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.5925, allocations: 86.28 kB / 443.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.5925, allocations: 0 / 443.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.455/3.048, allocations: 5.773 MB / 449.3 MB, free: 4.93 MB / 362.7 MB