Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.424/2.424, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.614e-05/2.622e-05, allocations: 4.125 kB / 249.8 MB, free: 5.254 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1008, allocations: 44.51 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4604/0.5613, allocations: 72.51 MB / 366.8 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.5617, allocations: 76.59 kB / 366.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0178/0.5795, allocations: 3.858 MB / 370.7 MB, free: 22.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5795, allocations: 3.609 kB / 370.8 MB, free: 22.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.406e-05/0.5796, allocations: 5.312 kB / 370.8 MB, free: 22.59 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.0008836/0.5805, allocations: 0.4963 MB / 371.3 MB, free: 22.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.5805, allocations: 9.906 kB / 371.3 MB, free: 22.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.597e-05/0.5807, allocations: 26.19 kB / 371.3 MB, free: 22.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.5811, allocations: 252.1 kB / 371.5 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.5811, allocations: 6.594 kB / 371.5 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.431e-05/0.5812, allocations: 18.41 kB / 371.6 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004562/0.5816, allocations: 156.1 kB / 371.7 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004792/0.5821, allocations: 176.5 kB / 371.9 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.5822, allocations: 0 / 371.9 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.5822, allocations: 0 / 371.9 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.5822, allocations: 7.562 kB / 371.9 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00222/0.5845, allocations: 0.8437 MB / 372.7 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.585, allocations: 155.1 kB / 372.9 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004683/0.5854, allocations: 139 kB / 373 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.5855, allocations: 0 / 373 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.5855, allocations: 34.44 kB / 373.1 MB, free: 21.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.144e-06/0.5855, allocations: 0 / 373.1 MB, free: 21.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.001061/0.5866, allocations: 218.6 kB / 373.3 MB, free: 21.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.5867, allocations: 55.31 kB / 373.3 MB, free: 21.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.5869, allocations: 182.3 kB / 373.5 MB, free: 21.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.5869, allocations: 28.88 kB / 373.5 MB, free: 21.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.376e-05/0.587, allocations: 179.5 kB / 373.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.035e-05/0.5871, allocations: 57.23 kB / 373.8 MB, free: 20.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/0.5871, allocations: 0 / 373.8 MB, free: 20.99 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.095e-05/0.5872, allocations: 328.2 kB / 374.1 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.5874, allocations: 41.53 kB / 374.1 MB, free: 20.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.5875, allocations: 100.7 kB / 374.2 MB, free: 20.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.5877, allocations: 61.66 kB / 374.3 MB, free: 20.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5877, allocations: 0 / 374.3 MB, free: 20.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0011/0.5888, allocations: 270.8 kB / 374.5 MB, free: 20.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.5889, allocations: 3.938 kB / 374.5 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.5889, allocations: 3.844 kB / 374.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000882/0.5898, allocations: 107 kB / 374.7 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.5902, allocations: 42.09 kB / 374.7 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002944/0.5931, allocations: 1.598 MB / 376.3 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.5935, allocations: 23.69 kB / 376.3 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.5935, allocations: 11.56 kB / 376.3 MB, free: 19.2 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real 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.0002198/0.5938, allocations: 115.4 kB / 376.4 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009922/0.5948, allocations: 214.6 kB / 376.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.265e-05/0.5949, allocations: 22.2 kB / 376.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.533e-05/0.595, allocations: 19.28 kB / 376.7 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.595, allocations: 2.719 kB / 376.7 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.595, allocations: 3.875 kB / 376.7 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.595, allocations: 0 / 376.7 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.5966, allocations: 0.5491 MB / 377.3 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.5967, allocations: 4 kB / 377.3 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.597, allocations: 30.28 kB / 377.3 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000813/0.5978, allocations: 100.9 kB / 377.4 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.5979, allocations: 0 / 377.4 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003034/0.6009, allocations: 1.609 MB / 379 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.601, allocations: 0 / 379 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.6022, allocations: 372.9 kB / 379.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.6023, allocations: 103 kB / 379.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.806e-05/0.6024, allocations: 0 / 379.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.6027, allocations: 14.11 kB / 379.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.6028, allocations: 11.72 kB / 379.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.6028, allocations: 5.859 kB / 379.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002113/0.6031, allocations: 149 kB / 379.6 MB, free: 17.03 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6031, allocations: 0 / 379.6 MB, free: 17.03 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007797/0.6039, allocations: 69.5 kB / 379.7 MB, free: 17.02 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.001623/0.6055, allocations: 0.9022 MB / 380.6 MB, free: 16.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006841/0.6062, allocations: 251.5 kB / 380.8 MB, free: 16.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.6063, allocations: 0 / 380.8 MB, free: 16.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.6066, allocations: 173.9 kB / 381 MB, free: 16.11 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.6071, allocations: 27.69 kB / 381 MB, free: 16.1 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.61, allocations: 0.5543 MB / 381.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005923/0.6106, allocations: 0.7562 MB / 382.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002537/0.6109, allocations: 19.75 kB / 382.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.6111, allocations: 67.84 kB / 382.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of SimCode: time 1.463e-06/0.6111, allocations: 3.938 kB / 382.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05166/0.6628, allocations: 3.85 MB / 386.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002595/0.6631, allocations: 156.6 kB / 386.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.037/3.7, allocations: 0 / 386.4 MB, free: 13.86 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat does not exist to compare? outputFormat=mat