Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.885/1.885, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.874e-05/3.886e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1223, allocations: 44.5 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4138/0.5362, allocations: 73.19 MB / 373.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.5366, allocations: 78.06 kB / 373.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01838/0.555, allocations: 3.908 MB / 377.2 MB, free: 11.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.555, allocations: 4 kB / 377.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.351e-05/0.5551, allocations: 5.688 kB / 377.2 MB, free: 11.88 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.0009837/0.5561, allocations: 0.49 MB / 377.7 MB, free: 11.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.5561, allocations: 10.7 kB / 377.7 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.5563, allocations: 59.48 kB / 377.7 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.5564, allocations: 30.56 kB / 377.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/0.5568, allocations: 254 kB / 378 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.5568, allocations: 16.28 kB / 378 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.5569, allocations: 30.62 kB / 378 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005666/0.5575, allocations: 206.8 kB / 378.2 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.5575, allocations: 5.328 kB / 378.3 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/0.5576, allocations: 9.969 kB / 378.3 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.5576, allocations: 9.156 kB / 378.3 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000477/0.5581, allocations: 159.4 kB / 378.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/0.5604, allocations: 0.9122 MB / 379.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004839/0.5609, allocations: 152.8 kB / 379.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004831/0.5614, allocations: 140.2 kB / 379.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.5615, allocations: 3.734 kB / 379.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.5615, allocations: 31.84 kB / 379.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 3.898e-06/0.5616, allocations: 0 / 379.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.001133/0.5627, allocations: 232.2 kB / 379.9 MB, free: 10.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.5628, allocations: 56.78 kB / 379.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.5631, allocations: 201.6 kB / 380.1 MB, free: 10.4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.5632, allocations: 27.33 kB / 380.2 MB, free: 10.37 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.5633, allocations: 177.8 kB / 380.3 MB, free: 10.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.117e-05/0.5634, allocations: 60.23 kB / 380.4 MB, free: 10.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/0.5634, allocations: 4.531 kB / 380.4 MB, free: 10.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.36e-05/0.5635, allocations: 332 kB / 380.7 MB, free: 9.887 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.5636, allocations: 44.97 kB / 380.8 MB, free: 9.883 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.5638, allocations: 101.8 kB / 380.9 MB, free: 9.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.564, allocations: 64.77 kB / 380.9 MB, free: 9.816 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.564, allocations: 9.344 kB / 380.9 MB, free: 9.809 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001156/0.5652, allocations: 293.7 kB / 381.2 MB, free: 9.742 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.5653, allocations: 6.594 kB / 381.2 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.5653, allocations: 2.625 kB / 381.2 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008848/0.5662, allocations: 107.8 kB / 381.3 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.5666, allocations: 41.05 kB / 381.4 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/0.5693, allocations: 1.674 MB / 383.1 MB, free: 8.363 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.5697, allocations: 25.41 kB / 383.1 MB, free: 8.348 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.5697, allocations: 9.75 kB / 383.1 MB, free: 8.348 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 0.0001095/0.5699, allocations: 118.6 kB / 383.2 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.57, allocations: 19.47 kB / 383.2 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.899e-05/0.5701, allocations: 28.27 kB / 383.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.5701, allocations: 3.484 kB / 383.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5701, allocations: 1.125 kB / 383.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.5701, allocations: 0 / 383.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.5717, allocations: 0.5984 MB / 383.9 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.5718, allocations: 0 / 383.9 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/0.5721, allocations: 36.53 kB / 383.9 MB, free: 7.887 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000772/0.5728, allocations: 104.5 kB / 384 MB, free: 7.871 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.5729, allocations: 2.609 kB / 384 MB, free: 7.871 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002605/0.5755, allocations: 1.661 MB / 385.7 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.5756, allocations: 1.5 kB / 385.7 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.5767, allocations: 398.1 kB / 386.1 MB, free: 6.344 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003669/0.5771, allocations: 101.7 kB / 386.1 MB, free: 22.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.5772, allocations: 1.094 kB / 386.2 MB, free: 22.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/0.5775, allocations: 18.67 kB / 386.2 MB, free: 22.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.5776, allocations: 16.88 kB / 386.2 MB, free: 22.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.5776, allocations: 5.5 kB / 386.2 MB, free: 22.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002386/0.5779, allocations: 158.1 kB / 386.3 MB, free: 22.15 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5779, allocations: 1.125 kB / 386.3 MB, free: 22.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000713/0.5786, allocations: 72.59 kB / 386.4 MB, free: 22.14 MB / 330.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.5802, allocations: 0.9251 MB / 387.3 MB, free: 21.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007315/0.581, allocations: 253.3 kB / 387.6 MB, free: 21.33 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.581, allocations: 1.344 kB / 387.6 MB, free: 21.33 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003569/0.5814, allocations: 175.8 kB / 387.8 MB, free: 21.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.5819, allocations: 31.17 kB / 387.8 MB, free: 21.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/0.5853, allocations: 0.5636 MB / 388.4 MB, free: 20.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006033/0.586, allocations: 0.7597 MB / 389.1 MB, free: 20.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000287/0.5863, allocations: 16.92 kB / 389.1 MB, free: 20.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.5866, allocations: 73.28 kB / 389.2 MB, free: 20.24 MB / 330.7 MB Notification: Performance of SimCode: time 1.874e-06/0.5866, allocations: 1.375 kB / 389.2 MB, free: 20.24 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03619/0.6228, allocations: 4.541 MB / 393.7 MB, free: 19.77 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002501/0.6232, allocations: 199.8 kB / 393.9 MB, free: 19.53 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.511/3.134, allocations: 0 / 393.9 MB, free: 19.53 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat does not exist to compare? outputFormat=mat