Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.937/1.937, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.557e-05/3.561e-05, allocations: 4 kB / 292.2 MB, free: 8.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.106, allocations: 50.42 MB / 342.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4257/0.5317, allocations: 81.4 MB / 424 MB, free: 12.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.5321, allocations: 82.14 kB / 424.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02887/0.561, allocations: 6.394 MB / 430.5 MB, free: 6.891 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.561, allocations: 0 / 430.5 MB, free: 6.891 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.441e-05/0.561, allocations: 4 kB / 430.5 MB, free: 6.887 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.001501/0.5626, allocations: 0.5937 MB / 431.1 MB, free: 6.262 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.5626, allocations: 8.031 kB / 431.1 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.619e-05/0.5627, allocations: 58.17 kB / 431.2 MB, free: 6.203 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.5628, allocations: 35.62 kB / 431.2 MB, free: 6.168 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005027/0.5634, allocations: 292.4 kB / 431.5 MB, free: 5.879 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.5634, allocations: 18.81 kB / 431.5 MB, free: 5.867 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.621e-05/0.5635, allocations: 25.5 kB / 431.5 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006894/0.5642, allocations: 274.7 kB / 431.8 MB, free: 5.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.5642, allocations: 3.938 kB / 431.8 MB, free: 5.656 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-05/0.5643, allocations: 11.31 kB / 431.8 MB, free: 5.652 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.5643, allocations: 7.938 kB / 431.8 MB, free: 5.645 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005421/0.5648, allocations: 193.1 kB / 432 MB, free: 5.531 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003084/0.5679, allocations: 1.186 MB / 433.2 MB, free: 4.492 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004769/0.5685, allocations: 142.3 kB / 433.3 MB, free: 4.395 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.5687, allocations: 68.84 kB / 433.4 MB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.5687, allocations: 3.938 kB / 433.4 MB, free: 4.344 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003321/0.569, allocations: 133.1 kB / 433.6 MB, free: 4.219 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.404e-06/0.5691, allocations: 4 kB / 433.6 MB, free: 4.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.00104/0.5701, allocations: 240.2 kB / 433.8 MB, free: 4.012 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/0.5702, allocations: 109.9 kB / 433.9 MB, free: 3.883 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.5706, allocations: 251.4 kB / 434.1 MB, free: 3.684 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.5707, allocations: 25.7 kB / 434.2 MB, free: 3.652 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.5709, allocations: 263 kB / 434.4 MB, free: 3.422 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.724e-05/0.5709, allocations: 41.89 kB / 434.5 MB, free: 3.387 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.571, allocations: 3.812 kB / 434.5 MB, free: 3.387 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5711, allocations: 322 kB / 434.8 MB, free: 3.066 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.5713, allocations: 57.53 kB / 434.8 MB, free: 3.031 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.5716, allocations: 157.1 kB / 435 MB, free: 2.867 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.5718, allocations: 95.56 kB / 435.1 MB, free: 2.793 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/0.5719, allocations: 4 kB / 435.1 MB, free: 2.789 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001215/0.5731, allocations: 356 kB / 435.4 MB, free: 2.492 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/0.5731, allocations: 33.7 kB / 435.5 MB, free: 2.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.5732, allocations: 12.05 kB / 435.5 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003089/0.5735, allocations: 50.78 kB / 435.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.5739, allocations: 51.89 kB / 435.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/0.5764, allocations: 1.662 MB / 437.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000662/0.5771, allocations: 59.12 kB / 437.3 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.5772, allocations: 11 kB / 437.3 MB, free: 0.6328 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: 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 (23): * Single equations (assignments): 21 * 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.0001444/0.5773, allocations: 131.6 kB / 437.4 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.5774, allocations: 23.72 kB / 437.5 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.59e-05/0.5775, allocations: 24.92 kB / 437.5 MB, free: 484 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.5775, allocations: 8 kB / 437.5 MB, free: 476 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.5775, allocations: 3.938 kB / 437.5 MB, free: 472 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.5775, allocations: 3.984 kB / 437.5 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.578, allocations: 327.2 kB / 437.8 MB, free: 148 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.578, allocations: 0 / 437.8 MB, free: 148 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.5783, allocations: 27.97 kB / 437.9 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002287/0.5785, allocations: 51.59 kB / 437.9 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.5785, allocations: 0 / 437.9 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.5807, allocations: 1.534 MB / 439.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5807, allocations: 0 / 439.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009638/0.5817, allocations: 277.5 kB / 439.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.5818, allocations: 103.5 kB / 439.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.141e-05/0.5819, allocations: 7.438 kB / 439.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004891/0.5824, allocations: 47.28 kB / 439.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.5825, allocations: 23.34 kB / 439.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.5825, allocations: 0 / 439.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002946/0.5828, allocations: 196.4 kB / 440.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5829, allocations: 0 / 440.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005617/0.5834, allocations: 82.5 kB / 440.2 MB, free: 13.89 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.001321/0.5848, allocations: 0.8103 MB / 441 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007352/0.5855, allocations: 339.1 kB / 441.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5855, allocations: 0 / 441.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003428/0.5859, allocations: 182.9 kB / 441.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.5863, allocations: 48.39 kB / 441.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.5875, allocations: 376.7 kB / 441.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.5879, allocations: 0.7638 MB / 442.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.5881, allocations: 84.09 kB / 442.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.5881, allocations: 0 / 442.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.607/3.195, allocations: 5.876 MB / 448.6 MB, free: 5.602 MB / 362.7 MB