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.888/1.888, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.752e-05/2.765e-05, allocations: 4 kB / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09176/0.09181, allocations: 44.51 MB / 299.9 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4684/0.5602, allocations: 74.3 MB / 374.2 MB, free: 12.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.5606, allocations: 82.75 kB / 374.3 MB, free: 12.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02319/0.5838, allocations: 5.073 MB / 379.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5838, allocations: 0 / 379.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.5839, allocations: 4.469 kB / 379.4 MB, free: 11.93 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.001138/0.585, allocations: 0.5438 MB / 379.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.5851, allocations: 8.156 kB / 379.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.661e-05/0.5852, allocations: 52.22 kB / 380 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.549e-05/0.5853, allocations: 30.62 kB / 380 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.5856, allocations: 260.3 kB / 380.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.5857, allocations: 14.59 kB / 380.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.5857, allocations: 24 kB / 380.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005079/0.5863, allocations: 191.1 kB / 380.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.5863, allocations: 3.938 kB / 380.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.5863, allocations: 9.719 kB / 380.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.5864, allocations: 9.453 kB / 380.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004152/0.5868, allocations: 142.6 kB / 380.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.589, allocations: 0.8547 MB / 381.5 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.5901, allocations: 247.2 kB / 381.8 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.5902, allocations: 47.36 kB / 381.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.5903, allocations: 5.5 kB / 381.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002847/0.5906, allocations: 115.8 kB / 381.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 2.645e-06/0.5906, allocations: 4 kB / 381.9 MB, free: 10.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009342/0.5915, allocations: 181.3 kB / 382.1 MB, free: 10.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.5916, allocations: 108.9 kB / 382.2 MB, free: 10.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.592, allocations: 231.9 kB / 382.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.592, allocations: 30.89 kB / 382.5 MB, free: 10.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.5921, allocations: 238.6 kB / 382.7 MB, free: 10 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.5922, allocations: 33.95 kB / 382.7 MB, free: 9.984 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/0.5922, allocations: 4.094 kB / 382.7 MB, free: 9.984 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.37e-05/0.5923, allocations: 323.6 kB / 383.1 MB, free: 9.668 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.5925, allocations: 50.02 kB / 383.1 MB, free: 9.664 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.5927, allocations: 143.7 kB / 383.2 MB, free: 9.543 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.5929, allocations: 88.75 kB / 383.3 MB, free: 9.504 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.5929, allocations: 1.344 kB / 383.3 MB, free: 9.504 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001075/0.594, allocations: 305.8 kB / 383.6 MB, free: 9.402 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/0.594, allocations: 34.78 kB / 383.7 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.5941, allocations: 2.812 kB / 383.7 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006748/0.5948, allocations: 82.5 kB / 383.7 MB, free: 9.355 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.5952, allocations: 54.39 kB / 383.8 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/0.5968, allocations: 1.343 MB / 385.1 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005836/0.5974, allocations: 51.89 kB / 385.2 MB, free: 8.066 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.5974, allocations: 15.36 kB / 385.2 MB, free: 8.062 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.0001073/0.5976, allocations: 119.9 kB / 385.3 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.5976, allocations: 21.5 kB / 385.3 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.851e-05/0.5977, allocations: 25.44 kB / 385.4 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.5977, allocations: 1.438 kB / 385.4 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.5977, allocations: 0 / 385.4 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5977, allocations: 1.172 kB / 385.4 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.5989, allocations: 0.5343 MB / 385.9 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.599, allocations: 0 / 385.9 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.5992, allocations: 37.12 kB / 385.9 MB, free: 7.605 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000604/0.5999, allocations: 73.61 kB / 386 MB, free: 7.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.5999, allocations: 10.64 kB / 386 MB, free: 7.586 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/0.6015, allocations: 1.332 MB / 387.4 MB, free: 22.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6015, allocations: 0 / 387.4 MB, free: 22.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009167/0.6025, allocations: 287.7 kB / 387.6 MB, free: 22.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.6026, allocations: 104.2 kB / 387.7 MB, free: 22.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.6027, allocations: 3.375 kB / 387.7 MB, free: 22.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/0.6031, allocations: 33.55 kB / 387.8 MB, free: 22.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.6032, allocations: 18.11 kB / 387.8 MB, free: 22.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.6033, allocations: 3.375 kB / 387.8 MB, free: 22.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003127/0.6036, allocations: 186 kB / 388 MB, free: 21.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6036, allocations: 0 / 388 MB, free: 21.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005228/0.6041, allocations: 66.52 kB / 388 MB, free: 21.96 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.001214/0.6054, allocations: 0.8267 MB / 388.9 MB, free: 21.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006363/0.606, allocations: 297.6 kB / 389.2 MB, free: 21.08 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.606, allocations: 0.75 kB / 389.2 MB, free: 21.08 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.6063, allocations: 163.1 kB / 389.3 MB, free: 20.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.6067, allocations: 30.25 kB / 389.4 MB, free: 20.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.6078, allocations: 322 kB / 389.7 MB, free: 20.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.6081, allocations: 0.7484 MB / 390.4 MB, free: 20.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.6083, allocations: 66.86 kB / 390.5 MB, free: 20.06 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6083, allocations: 0 / 390.5 MB, free: 20.06 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.599/3.208, allocations: 4.819 MB / 395.3 MB, free: 19.75 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