Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.933/1.933, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.343e-05/4.36e-05, allocations: 4 kB / 292.2 MB, free: 8.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1331, allocations: 50.41 MB / 342.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4201/0.5532, allocations: 79.14 MB / 421.8 MB, free: 15.06 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.5535, allocations: 75.83 kB / 421.9 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01752/0.5711, allocations: 4.216 MB / 426.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5711, allocations: 0 / 426.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.078e-05/0.5712, allocations: 4 kB / 426.1 MB, free: 11.38 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009089/0.5721, allocations: 0.4899 MB / 426.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.5721, allocations: 12.03 kB / 426.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.5722, allocations: 61.23 kB / 426.6 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.964e-05/0.5724, allocations: 31.62 kB / 426.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.5728, allocations: 246.4 kB / 426.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.5728, allocations: 15.88 kB / 426.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/0.5729, allocations: 27.69 kB / 426.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.5734, allocations: 199.8 kB / 427.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.5734, allocations: 352 / 427.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.5735, allocations: 11.83 kB / 427.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.5735, allocations: 4 kB / 427.2 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004172/0.5739, allocations: 158.2 kB / 427.3 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.5763, allocations: 0.9665 MB / 428.3 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005702/0.5769, allocations: 172.5 kB / 428.4 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003506/0.5772, allocations: 107.7 kB / 428.6 MB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.5773, allocations: 0 / 428.6 MB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.5773, allocations: 34.56 kB / 428.6 MB, free: 9.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 4.579e-06/0.5773, allocations: 4 kB / 428.6 MB, free: 9.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009291/0.5783, allocations: 232.8 kB / 428.8 MB, free: 8.883 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.5783, allocations: 55.41 kB / 428.9 MB, free: 8.816 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.5786, allocations: 200.6 kB / 429.1 MB, free: 8.645 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.5786, allocations: 29.58 kB / 429.1 MB, free: 8.613 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.5788, allocations: 233.5 kB / 429.3 MB, free: 8.402 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.894e-05/0.5789, allocations: 50.95 kB / 429.4 MB, free: 8.359 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/0.5789, allocations: 4 kB / 429.4 MB, free: 8.355 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.579, allocations: 318.6 kB / 429.7 MB, free: 8.039 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.5792, allocations: 46.75 kB / 429.7 MB, free: 8.012 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.5793, allocations: 96.91 kB / 429.8 MB, free: 7.918 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.5795, allocations: 65.72 kB / 429.9 MB, free: 7.871 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5795, allocations: 0 / 429.9 MB, free: 7.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009845/0.5805, allocations: 271.7 kB / 430.2 MB, free: 7.645 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002602/0.5808, allocations: 0.623 MB / 430.8 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.5808, allocations: 0 / 430.8 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002919/0.5811, allocations: 51.28 kB / 430.8 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.5814, allocations: 39.97 kB / 430.9 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.5826, allocations: 0.6567 MB / 431.5 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.5829, allocations: 35.56 kB / 431.6 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.5829, allocations: 11.31 kB / 431.6 MB, free: 6.215 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.5829, allocations: 4 kB / 431.6 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000417/0.5834, allocations: 158.9 kB / 431.7 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-06/0.5834, allocations: 0 / 431.7 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.355e-05/0.5835, allocations: 24.22 kB / 431.8 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.5838, allocations: 51.73 kB / 431.8 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.585, allocations: 1.304 MB / 433.1 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.5852, allocations: 19.56 kB / 433.1 MB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.5852, allocations: 8.062 kB / 433.1 MB, free: 4.613 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.5853, allocations: 119.2 kB / 433.3 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.5854, allocations: 15.81 kB / 433.3 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.26e-05/0.5855, allocations: 32.53 kB / 433.3 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.5855, allocations: 3.984 kB / 433.3 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.5855, allocations: 0 / 433.3 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5855, allocations: 0 / 433.3 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.5869, allocations: 0.595 MB / 433.9 MB, free: 3.883 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.587, allocations: 4 kB / 433.9 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.5872, allocations: 23.92 kB / 433.9 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000219/0.5874, allocations: 53.92 kB / 434 MB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.5874, allocations: 0 / 434 MB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003156/0.5906, allocations: 1.758 MB / 435.7 MB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.5906, allocations: 0 / 435.7 MB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.5917, allocations: 395.2 kB / 436.1 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.972e-05/0.5918, allocations: 100.7 kB / 436.2 MB, free: 1.613 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.5918, allocations: 4 kB / 436.2 MB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.5922, allocations: 23.06 kB / 436.3 MB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.5922, allocations: 15.48 kB / 436.3 MB, free: 1.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.5923, allocations: 8.062 kB / 436.3 MB, free: 1.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002106/0.5925, allocations: 161 kB / 436.4 MB, free: 1.438 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.445e-06/0.5925, allocations: 0 / 436.4 MB, free: 1.438 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007078/0.5932, allocations: 118 kB / 436.5 MB, free: 1.332 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001385/0.5946, allocations: 0.9244 MB / 437.5 MB, free: 452 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001385/0.596, allocations: 399.7 kB / 437.9 MB, free: 100 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.596, allocations: 0 / 437.9 MB, free: 100 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009284/0.597, allocations: 255.4 kB / 438.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.5974, allocations: 40.91 kB / 438.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/0.6013, allocations: 0.7564 MB / 438.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.6016, allocations: 0.76 MB / 439.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.6018, allocations: 63.3 kB / 439.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6018, allocations: 0 / 439.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.703/3.304, allocations: 4.284 MB / 444 MB, free: 10.01 MB / 362.7 MB