Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.824/1.824, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.12e-05/3.152e-05, allocations: 4 kB / 255.5 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09091/0.09097, allocations: 44.51 MB / 300 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3951/0.4861, allocations: 73.15 MB / 373.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.4865, allocations: 77.7 kB / 373.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01764/0.5041, allocations: 4.327 MB / 377.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5042, allocations: 2.453 kB / 377.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.276e-05/0.5042, allocations: 9.875 kB / 377.5 MB, free: 11.86 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0008573/0.5051, allocations: 0.5064 MB / 378 MB, free: 11.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.5051, allocations: 10.48 kB / 378 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.725e-05/0.5052, allocations: 63.59 kB / 378.1 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.006e-05/0.5053, allocations: 38.03 kB / 378.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.5057, allocations: 265.8 kB / 378.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.5058, allocations: 20.28 kB / 378.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.562e-05/0.5059, allocations: 29.03 kB / 378.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006315/0.5065, allocations: 248.7 kB / 378.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.5065, allocations: 0.9688 kB / 378.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.335e-05/0.5066, allocations: 16.72 kB / 378.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.5066, allocations: 8.25 kB / 378.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005431/0.5072, allocations: 190.6 kB / 378.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002491/0.5097, allocations: 1.123 MB / 380 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006697/0.5104, allocations: 194.3 kB / 380.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004736/0.5109, allocations: 145.1 kB / 380.4 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.5109, allocations: 3.422 kB / 380.4 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.5109, allocations: 39.28 kB / 380.4 MB, free: 10.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 2.404e-06/0.511, allocations: 1 kB / 380.4 MB, free: 10.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.001592/0.5126, allocations: 316.3 kB / 380.7 MB, free: 10.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.5126, allocations: 53.56 kB / 380.8 MB, free: 10.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.513, allocations: 231.5 kB / 381 MB, free: 10.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.513, allocations: 31.61 kB / 381 MB, free: 10.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.5131, allocations: 261.3 kB / 381.3 MB, free: 9.992 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.188e-05/0.5132, allocations: 60.77 kB / 381.3 MB, free: 9.953 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/0.5132, allocations: 4.938 kB / 381.3 MB, free: 9.953 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.54e-05/0.5133, allocations: 329.2 kB / 381.7 MB, free: 9.637 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.5135, allocations: 56.59 kB / 381.7 MB, free: 9.637 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.5137, allocations: 145.3 kB / 381.9 MB, free: 9.527 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.5139, allocations: 80.81 kB / 381.9 MB, free: 9.523 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.5139, allocations: 5.594 kB / 381.9 MB, free: 9.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001683/0.5156, allocations: 398.4 kB / 382.3 MB, free: 9.434 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.5157, allocations: 9.938 kB / 382.3 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.5157, allocations: 4.094 kB / 382.3 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/0.5171, allocations: 181 kB / 382.5 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.5175, allocations: 57.3 kB / 382.6 MB, free: 9.398 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004007/0.5215, allocations: 3.008 MB / 385.6 MB, free: 6.762 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.5219, allocations: 32.38 kB / 385.6 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.522, allocations: 17.12 kB / 385.6 MB, free: 6.738 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.5221, allocations: 118.5 kB / 385.7 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.5222, allocations: 22.97 kB / 385.8 MB, free: 6.617 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.563e-05/0.5223, allocations: 39.39 kB / 385.8 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.5223, allocations: 2.656 kB / 385.8 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5223, allocations: 0 / 385.8 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5223, allocations: 3.375 kB / 385.8 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/0.5246, allocations: 0.7072 MB / 386.5 MB, free: 22.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.5246, allocations: 0 / 386.5 MB, free: 22.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.5248, allocations: 25.59 kB / 386.5 MB, free: 22.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/0.5262, allocations: 171.4 kB / 386.7 MB, free: 22.24 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.5262, allocations: 6.375 kB / 386.7 MB, free: 22.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004404/0.5306, allocations: 3.001 MB / 389.7 MB, free: 19.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5307, allocations: 1.688 kB / 389.7 MB, free: 19.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.5324, allocations: 486.5 kB / 390.2 MB, free: 19.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.5326, allocations: 101.3 kB / 390.3 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/0.5326, allocations: 12.39 kB / 390.3 MB, free: 19.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.5329, allocations: 10.98 kB / 390.3 MB, free: 19.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.533, allocations: 15.81 kB / 390.3 MB, free: 19.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.533, allocations: 12.98 kB / 390.3 MB, free: 19.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002586/0.5333, allocations: 175.4 kB / 390.5 MB, free: 19.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5333, allocations: 0 / 390.5 MB, free: 19.22 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007417/0.5341, allocations: 89.41 kB / 390.6 MB, free: 19.21 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 (13): * Single equations (assignments): 11 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002152/0.5362, allocations: 1.014 MB / 391.6 MB, free: 18.51 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009581/0.5372, allocations: 395.6 kB / 392 MB, free: 18.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.5373, allocations: 5.5 kB / 392 MB, free: 18.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005097/0.5378, allocations: 302.3 kB / 392.3 MB, free: 18.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.5382, allocations: 28.28 kB / 392.3 MB, free: 18.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.5396, allocations: 450.5 kB / 392.8 MB, free: 17.81 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.54, allocations: 0.772 MB / 393.5 MB, free: 17.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.5402, allocations: 82.09 kB / 393.6 MB, free: 17.1 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5402, allocations: 3.938 kB / 393.6 MB, free: 17.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.882/3.422, allocations: 6.217 MB / 399.8 MB, free: 16.78 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.SignalGenerator_res.mat does not exist to compare? outputFormat=mat