Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.974/1.974, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.25e-05, allocations: 6.812 kB / 292.2 MB, free: 8.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 50.42 MB / 342.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4298/0.5359, allocations: 80.97 MB / 423.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.5363, allocations: 81.08 kB / 423.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04263/0.5789, allocations: 5.792 MB / 429.5 MB, free: 7.812 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.579, allocations: 0 / 429.5 MB, free: 7.812 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.021e-05/0.5791, allocations: 8 kB / 429.5 MB, free: 7.805 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.002335/0.5814, allocations: 0.565 MB / 430.1 MB, free: 7.207 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.52e-05/0.5815, allocations: 12.03 kB / 430.1 MB, free: 7.195 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001665/0.5817, allocations: 55.8 kB / 430.1 MB, free: 7.145 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.5819, allocations: 23.72 kB / 430.2 MB, free: 7.121 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007829/0.5827, allocations: 271.7 kB / 430.4 MB, free: 6.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.5828, allocations: 15.06 kB / 430.4 MB, free: 6.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.257e-05/0.5829, allocations: 15.44 kB / 430.5 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00093/0.5838, allocations: 229.7 kB / 430.7 MB, free: 6.652 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.5839, allocations: 3.953 kB / 430.7 MB, free: 6.648 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.193e-05/0.584, allocations: 14.81 kB / 430.7 MB, free: 6.641 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.584, allocations: 4 kB / 430.7 MB, free: 6.637 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007373/0.5848, allocations: 145.8 kB / 430.8 MB, free: 6.551 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004529/0.5893, allocations: 1.015 MB / 431.9 MB, free: 5.613 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007529/0.5902, allocations: 143.9 kB / 432 MB, free: 5.508 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.5905, allocations: 58.92 kB / 432.1 MB, free: 5.469 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.5905, allocations: 0 / 432.1 MB, free: 5.469 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004928/0.591, allocations: 134.1 kB / 432.2 MB, free: 5.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 4.148e-06/0.5911, allocations: 0 / 432.2 MB, free: 5.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001598/0.5927, allocations: 238.3 kB / 432.4 MB, free: 5.137 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.5929, allocations: 106.8 kB / 432.5 MB, free: 5.008 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00065/0.5935, allocations: 245.4 kB / 432.8 MB, free: 4.809 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.786e-05/0.5936, allocations: 29.7 kB / 432.8 MB, free: 4.773 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.5939, allocations: 225.8 kB / 433 MB, free: 4.578 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.94e-05/0.594, allocations: 45.89 kB / 433.1 MB, free: 4.539 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.5941, allocations: 12.16 kB / 433.1 MB, free: 4.531 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.5943, allocations: 322.8 kB / 433.4 MB, free: 4.211 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002932/0.5946, allocations: 49.25 kB / 433.4 MB, free: 4.184 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/0.595, allocations: 136.8 kB / 433.6 MB, free: 4.039 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000344/0.5954, allocations: 98.48 kB / 433.7 MB, free: 3.957 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.5954, allocations: 4.031 kB / 433.7 MB, free: 3.953 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001828/0.5972, allocations: 332.3 kB / 434 MB, free: 3.672 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.808e-05/0.5974, allocations: 33.64 kB / 434 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.5974, allocations: 4 kB / 434 MB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004682/0.5979, allocations: 42.72 kB / 434.1 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006712/0.5986, allocations: 59.11 kB / 434.1 MB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004928/0.6036, allocations: 1.689 MB / 435.8 MB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.6047, allocations: 54.84 kB / 435.9 MB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.15e-05/0.6048, allocations: 11.98 kB / 435.9 MB, free: 1.773 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 19 * 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.0002118/0.6051, allocations: 112.7 kB / 436 MB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.6052, allocations: 27.72 kB / 436 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.6054, allocations: 36.22 kB / 436.1 MB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.6054, allocations: 0 / 436.1 MB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.6054, allocations: 0 / 436.1 MB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.6055, allocations: 3.938 kB / 436.1 MB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006386/0.6061, allocations: 298.6 kB / 436.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.6062, allocations: 0 / 436.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004632/0.6066, allocations: 35.09 kB / 436.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003802/0.6071, allocations: 41.89 kB / 436.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.215e-05/0.6071, allocations: 7.609 kB / 436.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0036/0.6107, allocations: 1.586 MB / 438 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.6108, allocations: 0 / 438 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.6124, allocations: 258.9 kB / 438.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.6127, allocations: 107.1 kB / 438.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.6128, allocations: 3.75 kB / 438.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008099/0.6137, allocations: 47.77 kB / 438.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.6139, allocations: 19.22 kB / 438.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/0.614, allocations: 4 kB / 438.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004702/0.6144, allocations: 189.1 kB / 438.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.383e-06/0.6145, allocations: 0 / 438.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00108/0.6156, allocations: 70.67 kB / 438.7 MB, free: 15 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.002217/0.6178, allocations: 0.8054 MB / 439.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002168/0.6201, allocations: 394.2 kB / 439.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.6201, allocations: 4 kB / 439.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006458/0.6208, allocations: 177.8 kB / 440.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007758/0.6216, allocations: 51.22 kB / 440.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008633/0.6303, allocations: 0.8536 MB / 441 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005016/0.6309, allocations: 0.756 MB / 441.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.6312, allocations: 72.36 kB / 441.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of SimCode: time 2.554e-06/0.6312, allocations: 0 / 441.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.666/3.297, allocations: 5.057 MB / 446.9 MB, free: 6.965 MB / 362.7 MB