Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.915/1.915, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.811e-05/2.837e-05, allocations: 4 kB / 255.4 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09486/0.09491, allocations: 44.5 MB / 299.9 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4004/0.4954, allocations: 73.18 MB / 373.1 MB, free: 12.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.4957, allocations: 75.66 kB / 373.2 MB, free: 12.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0158/0.5115, allocations: 3.899 MB / 377.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5116, allocations: 1.281 kB / 377.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.038e-05/0.5116, allocations: 4.562 kB / 377.1 MB, free: 12.16 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008167/0.5125, allocations: 0.4946 MB / 377.6 MB, free: 11.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.5125, allocations: 9.25 kB / 377.6 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.937e-05/0.5126, allocations: 57.53 kB / 377.7 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.883e-05/0.5127, allocations: 27.44 kB / 377.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.513, allocations: 254.6 kB / 377.9 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.5131, allocations: 16.12 kB / 378 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.01e-05/0.5132, allocations: 33.97 kB / 378 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005378/0.5137, allocations: 212.6 kB / 378.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.5137, allocations: 4 kB / 378.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/0.5138, allocations: 8.906 kB / 378.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.5138, allocations: 6.219 kB / 378.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004251/0.5142, allocations: 158.1 kB / 378.4 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001997/0.5162, allocations: 0.9173 MB / 379.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/0.5167, allocations: 162.3 kB / 379.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004504/0.5172, allocations: 139.9 kB / 379.6 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.5172, allocations: 1.656 kB / 379.6 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.5172, allocations: 32.28 kB / 379.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.054e-06/0.5172, allocations: 0 / 379.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009702/0.5182, allocations: 231.1 kB / 379.8 MB, free: 10.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.5183, allocations: 53.86 kB / 379.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.5185, allocations: 201.6 kB / 380.1 MB, free: 10.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.5186, allocations: 27.02 kB / 380.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.35e-05/0.5187, allocations: 238.8 kB / 380.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.485e-05/0.5187, allocations: 64.56 kB / 380.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.395e-05/0.5188, allocations: 5.094 kB / 380.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.135e-05/0.5188, allocations: 318.5 kB / 380.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.519, allocations: 46.88 kB / 380.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.5192, allocations: 106.6 kB / 380.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.5193, allocations: 65.55 kB / 380.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.5194, allocations: 1.188 kB / 380.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001005/0.5204, allocations: 296.9 kB / 381.2 MB, free: 9.945 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.5204, allocations: 5.594 kB / 381.2 MB, free: 9.945 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.5204, allocations: 5.438 kB / 381.2 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007795/0.5212, allocations: 100.6 kB / 381.3 MB, free: 9.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.5216, allocations: 45.94 kB / 381.4 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/0.524, allocations: 1.665 MB / 383 MB, free: 8.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.5243, allocations: 30.12 kB / 383.1 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.5244, allocations: 11.19 kB / 383.1 MB, free: 8.551 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 (23): * Single equations (assignments): 22 * 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 9.343e-05/0.5245, allocations: 115 kB / 383.2 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.5245, allocations: 18.94 kB / 383.2 MB, free: 8.434 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.425e-05/0.5246, allocations: 30.88 kB / 383.2 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.5246, allocations: 2.344 kB / 383.3 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.5246, allocations: 0 / 383.3 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.5247, allocations: 1.344 kB / 383.3 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.526, allocations: 0.6018 MB / 383.9 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.5261, allocations: 1.312 kB / 383.9 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.5263, allocations: 26.23 kB / 383.9 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007159/0.5271, allocations: 105.1 kB / 384 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.5271, allocations: 2.938 kB / 384 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/0.5294, allocations: 1.667 MB / 385.7 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5295, allocations: 4.062 kB / 385.7 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.5305, allocations: 389.2 kB / 386 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.312e-05/0.5306, allocations: 105 kB / 386.1 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.5307, allocations: 10.61 kB / 386.2 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.531, allocations: 14.56 kB / 386.2 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.531, allocations: 13.62 kB / 386.2 MB, free: 6.438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.5311, allocations: 9.141 kB / 386.2 MB, free: 6.438 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001916/0.5313, allocations: 163.7 kB / 386.3 MB, free: 6.355 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5313, allocations: 0 / 386.3 MB, free: 6.355 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005772/0.5319, allocations: 74.38 kB / 386.4 MB, free: 6.348 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * 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: 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.001585/0.5334, allocations: 0.9218 MB / 387.3 MB, free: 21.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006335/0.5341, allocations: 264.6 kB / 387.6 MB, free: 21.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5341, allocations: 1.469 kB / 387.6 MB, free: 21.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.5345, allocations: 185.5 kB / 387.8 MB, free: 21.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.5348, allocations: 34.86 kB / 387.8 MB, free: 21.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.5373, allocations: 0.5959 MB / 388.4 MB, free: 21.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.5377, allocations: 0.7554 MB / 389.2 MB, free: 20.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.5379, allocations: 77.23 kB / 389.2 MB, free: 20.39 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5379, allocations: 3.938 kB / 389.2 MB, free: 20.39 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.583/3.121, allocations: 4.438 MB / 393.7 MB, free: 20.14 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.LCOscillator_res.mat does not exist to compare? outputFormat=mat