Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.778/1.778, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.153e-05/4.162e-05, allocations: 4 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09315/0.09322, allocations: 44.51 MB / 300 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.435/0.5283, allocations: 73 MB / 373 MB, free: 12.87 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.5286, allocations: 76.48 kB / 373 MB, free: 12.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01437/0.543, allocations: 3.583 MB / 376.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5431, allocations: 4 kB / 376.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.137e-05/0.5431, allocations: 5.125 kB / 376.6 MB, free: 12.29 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.0007151/0.5438, allocations: 474.9 kB / 377.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.5439, allocations: 10.19 kB / 377.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.993e-05/0.544, allocations: 67.09 kB / 377.2 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.48e-05/0.5441, allocations: 25.62 kB / 377.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.5444, allocations: 245.9 kB / 377.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.5444, allocations: 16.06 kB / 377.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.237e-05/0.5445, allocations: 19.81 kB / 377.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/0.545, allocations: 187.9 kB / 377.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.545, allocations: 1.312 kB / 377.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.5451, allocations: 9.906 kB / 377.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.5451, allocations: 5.969 kB / 377.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003979/0.5455, allocations: 146.1 kB / 377.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.5475, allocations: 0.917 MB / 378.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005813/0.5481, allocations: 160.7 kB / 378.9 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.5484, allocations: 113.9 kB / 379 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.5485, allocations: 2.438 kB / 379 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.5485, allocations: 36.95 kB / 379 MB, free: 10.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.154e-06/0.5485, allocations: 0 / 379 MB, free: 10.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009542/0.5495, allocations: 217.8 kB / 379.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.5495, allocations: 56.5 kB / 379.3 MB, free: 10.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.5498, allocations: 193.2 kB / 379.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.5498, allocations: 30.33 kB / 379.5 MB, free: 10.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.517e-05/0.5499, allocations: 165.5 kB / 379.7 MB, free: 10.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.55, allocations: 46.91 kB / 379.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.298e-05/0.55, allocations: 4.812 kB / 379.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.854e-05/0.5501, allocations: 328 kB / 380.1 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.5502, allocations: 40.03 kB / 380.1 MB, free: 10.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.5504, allocations: 107.3 kB / 380.2 MB, free: 10.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.5506, allocations: 55.77 kB / 380.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.832e-06/0.5507, allocations: 5.031 kB / 380.3 MB, free: 10.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001207/0.5519, allocations: 286.7 kB / 380.5 MB, free: 10.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.5519, allocations: 7.312 kB / 380.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5519, allocations: 1.344 kB / 380.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000794/0.5527, allocations: 104.6 kB / 380.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.553, allocations: 38.33 kB / 380.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/0.5556, allocations: 1.664 MB / 382.4 MB, free: 8.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/0.5561, allocations: 25.72 kB / 382.4 MB, free: 8.734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.5562, allocations: 9.375 kB / 382.4 MB, free: 8.734 MB / 314.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.0001558/0.5563, allocations: 116.2 kB / 382.5 MB, free: 8.621 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.5565, allocations: 17.97 kB / 382.5 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.5566, allocations: 24.38 kB / 382.5 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.5566, allocations: 4.906 kB / 382.6 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5566, allocations: 0.9688 kB / 382.6 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.5567, allocations: 5.547 kB / 382.6 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/0.5589, allocations: 0.5719 MB / 383.1 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.5589, allocations: 192 / 383.1 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/0.5592, allocations: 31.67 kB / 383.2 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009649/0.5602, allocations: 102.2 kB / 383.3 MB, free: 8.254 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.5602, allocations: 3.812 kB / 383.3 MB, free: 8.254 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00367/0.5639, allocations: 1.662 MB / 384.9 MB, free: 6.891 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.564, allocations: 1.281 kB / 384.9 MB, free: 6.891 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.5656, allocations: 371.9 kB / 385.3 MB, free: 6.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.5658, allocations: 93.14 kB / 385.4 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.617e-05/0.5659, allocations: 8 kB / 385.4 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004637/0.5664, allocations: 13.38 kB / 385.4 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.613e-05/0.5665, allocations: 14.08 kB / 385.4 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.5666, allocations: 7.781 kB / 385.4 MB, free: 6.617 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003723/0.567, allocations: 158.1 kB / 385.6 MB, free: 6.539 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.567, allocations: 0 / 385.6 MB, free: 6.539 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001456/0.5685, allocations: 74.19 kB / 385.7 MB, free: 6.527 MB / 314.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.002267/0.5708, allocations: 0.9165 MB / 386.6 MB, free: 21.83 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008478/0.5716, allocations: 249.4 kB / 386.8 MB, free: 21.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.5717, allocations: 0 / 386.8 MB, free: 21.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005001/0.5722, allocations: 179.5 kB / 387 MB, free: 21.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005934/0.5728, allocations: 36.36 kB / 387 MB, free: 21.58 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.5756, allocations: 0.4946 MB / 387.5 MB, free: 21.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.576, allocations: 0.7482 MB / 388.3 MB, free: 20.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.5762, allocations: 23.77 kB / 388.3 MB, free: 20.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.5763, allocations: 63.56 kB / 388.4 MB, free: 20.64 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5763, allocations: 0 / 388.4 MB, free: 20.64 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.6082, allocations: 4.371 MB / 392.7 MB, free: 20.18 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.6084, allocations: 183.8 kB / 392.9 MB, free: 19.96 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/3.079, allocations: 7.938 kB / 392.9 MB, free: 19.95 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat does not exist to compare? outputFormat=mat