Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.046/2.046, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.328e-05/4.344e-05, allocations: 6.812 kB / 292.3 MB, free: 8.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 50.41 MB / 342.7 MB, free: 5.77 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4572/0.5679, allocations: 81.32 MB / 424 MB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/0.5682, allocations: 82.02 kB / 424.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02885/0.5971, allocations: 6.402 MB / 430.5 MB, free: 6.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5972, allocations: 0 / 430.5 MB, free: 6.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.537e-05/0.5972, allocations: 4 kB / 430.5 MB, free: 6.961 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.001622/0.5988, allocations: 0.5908 MB / 431.1 MB, free: 6.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.511e-05/0.5989, allocations: 16.02 kB / 431.1 MB, free: 6.324 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001309/0.5991, allocations: 57.73 kB / 431.1 MB, free: 6.273 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.5992, allocations: 35.62 kB / 431.2 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006768/0.5999, allocations: 291.2 kB / 431.5 MB, free: 5.949 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.083e-05/0.6, allocations: 19.19 kB / 431.5 MB, free: 5.938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.821e-05/0.6001, allocations: 26.56 kB / 431.5 MB, free: 5.922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009463/0.601, allocations: 268.8 kB / 431.8 MB, free: 5.734 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.6011, allocations: 0 / 431.8 MB, free: 5.734 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.776e-05/0.6012, allocations: 14.61 kB / 431.8 MB, free: 5.727 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.6012, allocations: 4 kB / 431.8 MB, free: 5.723 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007482/0.602, allocations: 195.6 kB / 432 MB, free: 5.609 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00385/0.6058, allocations: 1.179 MB / 433.2 MB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006153/0.6065, allocations: 145.2 kB / 433.3 MB, free: 4.477 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.6067, allocations: 66.91 kB / 433.4 MB, free: 4.434 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/0.6068, allocations: 4 kB / 433.4 MB, free: 4.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000433/0.6072, allocations: 133 kB / 433.5 MB, free: 4.305 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.156e-06/0.6073, allocations: 0 / 433.5 MB, free: 4.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.00141/0.6087, allocations: 247.9 kB / 433.7 MB, free: 4.094 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.748e-05/0.6088, allocations: 106.8 kB / 433.8 MB, free: 3.965 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005987/0.6094, allocations: 259.9 kB / 434.1 MB, free: 3.758 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/0.6095, allocations: 28.83 kB / 434.1 MB, free: 3.727 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.6097, allocations: 206.4 kB / 434.3 MB, free: 3.555 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.715e-05/0.6098, allocations: 41.58 kB / 434.4 MB, free: 3.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.6099, allocations: 6.562 kB / 434.4 MB, free: 3.516 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.6101, allocations: 331.7 kB / 434.7 MB, free: 3.191 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/0.6104, allocations: 64.92 kB / 434.8 MB, free: 3.152 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/0.6109, allocations: 159 kB / 434.9 MB, free: 2.984 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/0.6112, allocations: 102.1 kB / 435 MB, free: 2.902 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.577e-06/0.6113, allocations: 4 kB / 435 MB, free: 2.898 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001922/0.6132, allocations: 373.6 kB / 435.4 MB, free: 2.586 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.305e-05/0.6133, allocations: 37.27 kB / 435.4 MB, free: 2.547 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.6133, allocations: 7.984 kB / 435.4 MB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004263/0.6138, allocations: 59.14 kB / 435.5 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/0.6144, allocations: 51.91 kB / 435.5 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004418/0.6188, allocations: 1.736 MB / 437.3 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009131/0.6198, allocations: 63.66 kB / 437.3 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.6199, allocations: 11.19 kB / 437.3 MB, free: 0.6523 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (24): * Single equations (assignments): 22 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002019/0.6201, allocations: 127.8 kB / 437.5 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-05/0.6202, allocations: 23.72 kB / 437.5 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.713e-05/0.6203, allocations: 24.77 kB / 437.5 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-06/0.6203, allocations: 4.219 kB / 437.5 MB, free: 500 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.6203, allocations: 0 / 437.5 MB, free: 500 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.6204, allocations: 11.92 kB / 437.5 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006231/0.621, allocations: 324.5 kB / 437.9 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.621, allocations: 128 / 437.9 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.6214, allocations: 39.03 kB / 437.9 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003039/0.6217, allocations: 50.38 kB / 437.9 MB, free: 96 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.6218, allocations: 7.984 kB / 437.9 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003398/0.6252, allocations: 1.636 MB / 439.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.6252, allocations: 3.953 kB / 439.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.6267, allocations: 268.3 kB / 439.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.6269, allocations: 111.6 kB / 440 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.03e-05/0.627, allocations: 3.312 kB / 440 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006894/0.6277, allocations: 35.97 kB / 440 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.6279, allocations: 30.83 kB / 440 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.6279, allocations: 8 kB / 440 MB, free: 14.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004894/0.6284, allocations: 196.4 kB / 440.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.52e-07/0.6284, allocations: 0 / 440.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001112/0.6296, allocations: 79.16 kB / 440.3 MB, free: 13.81 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001917/0.6315, allocations: 0.8109 MB / 441.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001894/0.6334, allocations: 419.8 kB / 441.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6334, allocations: 0 / 441.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00053/0.634, allocations: 182.5 kB / 441.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006061/0.6346, allocations: 43.72 kB / 441.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007389/0.642, allocations: 0.8655 MB / 442.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005826/0.6427, allocations: 0.7638 MB / 443.4 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000318/0.643, allocations: 34.09 kB / 443.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.6433, allocations: 85.78 kB / 443.5 MB, free: 10.74 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6433, allocations: 0 / 443.5 MB, free: 10.74 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04805/0.6914, allocations: 5.992 MB / 449.5 MB, free: 4.867 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002909/0.6917, allocations: 200.4 kB / 449.7 MB, free: 4.641 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/3.225, allocations: 0 / 449.7 MB, free: 4.641 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat does not exist to compare? outputFormat=mat