Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.01/2.01, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.394e-05/3.397e-05, allocations: 4.984 kB / 292.2 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 50.41 MB / 342.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.47/0.5743, allocations: 79.27 MB / 421.9 MB, free: 14.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003828/0.5748, allocations: 77.83 kB / 422 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02569/0.6005, allocations: 4.458 MB / 426.5 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.6006, allocations: 0 / 426.5 MB, free: 10.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.279e-05/0.6006, allocations: 8 kB / 426.5 MB, free: 10.73 MB / 346.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.001368/0.602, allocations: 0.5104 MB / 427 MB, free: 10.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/0.6021, allocations: 12.03 kB / 427 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/0.6022, allocations: 58.05 kB / 427.1 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.6023, allocations: 27.72 kB / 427.1 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005815/0.6029, allocations: 257.8 kB / 427.3 MB, free: 9.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.603, allocations: 20.44 kB / 427.4 MB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.197e-05/0.6031, allocations: 23.81 kB / 427.4 MB, free: 9.805 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008357/0.6039, allocations: 259.4 kB / 427.6 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.604, allocations: 0 / 427.6 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.6041, allocations: 11.62 kB / 427.6 MB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.6041, allocations: 12 kB / 427.7 MB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000658/0.6048, allocations: 162.7 kB / 427.8 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003357/0.6081, allocations: 1.031 MB / 428.8 MB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006212/0.6088, allocations: 147.4 kB / 429 MB, free: 8.469 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006559/0.6095, allocations: 141.9 kB / 429.1 MB, free: 8.359 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.6095, allocations: 7.953 kB / 429.1 MB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.6096, allocations: 34.5 kB / 429.2 MB, free: 8.309 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.947e-06/0.6096, allocations: 4 kB / 429.2 MB, free: 8.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001342/0.611, allocations: 250.4 kB / 429.4 MB, free: 8.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.6111, allocations: 51.41 kB / 429.5 MB, free: 8.027 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004246/0.6115, allocations: 204.2 kB / 429.7 MB, free: 7.855 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.6116, allocations: 33.45 kB / 429.7 MB, free: 7.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.6118, allocations: 172 kB / 429.9 MB, free: 7.668 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.402e-05/0.6119, allocations: 63.78 kB / 429.9 MB, free: 7.613 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.6119, allocations: 6 kB / 429.9 MB, free: 7.613 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.6121, allocations: 327.9 kB / 430.3 MB, free: 7.293 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.6124, allocations: 59.23 kB / 430.3 MB, free: 7.254 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.6127, allocations: 111.5 kB / 430.4 MB, free: 7.141 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.613, allocations: 67.66 kB / 430.5 MB, free: 7.094 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.613, allocations: 0 / 430.5 MB, free: 7.094 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001531/0.6145, allocations: 309.5 kB / 430.8 MB, free: 6.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.6146, allocations: 8 kB / 430.8 MB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.6146, allocations: 0 / 430.8 MB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000417/0.615, allocations: 66.23 kB / 430.9 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000459/0.6155, allocations: 39.98 kB / 430.9 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004619/0.6201, allocations: 1.761 MB / 432.7 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004921/0.6207, allocations: 27.31 kB / 432.7 MB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.6207, allocations: 11.69 kB / 432.7 MB, free: 4.957 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.0001874/0.6209, allocations: 131.2 kB / 432.8 MB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.6211, allocations: 23.72 kB / 432.8 MB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.6212, allocations: 25.16 kB / 432.9 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.6212, allocations: 3.938 kB / 432.9 MB, free: 4.785 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6212, allocations: 0 / 432.9 MB, free: 4.785 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.6212, allocations: 3.984 kB / 432.9 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.6233, allocations: 0.6138 MB / 433.5 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.6233, allocations: 0 / 433.5 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003742/0.6237, allocations: 30.86 kB / 433.5 MB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003463/0.6241, allocations: 54.77 kB / 433.6 MB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.6241, allocations: 3.562 kB / 433.6 MB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004409/0.6286, allocations: 1.755 MB / 435.3 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.6286, allocations: 4 kB / 435.3 MB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.6302, allocations: 415.7 kB / 435.7 MB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.6303, allocations: 100.2 kB / 435.8 MB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.454e-05/0.6304, allocations: 8.062 kB / 435.9 MB, free: 1.906 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005064/0.6309, allocations: 23.55 kB / 435.9 MB, free: 1.887 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.631, allocations: 7.984 kB / 435.9 MB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.631, allocations: 11.48 kB / 435.9 MB, free: 1.871 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003111/0.6314, allocations: 164.5 kB / 436.1 MB, free: 1.738 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6314, allocations: 0 / 436.1 MB, free: 1.738 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001002/0.6324, allocations: 82.47 kB / 436.1 MB, free: 1.664 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.002072/0.6345, allocations: 0.9453 MB / 437.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.6359, allocations: 333.5 kB / 437.4 MB, free: 476 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.6359, allocations: 4.062 kB / 437.4 MB, free: 472 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009768/0.6369, allocations: 265.8 kB / 437.7 MB, free: 224 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.6374, allocations: 32.73 kB / 437.7 MB, free: 196 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/0.6416, allocations: 0.7961 MB / 438.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.6421, allocations: 0.7599 MB / 439.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.6422, allocations: 22.06 kB / 439.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.6424, allocations: 71.92 kB / 439.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6424, allocations: 0 / 439.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.6725, allocations: 4.752 MB / 444.1 MB, free: 9.926 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/0.6729, allocations: 188.9 kB / 444.3 MB, free: 9.699 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.412/3.084, allocations: 0 / 444.3 MB, free: 9.699 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat does not exist to compare? outputFormat=mat