Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.861/1.861, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.815e-05/3.825e-05, allocations: 4 kB / 255.5 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1063, allocations: 44.5 MB / 300 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3911/0.4975, allocations: 74.3 MB / 374.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.4979, allocations: 77.52 kB / 374.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02314/0.521, allocations: 5.078 MB / 379.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5211, allocations: 0 / 379.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.5211, allocations: 4.562 kB / 379.4 MB, free: 12.12 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001169/0.5223, allocations: 0.5395 MB / 380 MB, free: 11.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.5223, allocations: 8.812 kB / 380 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.465e-05/0.5224, allocations: 52.36 kB / 380 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.036e-05/0.5225, allocations: 30.36 kB / 380 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.5229, allocations: 266.9 kB / 380.3 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.5229, allocations: 11.91 kB / 380.3 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.186e-05/0.523, allocations: 19.5 kB / 380.3 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000504/0.5235, allocations: 188.8 kB / 380.5 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5235, allocations: 3.938 kB / 380.5 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.127e-05/0.5236, allocations: 9.547 kB / 380.5 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.5236, allocations: 4.281 kB / 380.5 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004225/0.524, allocations: 141.1 kB / 380.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002129/0.5262, allocations: 0.8566 MB / 381.5 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.5273, allocations: 246.8 kB / 381.8 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.5274, allocations: 44.3 kB / 381.8 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.5275, allocations: 1.25 kB / 381.8 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.5277, allocations: 121.2 kB / 381.9 MB, free: 10.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 2.013e-06/0.5278, allocations: 0 / 381.9 MB, free: 10.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009216/0.5287, allocations: 181.7 kB / 382.1 MB, free: 10.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.5287, allocations: 106.8 kB / 382.2 MB, free: 10.53 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.5291, allocations: 236.6 kB / 382.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.5292, allocations: 32.39 kB / 382.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.5293, allocations: 241.9 kB / 382.7 MB, free: 10.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.5293, allocations: 30.3 kB / 382.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.5294, allocations: 5.125 kB / 382.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.882e-05/0.5294, allocations: 324.2 kB / 383.1 MB, free: 9.863 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.5296, allocations: 50.39 kB / 383.1 MB, free: 9.859 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.5298, allocations: 139.6 kB / 383.3 MB, free: 9.738 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.53, allocations: 87.52 kB / 383.3 MB, free: 9.699 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.53, allocations: 1.188 kB / 383.3 MB, free: 9.699 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001061/0.5311, allocations: 294.6 kB / 383.6 MB, free: 9.602 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.5311, allocations: 38.97 kB / 383.7 MB, free: 9.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.5312, allocations: 2.438 kB / 383.7 MB, free: 9.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006627/0.5318, allocations: 83.27 kB / 383.8 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/0.5323, allocations: 54.89 kB / 383.8 MB, free: 9.551 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.5338, allocations: 1.347 MB / 385.2 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006213/0.5344, allocations: 54.92 kB / 385.2 MB, free: 8.258 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.5345, allocations: 11.03 kB / 385.2 MB, free: 8.258 MB / 314.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 (23): * Single equations (assignments): 21 * 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.000105/0.5346, allocations: 120.1 kB / 385.3 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.5347, allocations: 18.47 kB / 385.4 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.851e-05/0.5347, allocations: 27.8 kB / 385.4 MB, free: 8.125 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5348, allocations: 5.75 kB / 385.4 MB, free: 8.121 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.5348, allocations: 0 / 385.4 MB, free: 8.121 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5348, allocations: 2.344 kB / 385.4 MB, free: 8.121 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.536, allocations: 0.537 MB / 385.9 MB, free: 7.801 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.536, allocations: 0 / 385.9 MB, free: 7.801 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.5363, allocations: 30.66 kB / 386 MB, free: 7.801 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006055/0.5369, allocations: 75.2 kB / 386 MB, free: 7.789 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.5369, allocations: 6.453 kB / 386 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/0.5383, allocations: 1.331 MB / 387.4 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5383, allocations: 1.719 kB / 387.4 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008609/0.5392, allocations: 279.2 kB / 387.6 MB, free: 6.363 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.244e-05/0.5393, allocations: 103.8 kB / 387.7 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.516e-05/0.5394, allocations: 3.234 kB / 387.7 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.5398, allocations: 35.78 kB / 387.8 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.382e-05/0.5399, allocations: 16.91 kB / 387.8 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.5399, allocations: 2.781 kB / 387.8 MB, free: 6.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004756/0.5404, allocations: 191 kB / 388 MB, free: 22.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5404, allocations: 0 / 388 MB, free: 22.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005596/0.541, allocations: 62.28 kB / 388 MB, free: 22.16 MB / 330.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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001252/0.5423, allocations: 0.8329 MB / 388.9 MB, free: 21.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006151/0.5429, allocations: 292.9 kB / 389.2 MB, free: 21.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5429, allocations: 0 / 389.2 MB, free: 21.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.5432, allocations: 147.7 kB / 389.3 MB, free: 21.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.5436, allocations: 36.75 kB / 389.3 MB, free: 21.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.5447, allocations: 325.1 kB / 389.7 MB, free: 20.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.545, allocations: 0.748 MB / 390.4 MB, free: 20.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.5452, allocations: 75.03 kB / 390.5 MB, free: 20.26 MB / 330.7 MB Notification: Performance of SimCode: time 7.92e-07/0.5452, allocations: 0 / 390.5 MB, free: 20.26 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.759/3.304, allocations: 4.797 MB / 395.3 MB, free: 19.96 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.VoltageFollower_res.mat does not exist to compare? outputFormat=mat