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 1.803/1.803, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.273e-05/3.278e-05, allocations: 4 kB / 255.5 MB, free: 3.074 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08989/0.08995, allocations: 44.5 MB / 300 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4077/0.4977, allocations: 73.01 MB / 373 MB, free: 12.87 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.498, allocations: 76.95 kB / 373 MB, free: 12.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01459/0.5126, allocations: 3.585 MB / 376.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.5126, allocations: 1.031 kB / 376.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.5127, allocations: 8 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.0007008/0.5134, allocations: 484.4 kB / 377.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.836e-05/0.5135, allocations: 10 kB / 377.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.106e-05/0.5135, allocations: 54.27 kB / 377.2 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.149e-05/0.5136, allocations: 25.69 kB / 377.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.514, allocations: 243 kB / 377.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.514, allocations: 16.62 kB / 377.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-05/0.5141, allocations: 22.53 kB / 377.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004695/0.5145, allocations: 185.7 kB / 377.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.5146, allocations: 9.375 kB / 377.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.5146, allocations: 8.594 kB / 377.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.5146, allocations: 5.594 kB / 377.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003875/0.515, allocations: 144.8 kB / 377.8 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.5169, allocations: 0.9149 MB / 378.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005862/0.5175, allocations: 165.4 kB / 378.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.5179, allocations: 100.6 kB / 379 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.5179, allocations: 6.688 kB / 379 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.518, allocations: 31.78 kB / 379 MB, free: 10.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.265e-06/0.518, allocations: 0 / 379 MB, free: 10.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009468/0.5189, allocations: 223.3 kB / 379.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.519, allocations: 57.86 kB / 379.3 MB, free: 10.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.5192, allocations: 190.3 kB / 379.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.5193, allocations: 29.7 kB / 379.5 MB, free: 10.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.505e-05/0.5194, allocations: 226.5 kB / 379.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.5194, allocations: 48.25 kB / 379.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/0.5195, allocations: 4.812 kB / 379.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.655e-05/0.5195, allocations: 322.1 kB / 380.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.5197, allocations: 44.53 kB / 380.2 MB, free: 10.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.5198, allocations: 99.25 kB / 380.3 MB, free: 10.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.52, allocations: 60.53 kB / 380.3 MB, free: 10.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.52, allocations: 0 / 380.3 MB, free: 10.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009696/0.521, allocations: 265.5 kB / 380.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.521, allocations: 10.06 kB / 380.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.521, allocations: 2.188 kB / 380.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008131/0.5219, allocations: 101.6 kB / 380.7 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.5222, allocations: 37.84 kB / 380.7 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.5246, allocations: 1.676 MB / 382.4 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.5249, allocations: 20.91 kB / 382.4 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.5249, allocations: 6.375 kB / 382.4 MB, free: 8.672 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 8.566e-05/0.525, allocations: 115.2 kB / 382.5 MB, free: 8.562 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.5251, allocations: 18.59 kB / 382.6 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.493e-05/0.5251, allocations: 28.39 kB / 382.6 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.5252, allocations: 1.719 kB / 382.6 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.5252, allocations: 0.9688 kB / 382.6 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5252, allocations: 9.703 kB / 382.6 MB, free: 8.535 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.5265, allocations: 0.57 MB / 383.2 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.5265, allocations: 0 / 383.2 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.5268, allocations: 24.88 kB / 383.2 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007137/0.5275, allocations: 99.48 kB / 383.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.5275, allocations: 8.969 kB / 383.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/0.5299, allocations: 1.667 MB / 385 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5299, allocations: 1.688 kB / 385 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009974/0.5309, allocations: 371.1 kB / 385.3 MB, free: 6.672 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/0.531, allocations: 95.98 kB / 385.4 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.531, allocations: 8.406 kB / 385.4 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.5313, allocations: 14.86 kB / 385.4 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.5314, allocations: 9.031 kB / 385.4 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.5314, allocations: 4.062 kB / 385.5 MB, free: 6.562 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001821/0.5316, allocations: 158.8 kB / 385.6 MB, free: 6.484 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5316, allocations: 0 / 385.6 MB, free: 6.484 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006149/0.5322, allocations: 73.28 kB / 385.7 MB, free: 6.473 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.001538/0.5338, allocations: 0.9163 MB / 386.6 MB, free: 21.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005893/0.5344, allocations: 247.4 kB / 386.8 MB, free: 21.65 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.5344, allocations: 0 / 386.8 MB, free: 21.65 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.5347, allocations: 171.5 kB / 387 MB, free: 21.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.5351, allocations: 31.11 kB / 387 MB, free: 21.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.5376, allocations: 0.5259 MB / 387.6 MB, free: 21.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.5379, allocations: 0.75 MB / 388.3 MB, free: 20.58 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.538, allocations: 65.12 kB / 388.4 MB, free: 20.57 MB / 330.7 MB Notification: Performance of SimCode: time 8.21e-07/0.538, allocations: 0 / 388.4 MB, free: 20.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.665/3.203, allocations: 4.124 MB / 392.5 MB, free: 20.33 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