Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.037/2.037, allocations: 194.9 MB / 208.5 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.334e-05/3.356e-05, allocations: 4 kB / 255.5 MB, free: 3.074 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09439/0.09447, allocations: 44.5 MB / 300 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4205/0.515, allocations: 74.45 MB / 374.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003943/0.5155, allocations: 77.08 kB / 374.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03185/0.5474, allocations: 4.914 MB / 379.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.5475, allocations: 0 / 379.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.707e-05/0.5475, allocations: 4.062 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001655/0.5492, allocations: 0.523 MB / 379.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.779e-05/0.5493, allocations: 9.844 kB / 379.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001315/0.5494, allocations: 53.98 kB / 380 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.5496, allocations: 26 kB / 380 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000557/0.5502, allocations: 256.8 kB / 380.3 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.5502, allocations: 13.97 kB / 380.3 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.998e-05/0.5503, allocations: 17.09 kB / 380.3 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006958/0.551, allocations: 182.2 kB / 380.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.5511, allocations: 0 / 380.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-05/0.5511, allocations: 14.25 kB / 380.5 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.5512, allocations: 4.594 kB / 380.5 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/0.5518, allocations: 134.3 kB / 380.6 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/0.5546, allocations: 0.8501 MB / 381.5 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005312/0.5552, allocations: 129.8 kB / 381.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.5554, allocations: 52.19 kB / 381.7 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.5554, allocations: 2.438 kB / 381.7 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003484/0.5558, allocations: 118.3 kB / 381.8 MB, free: 10.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.846e-06/0.5558, allocations: 3.938 kB / 381.8 MB, free: 10.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.001096/0.5569, allocations: 206.6 kB / 382 MB, free: 10.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.557, allocations: 80.91 kB / 382.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.5574, allocations: 202.9 kB / 382.3 MB, free: 10.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/0.5574, allocations: 29.64 kB / 382.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.5576, allocations: 226.5 kB / 382.5 MB, free: 10.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.281e-05/0.5576, allocations: 39.08 kB / 382.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/0.5577, allocations: 1.312 kB / 382.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.576e-05/0.5577, allocations: 318.2 kB / 382.9 MB, free: 9.988 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.5579, allocations: 46.69 kB / 382.9 MB, free: 9.984 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.5581, allocations: 105.3 kB / 383 MB, free: 9.918 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.5583, allocations: 84.92 kB / 383.1 MB, free: 9.879 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.5583, allocations: 3.953 kB / 383.1 MB, free: 9.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001085/0.5594, allocations: 273.4 kB / 383.4 MB, free: 9.785 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.4e-05/0.5595, allocations: 34.56 kB / 383.4 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.5595, allocations: 1.281 kB / 383.4 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007428/0.5603, allocations: 79.67 kB / 383.5 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004368/0.5608, allocations: 50.42 kB / 383.5 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.5625, allocations: 1.328 MB / 384.9 MB, free: 8.477 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005566/0.5631, allocations: 42.77 kB / 384.9 MB, free: 8.469 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.5632, allocations: 6.156 kB / 384.9 MB, free: 8.469 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 18 * 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.0001262/0.5633, allocations: 127.8 kB / 385 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.5634, allocations: 19.02 kB / 385 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.855e-05/0.5634, allocations: 22.91 kB / 385.1 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.5635, allocations: 1.125 kB / 385.1 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5635, allocations: 0 / 385.1 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.5635, allocations: 6.359 kB / 385.1 MB, free: 8.332 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004019/0.5639, allocations: 282.2 kB / 385.3 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.5639, allocations: 3.984 kB / 385.4 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/0.5643, allocations: 43.8 kB / 385.4 MB, free: 8.125 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006508/0.565, allocations: 75 kB / 385.5 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.565, allocations: 5.875 kB / 385.5 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.5665, allocations: 1.324 MB / 386.8 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5666, allocations: 0 / 386.8 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.5678, allocations: 286.8 kB / 387.1 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.568, allocations: 96.3 kB / 387.2 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.433e-05/0.5681, allocations: 6.688 kB / 387.2 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.5685, allocations: 34.5 kB / 387.2 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.5686, allocations: 18.05 kB / 387.2 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.5687, allocations: 2.75 kB / 387.2 MB, free: 6.633 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002619/0.5689, allocations: 168.4 kB / 387.4 MB, free: 6.555 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.569, allocations: 0 / 387.4 MB, free: 6.555 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005415/0.5695, allocations: 59.91 kB / 387.5 MB, free: 6.547 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (11): * Single equations (assignments): 8 * 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.001783/0.5713, allocations: 0.824 MB / 388.3 MB, free: 21.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000738/0.5721, allocations: 286.2 kB / 388.6 MB, free: 21.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.5721, allocations: 0 / 388.6 MB, free: 21.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002815/0.5724, allocations: 158.9 kB / 388.7 MB, free: 21.65 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.5729, allocations: 30.83 kB / 388.7 MB, free: 21.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.5742, allocations: 390.3 kB / 389.1 MB, free: 21.4 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.5747, allocations: 0.7446 MB / 389.9 MB, free: 20.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.5749, allocations: 64.8 kB / 389.9 MB, free: 20.69 MB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/0.5749, allocations: 1.312 kB / 389.9 MB, free: 20.69 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.557/3.132, allocations: 4.602 MB / 394.5 MB, free: 20.41 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.Integrator_res.mat does not exist to compare? outputFormat=mat