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 1.84/1.84, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.379e-05, allocations: 4 kB / 255.4 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0932/0.09326, allocations: 44.51 MB / 299.9 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.406/0.4993, allocations: 74.45 MB / 374.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004165/0.4998, allocations: 77 kB / 374.5 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03464/0.5345, allocations: 4.904 MB / 379.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.706e-06/0.5345, allocations: 0 / 379.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.796e-05/0.5346, allocations: 7.797 kB / 379.4 MB, free: 12.16 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.001579/0.5362, allocations: 0.5304 MB / 379.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.305e-05/0.5363, allocations: 10 kB / 379.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.5364, allocations: 54.91 kB / 380 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.5365, allocations: 28.59 kB / 380 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.5371, allocations: 252.9 kB / 380.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.5371, allocations: 14.5 kB / 380.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.71e-05/0.5373, allocations: 21.73 kB / 380.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007082/0.538, allocations: 174.7 kB / 380.5 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.538, allocations: 0 / 380.5 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/0.5381, allocations: 14.22 kB / 380.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.5381, allocations: 4.562 kB / 380.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006139/0.5388, allocations: 136 kB / 380.6 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003076/0.5419, allocations: 0.8474 MB / 381.4 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006948/0.5426, allocations: 130.8 kB / 381.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.5429, allocations: 57.09 kB / 381.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.16e-05/0.5429, allocations: 4.047 kB / 381.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004023/0.5434, allocations: 126.9 kB / 381.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 3.998e-06/0.5434, allocations: 0 / 381.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.001314/0.5447, allocations: 191.1 kB / 381.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.5448, allocations: 88.92 kB / 382 MB, free: 10.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004555/0.5453, allocations: 204.9 kB / 382.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.5453, allocations: 27.05 kB / 382.3 MB, free: 10.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.5455, allocations: 224.7 kB / 382.5 MB, free: 10.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.764e-05/0.5456, allocations: 35.11 kB / 382.5 MB, free: 10.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.5456, allocations: 5 kB / 382.5 MB, free: 10.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.466e-05/0.5457, allocations: 320.3 kB / 382.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.546, allocations: 45.38 kB / 382.9 MB, free: 10.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.5463, allocations: 106.4 kB / 383 MB, free: 9.945 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.5466, allocations: 81.73 kB / 383.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.5466, allocations: 5.203 kB / 383.1 MB, free: 9.906 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001485/0.5481, allocations: 278.8 kB / 383.3 MB, free: 9.812 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.36e-05/0.5482, allocations: 35 kB / 383.4 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.5482, allocations: 1.438 kB / 383.4 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009972/0.5492, allocations: 76.84 kB / 383.4 MB, free: 9.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006091/0.5499, allocations: 51.95 kB / 383.5 MB, free: 9.766 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.552, allocations: 1.329 MB / 384.8 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007525/0.5528, allocations: 45.48 kB / 384.9 MB, free: 8.492 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/0.5529, allocations: 5.688 kB / 384.9 MB, free: 8.492 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.0001513/0.553, allocations: 131.2 kB / 385 MB, free: 8.375 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.5531, allocations: 16.88 kB / 385 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.626e-05/0.5533, allocations: 20.14 kB / 385 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.5533, allocations: 5.188 kB / 385 MB, free: 8.355 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.5533, allocations: 3 kB / 385 MB, free: 8.355 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.5533, allocations: 0 / 385 MB, free: 8.355 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004619/0.5538, allocations: 281.9 kB / 385.3 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.5538, allocations: 0 / 385.3 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005471/0.5544, allocations: 42.94 kB / 385.4 MB, free: 8.152 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008891/0.5553, allocations: 77.09 kB / 385.4 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.5554, allocations: 5.625 kB / 385.4 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/0.5574, allocations: 1.333 MB / 386.8 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.5574, allocations: 3.859 kB / 386.8 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.5591, allocations: 280.4 kB / 387.1 MB, free: 6.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.5592, allocations: 99.3 kB / 387.2 MB, free: 6.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.801e-05/0.5593, allocations: 6.375 kB / 387.2 MB, free: 6.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005645/0.5599, allocations: 30.3 kB / 387.2 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.5601, allocations: 22.34 kB / 387.2 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.5601, allocations: 1.969 kB / 387.2 MB, free: 6.656 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003095/0.5605, allocations: 167.7 kB / 387.4 MB, free: 6.574 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.5605, allocations: 0 / 387.4 MB, free: 6.574 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000731/0.5612, allocations: 64.11 kB / 387.4 MB, free: 6.566 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.00215/0.5634, allocations: 0.8185 MB / 388.3 MB, free: 21.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008646/0.5643, allocations: 292.9 kB / 388.5 MB, free: 21.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.5643, allocations: 1.375 kB / 388.5 MB, free: 21.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003861/0.5647, allocations: 157.9 kB / 388.7 MB, free: 21.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005701/0.5653, allocations: 37.5 kB / 388.7 MB, free: 21.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.567, allocations: 393.1 kB / 389.1 MB, free: 21.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.5675, allocations: 0.751 MB / 389.9 MB, free: 20.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.5677, allocations: 63.62 kB / 389.9 MB, free: 20.7 MB / 330.7 MB Notification: Performance of SimCode: time 1.563e-06/0.5678, allocations: 0 / 389.9 MB, free: 20.7 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.645/3.212, allocations: 4.619 MB / 394.6 MB, free: 20.42 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