Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2/2, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.396e-05/3.395e-05, allocations: 7.984 kB / 292.3 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1079, allocations: 50.41 MB / 342.7 MB, free: 5.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.47/0.578, allocations: 81.86 MB / 424.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.5783, allocations: 78.73 kB / 424.6 MB, free: 11.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03165/0.61, allocations: 6.928 MB / 431.5 MB, free: 6.008 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.61, allocations: 4 kB / 431.5 MB, free: 6.004 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.827e-05/0.6101, allocations: 12 kB / 431.5 MB, free: 5.992 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001604/0.6117, allocations: 0.6202 MB / 432.2 MB, free: 5.344 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.6118, allocations: 8.031 kB / 432.2 MB, free: 5.336 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.6119, allocations: 63.28 kB / 432.2 MB, free: 5.281 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.612, allocations: 35.62 kB / 432.3 MB, free: 5.246 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005455/0.6126, allocations: 309.8 kB / 432.6 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.6126, allocations: 19.94 kB / 432.6 MB, free: 4.938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.729e-05/0.6127, allocations: 27.81 kB / 432.6 MB, free: 4.918 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007383/0.6135, allocations: 301.1 kB / 432.9 MB, free: 4.711 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.6135, allocations: 0 / 432.9 MB, free: 4.711 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.926e-05/0.6136, allocations: 10.86 kB / 432.9 MB, free: 4.707 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.6136, allocations: 8 kB / 432.9 MB, free: 4.699 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005916/0.6142, allocations: 208.9 kB / 433.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003582/0.6178, allocations: 1.319 MB / 434.5 MB, free: 3.438 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.6183, allocations: 240.9 kB / 434.7 MB, free: 3.238 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.6187, allocations: 104.3 kB / 434.8 MB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.6187, allocations: 0 / 434.8 MB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003721/0.6191, allocations: 153 kB / 434.9 MB, free: 3.027 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.024e-06/0.6191, allocations: 0 / 434.9 MB, free: 3.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001063/0.6202, allocations: 251.4 kB / 435.2 MB, free: 2.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/0.6203, allocations: 102.8 kB / 435.3 MB, free: 2.695 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/0.6207, allocations: 261 kB / 435.5 MB, free: 2.484 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/0.6208, allocations: 37 kB / 435.6 MB, free: 2.445 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.621, allocations: 202.9 kB / 435.8 MB, free: 2.277 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/0.6211, allocations: 61.48 kB / 435.8 MB, free: 2.227 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.6211, allocations: 7.062 kB / 435.8 MB, free: 2.223 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.6213, allocations: 336.6 kB / 436.2 MB, free: 1.895 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.6215, allocations: 73.72 kB / 436.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.6218, allocations: 170.2 kB / 436.4 MB, free: 1.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.6221, allocations: 114.1 kB / 436.5 MB, free: 1.594 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.6221, allocations: 4 kB / 436.5 MB, free: 1.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00124/0.6234, allocations: 379 kB / 436.9 MB, free: 1.277 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.517e-05/0.6234, allocations: 33.7 kB / 436.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.6235, allocations: 4 kB / 436.9 MB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002061/0.6237, allocations: 35.53 kB / 437 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/0.6243, allocations: 78.89 kB / 437 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.6272, allocations: 1.578 MB / 438.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007019/0.6279, allocations: 66.38 kB / 438.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/0.628, allocations: 15.98 kB / 438.7 MB, free: 15.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001495/0.6282, allocations: 118 kB / 438.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.887e-05/0.6282, allocations: 31.61 kB / 438.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.409e-05/0.6283, allocations: 32.23 kB / 438.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.6284, allocations: 8 kB / 438.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.6284, allocations: 0 / 438.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6284, allocations: 0 / 438.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.6301, allocations: 0.6984 MB / 439.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.6301, allocations: 0 / 439.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004463/0.6305, allocations: 55.83 kB / 439.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/0.6307, allocations: 39.19 kB / 439.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.6307, allocations: 3.5 kB / 439.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/0.6324, allocations: 1.361 MB / 441 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.6325, allocations: 3.938 kB / 441 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.6337, allocations: 447.7 kB / 441.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.6338, allocations: 107 kB / 441.6 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.539e-05/0.6339, allocations: 4 kB / 441.6 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005559/0.6345, allocations: 39.47 kB / 441.6 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.6346, allocations: 31.41 kB / 441.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.6347, allocations: 6.562 kB / 441.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003216/0.635, allocations: 203.6 kB / 441.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.635, allocations: 3.938 kB / 441.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000634/0.6356, allocations: 90.88 kB / 442 MB, free: 12.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001663/0.6373, allocations: 1.053 MB / 443 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.6388, allocations: 417.7 kB / 443.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6388, allocations: 0 / 443.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.6392, allocations: 195.3 kB / 443.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000537/0.6397, allocations: 48.17 kB / 443.7 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.643, allocations: 0.624 MB / 444.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.6435, allocations: 0.7719 MB / 445.1 MB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002428/0.6438, allocations: 34.95 kB / 445.1 MB, free: 9.262 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.644, allocations: 97.16 kB / 445.2 MB, free: 9.227 MB / 362.7 MB Notification: Performance of SimCode: time 1.413e-06/0.644, allocations: 0 / 445.2 MB, free: 9.227 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04067/0.6847, allocations: 6.262 MB / 451.4 MB, free: 3.078 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003275/0.6851, allocations: 190.8 kB / 451.6 MB, free: 2.848 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/3.23, allocations: 4 kB / 451.6 MB, free: 2.844 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat does not exist to compare? outputFormat=mat