Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.985/1.985, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.558e-05/3.57e-05, allocations: 4 kB / 255.5 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09236/0.09243, allocations: 44.5 MB / 300 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.411/0.5035, allocations: 74.31 MB / 374.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.5038, allocations: 78.19 kB / 374.4 MB, free: 12.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02538/0.5292, allocations: 5.097 MB / 379.5 MB, free: 11.81 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5292, allocations: 1.156 kB / 379.5 MB, free: 11.81 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.216e-05/0.5292, allocations: 3.688 kB / 379.5 MB, free: 11.81 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.001323/0.5306, allocations: 0.5397 MB / 380 MB, free: 11.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.5307, allocations: 10.88 kB / 380 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.5308, allocations: 52.22 kB / 380.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.5309, allocations: 31.3 kB / 380.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.5314, allocations: 266.5 kB / 380.3 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.5314, allocations: 14.75 kB / 380.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.397e-05/0.5315, allocations: 19.94 kB / 380.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005404/0.532, allocations: 189 kB / 380.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.5321, allocations: 3.938 kB / 380.6 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/0.5321, allocations: 8.5 kB / 380.6 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.5321, allocations: 5.438 kB / 380.6 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007009/0.5328, allocations: 139.1 kB / 380.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004701/0.5376, allocations: 0.8881 MB / 381.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006942/0.5384, allocations: 142.9 kB / 381.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.5386, allocations: 53.8 kB / 381.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.5387, allocations: 6.984 kB / 381.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004507/0.5392, allocations: 129 kB / 381.9 MB, free: 10.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 4.99e-06/0.5392, allocations: 0 / 381.9 MB, free: 10.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001908/0.5411, allocations: 214.7 kB / 382.1 MB, free: 10.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.383e-05/0.5413, allocations: 105.4 kB / 382.2 MB, free: 10.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006048/0.5419, allocations: 239.6 kB / 382.5 MB, free: 10.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.31e-05/0.542, allocations: 30.39 kB / 382.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.5422, allocations: 233.5 kB / 382.7 MB, free: 9.949 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.018e-05/0.5423, allocations: 43.33 kB / 382.8 MB, free: 9.922 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.5423, allocations: 4.406 kB / 382.8 MB, free: 9.922 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.028e-05/0.5424, allocations: 319.6 kB / 383.1 MB, free: 9.609 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.5427, allocations: 54.83 kB / 383.1 MB, free: 9.605 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.543, allocations: 128.5 kB / 383.3 MB, free: 9.516 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/0.5435, allocations: 94.23 kB / 383.4 MB, free: 9.477 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.5436, allocations: 5.531 kB / 383.4 MB, free: 9.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.002007/0.5456, allocations: 305 kB / 383.7 MB, free: 9.379 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.96e-05/0.5457, allocations: 41.97 kB / 383.7 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.5458, allocations: 2.625 kB / 383.7 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001519/0.5473, allocations: 96.72 kB / 383.8 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006369/0.548, allocations: 47.53 kB / 383.9 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004077/0.5521, allocations: 1.579 MB / 385.4 MB, free: 7.977 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008484/0.553, allocations: 52.92 kB / 385.5 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.664e-05/0.5531, allocations: 12.73 kB / 385.5 MB, free: 7.957 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001889/0.5534, allocations: 126.2 kB / 385.6 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.5535, allocations: 17.81 kB / 385.6 MB, free: 7.832 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.5536, allocations: 24.84 kB / 385.7 MB, free: 7.824 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.5536, allocations: 1.375 kB / 385.7 MB, free: 7.824 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5537, allocations: 1.375 kB / 385.7 MB, free: 7.824 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.5537, allocations: 1.547 kB / 385.7 MB, free: 7.824 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000841/0.5545, allocations: 290.6 kB / 386 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/0.5546, allocations: 1.594 kB / 386 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006795/0.5553, allocations: 34.27 kB / 386 MB, free: 7.625 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/0.5564, allocations: 91.94 kB / 386.1 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.665e-05/0.5565, allocations: 1.375 kB / 386.1 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00397/0.5605, allocations: 1.58 MB / 387.7 MB, free: 22.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5605, allocations: 0 / 387.7 MB, free: 22.26 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.5624, allocations: 244.6 kB / 387.9 MB, free: 22.17 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.5628, allocations: 100.4 kB / 388 MB, free: 22.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.563, allocations: 8.734 kB / 388 MB, free: 22.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006168/0.5636, allocations: 30.83 kB / 388 MB, free: 22.06 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.5638, allocations: 27.3 kB / 388.1 MB, free: 22.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.5638, allocations: 7.562 kB / 388.1 MB, free: 22.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004504/0.5643, allocations: 178.1 kB / 388.2 MB, free: 21.97 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.5643, allocations: 0 / 388.2 MB, free: 21.97 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001691/0.566, allocations: 76.25 kB / 388.3 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002494/0.5686, allocations: 0.788 MB / 389.1 MB, free: 21.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008532/0.5695, allocations: 316.7 kB / 389.4 MB, free: 21.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.5695, allocations: 1.375 kB / 389.4 MB, free: 21.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003642/0.5699, allocations: 179.4 kB / 389.6 MB, free: 21.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.5704, allocations: 33.88 kB / 389.6 MB, free: 21.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.5737, allocations: 0.5202 MB / 390.1 MB, free: 20.83 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.5741, allocations: 0.7482 MB / 390.9 MB, free: 20.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.5744, allocations: 73.7 kB / 391 MB, free: 20.12 MB / 330.7 MB Notification: Performance of SimCode: time 1.312e-06/0.5744, allocations: 3.938 kB / 391 MB, free: 20.12 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.655/3.229, allocations: 4.844 MB / 395.8 MB, free: 19.82 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.NonInvertingAmp_res.mat does not exist to compare? outputFormat=mat