Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.032/2.032, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.465e-05/2.457e-05, allocations: 8 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2935, allocations: 44.5 MB / 294.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1288/0.4224, allocations: 72.34 MB / 366.6 MB, free: 9.555 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/0.4228, allocations: 79.94 kB / 366.6 MB, free: 9.477 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01927/0.4421, allocations: 3.538 MB / 370.2 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4421, allocations: 0 / 370.2 MB, free: 5.926 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.026e-05/0.4422, allocations: 4 kB / 370.2 MB, free: 5.922 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001015/0.4432, allocations: 478.6 kB / 370.6 MB, free: 5.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.4433, allocations: 12.03 kB / 370.7 MB, free: 5.398 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.4434, allocations: 27.7 kB / 370.7 MB, free: 5.371 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005048/0.4439, allocations: 251.2 kB / 370.9 MB, free: 5.082 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.4439, allocations: 8 kB / 370.9 MB, free: 5.074 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.049e-05/0.444, allocations: 12 kB / 370.9 MB, free: 5.062 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005528/0.4446, allocations: 140.8 kB / 371.1 MB, free: 4.926 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005883/0.4452, allocations: 158.5 kB / 371.2 MB, free: 4.762 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.4452, allocations: 0 / 371.2 MB, free: 4.762 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/0.4453, allocations: 0 / 371.2 MB, free: 4.762 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.4453, allocations: 4 kB / 371.2 MB, free: 4.758 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/0.4561, allocations: 0.8691 MB / 372.1 MB, free: 3.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007337/0.4569, allocations: 150.8 kB / 372.3 MB, free: 3.664 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004567/0.4574, allocations: 104.8 kB / 372.4 MB, free: 3.559 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.4574, allocations: 0 / 372.4 MB, free: 3.559 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.4575, allocations: 38.56 kB / 372.4 MB, free: 3.512 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.375e-06/0.4575, allocations: 0 / 372.4 MB, free: 3.512 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.001271/0.4588, allocations: 200.5 kB / 372.6 MB, free: 3.309 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.4588, allocations: 55.34 kB / 372.6 MB, free: 3.242 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.4592, allocations: 177.6 kB / 372.8 MB, free: 3.062 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.4592, allocations: 25.7 kB / 372.8 MB, free: 3.031 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.4594, allocations: 234.1 kB / 373.1 MB, free: 2.801 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.244e-05/0.4595, allocations: 55.28 kB / 373.1 MB, free: 2.746 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/0.4596, allocations: 0 / 373.1 MB, free: 2.746 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.4597, allocations: 318.8 kB / 373.4 MB, free: 2.426 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.4599, allocations: 36 kB / 373.5 MB, free: 2.391 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.4602, allocations: 93.94 kB / 373.6 MB, free: 2.277 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.4604, allocations: 51.97 kB / 373.6 MB, free: 2.227 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4604, allocations: 0 / 373.6 MB, free: 2.227 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00132/0.4617, allocations: 250.3 kB / 373.9 MB, free: 1.973 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.4618, allocations: 4 kB / 373.9 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.4618, allocations: 4 kB / 373.9 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008982/0.4708, allocations: 108.8 kB / 374 MB, free: 1.855 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.4712, allocations: 35.92 kB / 374 MB, free: 1.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007571/0.4788, allocations: 1.599 MB / 375.6 MB, free: 108 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/0.4791, allocations: 24.06 kB / 375.6 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.4792, allocations: 8 kB / 375.6 MB, free: 76 kB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real 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.0002389/0.4794, allocations: 112.9 kB / 375.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001183/0.4806, allocations: 214.1 kB / 376 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.424e-05/0.4807, allocations: 15.81 kB / 376 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.767e-05/0.4808, allocations: 17.97 kB / 376 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.4808, allocations: 3.938 kB / 376 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4809, allocations: 3.984 kB / 376 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.4809, allocations: 0 / 376 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.4828, allocations: 0.5191 MB / 376.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4828, allocations: 4 kB / 376.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/0.4831, allocations: 23.98 kB / 376.5 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00097/0.4841, allocations: 100.8 kB / 376.6 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.4841, allocations: 3.953 kB / 376.7 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/0.4958, allocations: 1.607 MB / 378.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4958, allocations: 0 / 378.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.4973, allocations: 357.8 kB / 378.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.4974, allocations: 92.94 kB / 378.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.592e-05/0.4975, allocations: 0 / 378.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000377/0.4979, allocations: 12.06 kB / 378.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.4979, allocations: 19.92 kB / 378.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.498, allocations: 4 kB / 378.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003131/0.5011, allocations: 140.3 kB / 378.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.5011, allocations: 0 / 378.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001181/0.5023, allocations: 67.75 kB / 378.9 MB, free: 12.56 MB / 330.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.002391/0.5048, allocations: 0.8944 MB / 379.8 MB, free: 11.63 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.5058, allocations: 236.3 kB / 380.1 MB, free: 11.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.024e-06/0.5059, allocations: 0 / 380.1 MB, free: 11.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005544/0.5064, allocations: 170 kB / 380.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005348/0.507, allocations: 24.17 kB / 380.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/0.511, allocations: 0.5088 MB / 380.8 MB, free: 10.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/0.5117, allocations: 0.7518 MB / 381.5 MB, free: 9.871 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002668/0.512, allocations: 63.41 kB / 381.6 MB, free: 9.809 MB / 330.7 MB Notification: Performance of SimCode: time 1.552e-06/0.512, allocations: 0 / 381.6 MB, free: 9.809 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.737/3.249, allocations: 3.997 MB / 385.6 MB, free: 5.809 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat does not exist to compare? outputFormat=mat