Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.945/1.945, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.258e-05, allocations: 4 kB / 292.2 MB, free: 8.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 50.41 MB / 342.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4291/0.5343, allocations: 80.99 MB / 423.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.5346, allocations: 86.33 kB / 423.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02664/0.5612, allocations: 5.775 MB / 429.5 MB, free: 7.777 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5613, allocations: 0 / 429.5 MB, free: 7.777 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.555e-05/0.5613, allocations: 8 kB / 429.5 MB, free: 7.77 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00139/0.5627, allocations: 0.5583 MB / 430.1 MB, free: 7.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.5628, allocations: 12.03 kB / 430.1 MB, free: 7.168 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.786e-05/0.5629, allocations: 51.55 kB / 430.1 MB, free: 7.121 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.263e-05/0.563, allocations: 31.7 kB / 430.2 MB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.5634, allocations: 266.6 kB / 430.4 MB, free: 6.812 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.5635, allocations: 23.17 kB / 430.4 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.286e-05/0.5636, allocations: 22.44 kB / 430.5 MB, free: 6.781 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005637/0.5641, allocations: 224.2 kB / 430.7 MB, free: 6.617 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.5642, allocations: 3.953 kB / 430.7 MB, free: 6.613 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.5642, allocations: 5.625 kB / 430.7 MB, free: 6.613 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.5642, allocations: 8 kB / 430.7 MB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004445/0.5647, allocations: 150.9 kB / 430.8 MB, free: 6.516 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002636/0.5673, allocations: 1.019 MB / 431.9 MB, free: 5.574 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/0.5678, allocations: 144.2 kB / 432 MB, free: 5.469 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.568, allocations: 58.14 kB / 432.1 MB, free: 5.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.568, allocations: 0 / 432.1 MB, free: 5.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000319/0.5684, allocations: 129.3 kB / 432.2 MB, free: 5.305 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/0.5684, allocations: 7.938 kB / 432.2 MB, free: 5.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009749/0.5694, allocations: 223.5 kB / 432.4 MB, free: 5.105 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.5695, allocations: 110.8 kB / 432.5 MB, free: 4.973 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.5698, allocations: 236 kB / 432.7 MB, free: 4.781 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.5699, allocations: 33.14 kB / 432.8 MB, free: 4.746 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.57, allocations: 230.7 kB / 433 MB, free: 4.543 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.39e-05/0.5701, allocations: 42.25 kB / 433 MB, free: 4.508 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/0.5701, allocations: 7.562 kB / 433.1 MB, free: 4.504 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5703, allocations: 318.4 kB / 433.4 MB, free: 4.188 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.5704, allocations: 53.19 kB / 433.4 MB, free: 4.156 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.5707, allocations: 125.9 kB / 433.5 MB, free: 4.027 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.5709, allocations: 96.94 kB / 433.6 MB, free: 3.945 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.5709, allocations: 0 / 433.6 MB, free: 3.945 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001065/0.572, allocations: 315.7 kB / 433.9 MB, free: 3.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/0.5721, allocations: 33.7 kB / 434 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.5721, allocations: 0 / 434 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003062/0.5724, allocations: 47 kB / 434 MB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.5728, allocations: 51.89 kB / 434.1 MB, free: 3.551 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/0.5753, allocations: 1.619 MB / 435.7 MB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006153/0.5759, allocations: 63.05 kB / 435.8 MB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.576, allocations: 6.312 kB / 435.8 MB, free: 1.852 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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.0001408/0.5761, allocations: 123.6 kB / 435.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.607e-05/0.5762, allocations: 23.72 kB / 435.9 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.412e-05/0.5763, allocations: 27.72 kB / 435.9 MB, free: 1.684 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.5763, allocations: 4 kB / 435.9 MB, free: 1.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.5763, allocations: 0 / 435.9 MB, free: 1.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.5763, allocations: 0 / 435.9 MB, free: 1.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/0.5767, allocations: 297.4 kB / 436.2 MB, free: 1.387 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5767, allocations: 0 / 436.2 MB, free: 1.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.577, allocations: 31.97 kB / 436.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001926/0.5772, allocations: 39.28 kB / 436.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.5772, allocations: 0 / 436.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.5792, allocations: 1.508 MB / 437.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5793, allocations: 0 / 437.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009372/0.5802, allocations: 261.8 kB / 438.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.935e-05/0.5803, allocations: 96.81 kB / 438.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/0.5804, allocations: 3.375 kB / 438.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004778/0.5809, allocations: 47.02 kB / 438.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.581, allocations: 19.16 kB / 438.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.581, allocations: 4 kB / 438.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002702/0.5813, allocations: 189.2 kB / 438.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5813, allocations: 0 / 438.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005232/0.5819, allocations: 71.81 kB / 438.5 MB, free: 15.17 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.001283/0.5832, allocations: 0.7945 MB / 439.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000695/0.5839, allocations: 323.9 kB / 439.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5839, allocations: 0 / 439.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003647/0.5843, allocations: 180.6 kB / 439.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.5847, allocations: 46.84 kB / 439.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.5858, allocations: 336.4 kB / 440.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.5862, allocations: 0.756 MB / 440.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.5863, allocations: 74.72 kB / 441 MB, free: 12.75 MB / 362.7 MB Notification: Performance of SimCode: time 2.655e-06/0.5864, allocations: 0 / 441 MB, free: 12.75 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.576/3.162, allocations: 5.055 MB / 446 MB, free: 7.734 MB / 362.7 MB