Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.948/1.948, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.815e-05/3.827e-05, allocations: 8 kB / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09397/0.09405, allocations: 44.51 MB / 299.9 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4124/0.5066, allocations: 74.31 MB / 374.3 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/0.5069, allocations: 78.14 kB / 374.3 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02492/0.5319, allocations: 5.099 MB / 379.4 MB, free: 12.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5319, allocations: 0 / 379.4 MB, free: 12.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.209e-05/0.532, allocations: 5.188 kB / 379.4 MB, free: 12.2 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.001269/0.5332, allocations: 0.5429 MB / 380 MB, free: 11.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.5333, allocations: 9.656 kB / 380 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.682e-05/0.5334, allocations: 50.61 kB / 380 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.5336, allocations: 28.12 kB / 380.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.534, allocations: 261.9 kB / 380.3 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.534, allocations: 19.59 kB / 380.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.809e-05/0.5341, allocations: 26.78 kB / 380.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005459/0.5347, allocations: 187.6 kB / 380.6 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.5347, allocations: 3.938 kB / 380.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.5348, allocations: 10.25 kB / 380.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.5348, allocations: 5.219 kB / 380.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004586/0.5352, allocations: 139.4 kB / 380.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.5377, allocations: 0.8899 MB / 381.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004443/0.5382, allocations: 135.2 kB / 381.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.5384, allocations: 58.78 kB / 381.8 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.5384, allocations: 1.125 kB / 381.8 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003362/0.5388, allocations: 127.2 kB / 381.9 MB, free: 10.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.927e-06/0.5388, allocations: 0 / 381.9 MB, free: 10.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001111/0.5399, allocations: 223 kB / 382.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.54, allocations: 105.5 kB / 382.2 MB, free: 10.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003877/0.5404, allocations: 230.4 kB / 382.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.792e-05/0.5405, allocations: 32.45 kB / 382.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.5406, allocations: 225.4 kB / 382.7 MB, free: 10.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.962e-05/0.5407, allocations: 42.55 kB / 382.8 MB, free: 10.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/0.5407, allocations: 4.562 kB / 382.8 MB, free: 10.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.5408, allocations: 324.3 kB / 383.1 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.541, allocations: 54.64 kB / 383.1 MB, free: 10 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.5412, allocations: 112.1 kB / 383.2 MB, free: 9.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.5414, allocations: 87.56 kB / 383.3 MB, free: 9.891 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5414, allocations: 0 / 383.3 MB, free: 9.891 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001133/0.5425, allocations: 308.8 kB / 383.6 MB, free: 9.793 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.972e-05/0.5426, allocations: 37.69 kB / 383.7 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.5427, allocations: 2.25 kB / 383.7 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008145/0.5435, allocations: 97.33 kB / 383.8 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.5439, allocations: 46.88 kB / 383.8 MB, free: 9.738 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.5462, allocations: 1.581 MB / 385.4 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005807/0.5468, allocations: 48.88 kB / 385.4 MB, free: 8.375 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.947e-05/0.5469, allocations: 9.625 kB / 385.4 MB, free: 8.375 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 (18): * Single equations (assignments): 16 * 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.0001275/0.5471, allocations: 127.2 kB / 385.6 MB, free: 8.258 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.5471, allocations: 21.59 kB / 385.6 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.921e-05/0.5472, allocations: 25.41 kB / 385.6 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.5472, allocations: 5.094 kB / 385.6 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5472, allocations: 1.5 kB / 385.6 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5473, allocations: 0 / 385.6 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.5476, allocations: 288.5 kB / 385.9 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5477, allocations: 0 / 385.9 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.5479, allocations: 27.47 kB / 385.9 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007274/0.5487, allocations: 95.94 kB / 386 MB, free: 8.027 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.5487, allocations: 5.281 kB / 386 MB, free: 8.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.5506, allocations: 1.472 MB / 387.5 MB, free: 6.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5506, allocations: 1.375 kB / 387.5 MB, free: 6.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.5517, allocations: 249.3 kB / 387.7 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.5519, allocations: 99.59 kB / 387.8 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.005e-05/0.5519, allocations: 7.5 kB / 387.8 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.5524, allocations: 35.89 kB / 387.9 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.5525, allocations: 25.33 kB / 387.9 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.5525, allocations: 4 kB / 387.9 MB, free: 6.539 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002726/0.5528, allocations: 180.2 kB / 388.1 MB, free: 6.461 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5528, allocations: 0 / 388.1 MB, free: 6.461 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005584/0.5534, allocations: 75.38 kB / 388.2 MB, free: 6.449 MB / 314.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.00158/0.555, allocations: 0.7929 MB / 389 MB, free: 21.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007938/0.5558, allocations: 315.1 kB / 389.3 MB, free: 21.63 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.5559, allocations: 0 / 389.3 MB, free: 21.63 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003317/0.5562, allocations: 180.3 kB / 389.4 MB, free: 21.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.5567, allocations: 45.41 kB / 389.5 MB, free: 21.51 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.5578, allocations: 328.1 kB / 389.8 MB, free: 21.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.5582, allocations: 0.7486 MB / 390.5 MB, free: 20.61 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.5584, allocations: 72.36 kB / 390.6 MB, free: 20.6 MB / 330.7 MB Notification: Performance of SimCode: time 2.425e-06/0.5585, allocations: 1.25 kB / 390.6 MB, free: 20.6 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.485/3.044, allocations: 4.864 MB / 395.5 MB, free: 20.32 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.InvertingAmp_res.mat does not exist to compare? outputFormat=mat