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/2, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.548e-05/2.557e-05, allocations: 4 kB / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3033, allocations: 44.5 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.4327, allocations: 72.51 MB / 366.7 MB, free: 9.453 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.433, allocations: 75.95 kB / 366.8 MB, free: 9.379 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01593/0.449, allocations: 3.869 MB / 370.7 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.449, allocations: 0 / 370.7 MB, free: 5.492 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.4491, allocations: 4 kB / 370.7 MB, free: 5.488 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.000826/0.4499, allocations: 494.9 kB / 371.2 MB, free: 4.961 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.45, allocations: 12.03 kB / 371.2 MB, free: 4.949 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.883e-05/0.4501, allocations: 27.72 kB / 371.2 MB, free: 4.922 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.4505, allocations: 258.4 kB / 371.5 MB, free: 4.629 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.4505, allocations: 8 kB / 371.5 MB, free: 4.621 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.061e-05/0.4506, allocations: 19.91 kB / 371.5 MB, free: 4.602 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004267/0.451, allocations: 145.1 kB / 371.6 MB, free: 4.461 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.4515, allocations: 175.8 kB / 371.8 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.4515, allocations: 0 / 371.8 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.4516, allocations: 0 / 371.8 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.4516, allocations: 8 kB / 371.8 MB, free: 4.273 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.4537, allocations: 0.8599 MB / 372.7 MB, free: 3.355 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004256/0.4541, allocations: 140.1 kB / 372.8 MB, free: 3.211 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/0.4546, allocations: 132.8 kB / 372.9 MB, free: 3.078 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.4547, allocations: 0 / 372.9 MB, free: 3.078 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.4547, allocations: 42.56 kB / 373 MB, free: 3.027 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.124e-06/0.4547, allocations: 0 / 373 MB, free: 3.027 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009618/0.4557, allocations: 214.4 kB / 373.2 MB, free: 2.809 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.4557, allocations: 55.41 kB / 373.2 MB, free: 2.742 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.456, allocations: 187 kB / 373.4 MB, free: 2.551 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.456, allocations: 25.7 kB / 373.4 MB, free: 2.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.4562, allocations: 242.3 kB / 373.7 MB, free: 2.281 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/0.4563, allocations: 51.17 kB / 373.7 MB, free: 2.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.4563, allocations: 0 / 373.7 MB, free: 2.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.4564, allocations: 322.8 kB / 374 MB, free: 1.906 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.4566, allocations: 44.47 kB / 374.1 MB, free: 1.859 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.4568, allocations: 94.89 kB / 374.2 MB, free: 1.742 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.4569, allocations: 60.8 kB / 374.2 MB, free: 1.684 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4569, allocations: 3.938 kB / 374.2 MB, free: 1.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009964/0.458, allocations: 273.1 kB / 374.5 MB, free: 1.406 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.458, allocations: 8 kB / 374.5 MB, free: 1.398 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.458, allocations: 0 / 374.5 MB, free: 1.398 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008073/0.4588, allocations: 100.8 kB / 374.6 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.4592, allocations: 51.91 kB / 374.7 MB, free: 1.246 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.4617, allocations: 1.599 MB / 376.3 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.462, allocations: 15.81 kB / 376.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.4621, allocations: 12 kB / 376.3 MB, free: 15.5 MB / 330.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.0001799/0.4623, allocations: 108.8 kB / 376.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008976/0.4632, allocations: 221.9 kB / 376.6 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/0.4633, allocations: 19.72 kB / 376.6 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.143e-05/0.4633, allocations: 30.08 kB / 376.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.4634, allocations: 4 kB / 376.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.4634, allocations: 4 kB / 376.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4634, allocations: 0 / 376.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.4648, allocations: 0.5464 MB / 377.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4648, allocations: 0 / 377.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.4651, allocations: 27.98 kB / 377.2 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007232/0.4658, allocations: 100.8 kB / 377.3 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.4658, allocations: 0 / 377.3 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002774/0.4686, allocations: 1.599 MB / 378.9 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.4687, allocations: 4.172 kB / 378.9 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.4698, allocations: 368 kB / 379.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.4699, allocations: 108.8 kB / 379.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.47, allocations: 4 kB / 379.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.4703, allocations: 8 kB / 379.4 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.4704, allocations: 15.97 kB / 379.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.4704, allocations: 4 kB / 379.4 MB, free: 12.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001914/0.4706, allocations: 145.6 kB / 379.6 MB, free: 11.99 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4706, allocations: 4 kB / 379.6 MB, free: 11.99 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006798/0.4713, allocations: 67.75 kB / 379.7 MB, free: 11.92 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.001478/0.4728, allocations: 0.9014 MB / 380.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006221/0.4734, allocations: 252.9 kB / 380.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.4735, allocations: 0 / 380.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.4738, allocations: 177.6 kB / 381 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.4742, allocations: 15.95 kB / 381 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.4768, allocations: 0.5871 MB / 381.6 MB, free: 9.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.4772, allocations: 0.7516 MB / 382.3 MB, free: 9.133 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.4774, allocations: 71.41 kB / 382.4 MB, free: 9.062 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4774, allocations: 4 kB / 382.4 MB, free: 9.059 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.74/3.217, allocations: 4.317 MB / 386.7 MB, free: 4.734 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