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 2.113/2.113, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.358e-05/3.369e-05, allocations: 4 kB / 255.5 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1008, allocations: 44.5 MB / 300 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4429/0.5437, allocations: 73.18 MB / 373.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.5441, allocations: 77.3 kB / 373.2 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01756/0.5616, allocations: 3.912 MB / 377.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5617, allocations: 1.031 kB / 377.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.256e-05/0.5617, allocations: 5.188 kB / 377.1 MB, free: 12.25 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.0008614/0.5626, allocations: 499.6 kB / 377.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.5627, allocations: 10.06 kB / 377.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.17e-05/0.5628, allocations: 62.09 kB / 377.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.409e-05/0.5629, allocations: 26.38 kB / 377.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/0.5633, allocations: 251.3 kB / 378 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.5633, allocations: 18 kB / 378 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-05/0.5634, allocations: 26.88 kB / 378 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005683/0.564, allocations: 215.1 kB / 378.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.564, allocations: 1.094 kB / 378.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.907e-05/0.5641, allocations: 9.531 kB / 378.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.5641, allocations: 5.531 kB / 378.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004485/0.5646, allocations: 159 kB / 378.4 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002274/0.5668, allocations: 0.9101 MB / 379.3 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/0.5674, allocations: 160.8 kB / 379.5 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000482/0.5679, allocations: 147.3 kB / 379.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.5679, allocations: 1.219 kB / 379.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.5679, allocations: 33.03 kB / 379.6 MB, free: 10.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 3.918e-06/0.568, allocations: 0 / 379.6 MB, free: 10.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.001107/0.5691, allocations: 232.3 kB / 379.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.5691, allocations: 55.58 kB / 379.9 MB, free: 10.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.5695, allocations: 197.2 kB / 380.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.5695, allocations: 30.2 kB / 380.1 MB, free: 10.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.823e-05/0.5696, allocations: 232.7 kB / 380.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.046e-05/0.5697, allocations: 67.58 kB / 380.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/0.5697, allocations: 4.406 kB / 380.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.525e-05/0.5698, allocations: 321.1 kB / 380.7 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.57, allocations: 46.84 kB / 380.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.5701, allocations: 98.58 kB / 380.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.5703, allocations: 70.27 kB / 381 MB, free: 10.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5704, allocations: 3.938 kB / 381 MB, free: 10.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001098/0.5715, allocations: 282.5 kB / 381.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.5715, allocations: 5.344 kB / 381.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.5715, allocations: 2.156 kB / 381.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008643/0.5724, allocations: 102.9 kB / 381.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/0.5728, allocations: 49.88 kB / 381.4 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/0.5755, allocations: 1.67 MB / 383.1 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.5759, allocations: 21.91 kB / 383.1 MB, free: 8.656 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.5759, allocations: 10.28 kB / 383.1 MB, free: 8.656 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.0001094/0.576, allocations: 117.4 kB / 383.2 MB, free: 8.547 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.5761, allocations: 21.53 kB / 383.2 MB, free: 8.535 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.183e-05/0.5762, allocations: 30.03 kB / 383.3 MB, free: 8.527 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.5762, allocations: 5.188 kB / 383.3 MB, free: 8.523 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5762, allocations: 0 / 383.3 MB, free: 8.523 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5762, allocations: 2.703 kB / 383.3 MB, free: 8.523 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.5778, allocations: 0.6005 MB / 383.9 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.5778, allocations: 0 / 383.9 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/0.5781, allocations: 31.36 kB / 383.9 MB, free: 8.195 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007698/0.5789, allocations: 100.2 kB / 384 MB, free: 8.184 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.5789, allocations: 5.875 kB / 384 MB, free: 8.184 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002586/0.5815, allocations: 1.662 MB / 385.7 MB, free: 6.824 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5816, allocations: 0 / 385.7 MB, free: 6.824 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.5827, allocations: 400.9 kB / 386.1 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.5829, allocations: 101.5 kB / 386.2 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.5829, allocations: 3.875 kB / 386.2 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.5832, allocations: 11.19 kB / 386.2 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.5833, allocations: 23.36 kB / 386.2 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.5833, allocations: 3.562 kB / 386.2 MB, free: 6.539 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002048/0.5835, allocations: 161.3 kB / 386.4 MB, free: 6.461 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5836, allocations: 4.062 kB / 386.4 MB, free: 6.457 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006541/0.5842, allocations: 72.59 kB / 386.4 MB, free: 6.449 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.001872/0.5861, allocations: 0.9216 MB / 387.4 MB, free: 21.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007306/0.5869, allocations: 252.2 kB / 387.6 MB, free: 21.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.5869, allocations: 4.75 kB / 387.6 MB, free: 21.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003838/0.5873, allocations: 179.5 kB / 387.8 MB, free: 21.53 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004681/0.5878, allocations: 26.61 kB / 387.8 MB, free: 21.53 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.5907, allocations: 0.5927 MB / 388.4 MB, free: 21.24 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.5912, allocations: 0.7594 MB / 389.2 MB, free: 20.53 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.5913, allocations: 72.12 kB / 389.2 MB, free: 20.52 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5914, allocations: 0 / 389.2 MB, free: 20.52 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.674/3.265, allocations: 4.44 MB / 393.7 MB, free: 20.27 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