Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.105/2.105, allocations: 225.8 MB / 239.3 MB, free: 1.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.761e-05/3.772e-05, allocations: 4 kB / 292.8 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1346, allocations: 50.41 MB / 343.2 MB, free: 8.984 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4431/0.5777, allocations: 79 MB / 422.2 MB, free: 7.898 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.578, allocations: 72.7 kB / 422.2 MB, free: 7.898 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01705/0.5951, allocations: 4.47 MB / 426.7 MB, free: 7.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.5951, allocations: 0 / 426.7 MB, free: 7.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.045e-05/0.5951, allocations: 7.625 kB / 426.7 MB, free: 7.25 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0008774/0.596, allocations: 0.5111 MB / 427.2 MB, free: 6.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.5961, allocations: 11.75 kB / 427.2 MB, free: 6.836 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.654e-05/0.5962, allocations: 57.14 kB / 427.3 MB, free: 6.797 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.401e-05/0.5963, allocations: 27.09 kB / 427.3 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.5966, allocations: 261.3 kB / 427.6 MB, free: 6.562 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.5967, allocations: 22.03 kB / 427.6 MB, free: 6.559 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-05/0.5967, allocations: 25.53 kB / 427.6 MB, free: 6.559 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005302/0.5973, allocations: 258.5 kB / 427.9 MB, free: 6.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.5973, allocations: 0 / 427.9 MB, free: 6.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.738e-05/0.5974, allocations: 6.312 kB / 427.9 MB, free: 6.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.5974, allocations: 7.875 kB / 427.9 MB, free: 6.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004175/0.5978, allocations: 165 kB / 428.1 MB, free: 6.496 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.5999, allocations: 1.02 MB / 429.1 MB, free: 5.832 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.6004, allocations: 155.5 kB / 429.2 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00044/0.6008, allocations: 148.3 kB / 429.4 MB, free: 5.773 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.6009, allocations: 3.953 kB / 429.4 MB, free: 5.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.6009, allocations: 42.22 kB / 429.4 MB, free: 5.727 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 4.359e-06/0.6009, allocations: 3.984 kB / 429.4 MB, free: 5.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009219/0.6019, allocations: 238.8 kB / 429.7 MB, free: 5.637 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.6019, allocations: 55.34 kB / 429.7 MB, free: 5.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.6022, allocations: 209.3 kB / 429.9 MB, free: 5.461 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.6022, allocations: 28.02 kB / 429.9 MB, free: 5.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.6024, allocations: 180.8 kB / 430.1 MB, free: 5.289 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.6024, allocations: 58.02 kB / 430.2 MB, free: 5.246 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.479e-05/0.6024, allocations: 3.75 kB / 430.2 MB, free: 5.246 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.193e-05/0.6025, allocations: 338 kB / 430.5 MB, free: 4.922 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.6027, allocations: 50.59 kB / 430.6 MB, free: 4.922 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.6028, allocations: 101.5 kB / 430.7 MB, free: 4.852 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.603, allocations: 69.12 kB / 430.7 MB, free: 4.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.603, allocations: 0 / 430.7 MB, free: 4.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009512/0.604, allocations: 317.6 kB / 431 MB, free: 4.738 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.604, allocations: 3.844 kB / 431 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.604, allocations: 3.844 kB / 431 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002978/0.6044, allocations: 58.7 kB / 431.1 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.6047, allocations: 50.12 kB / 431.1 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003178/0.6079, allocations: 1.764 MB / 432.9 MB, free: 19.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.6083, allocations: 30.2 kB / 432.9 MB, free: 19.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.6083, allocations: 15.19 kB / 433 MB, free: 19.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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.0001271/0.6084, allocations: 123.1 kB / 433.1 MB, free: 19.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.6085, allocations: 19.41 kB / 433.1 MB, free: 19.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.797e-05/0.6086, allocations: 31.33 kB / 433.1 MB, free: 19.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.6086, allocations: 0 / 433.1 MB, free: 19.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.6086, allocations: 0 / 433.1 MB, free: 19.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6086, allocations: 0 / 433.1 MB, free: 19.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.61, allocations: 0.6152 MB / 433.7 MB, free: 18.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.61, allocations: 192 / 433.7 MB, free: 18.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.6103, allocations: 41.92 kB / 433.8 MB, free: 18.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002211/0.6105, allocations: 50.05 kB / 433.8 MB, free: 18.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.6105, allocations: 5.875 kB / 433.8 MB, free: 18.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003031/0.6136, allocations: 1.751 MB / 435.6 MB, free: 17.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6136, allocations: 3.938 kB / 435.6 MB, free: 17.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.6147, allocations: 406.9 kB / 436 MB, free: 17.01 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.916e-05/0.6148, allocations: 108 kB / 436.1 MB, free: 16.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.6148, allocations: 3.188 kB / 436.1 MB, free: 16.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.6152, allocations: 22.48 kB / 436.1 MB, free: 16.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.6152, allocations: 11.64 kB / 436.1 MB, free: 16.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.6153, allocations: 7.969 kB / 436.1 MB, free: 16.89 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002064/0.6155, allocations: 169.1 kB / 436.3 MB, free: 16.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.92e-07/0.6155, allocations: 0 / 436.3 MB, free: 16.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006083/0.6161, allocations: 78.38 kB / 436.4 MB, free: 16.79 MB / 346.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.001397/0.6175, allocations: 0.9457 MB / 437.3 MB, free: 16.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.6187, allocations: 337.9 kB / 437.7 MB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.6187, allocations: 0 / 437.7 MB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008487/0.6196, allocations: 261.4 kB / 437.9 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.6201, allocations: 34.83 kB / 437.9 MB, free: 15.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/0.6239, allocations: 0.7966 MB / 438.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.6243, allocations: 0.7605 MB / 439.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001532/0.6245, allocations: 21.27 kB / 439.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.6246, allocations: 76.25 kB / 439.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of SimCode: time 1.423e-06/0.6246, allocations: 0 / 439.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/0.6561, allocations: 4.749 MB / 444.3 MB, free: 12.29 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003249/0.6565, allocations: 204.1 kB / 444.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.062, allocations: 0 / 444.5 MB, free: 12.05 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat does not exist to compare? outputFormat=mat