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.917/1.917, allocations: 194.9 MB / 208.4 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.39e-05, allocations: 8 kB / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09156/0.09161, allocations: 44.52 MB / 299.9 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3977/0.4894, allocations: 74.3 MB / 374.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/0.4897, allocations: 76.89 kB / 374.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02327/0.513, allocations: 5.102 MB / 379.4 MB, free: 12.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5131, allocations: 1.312 kB / 379.4 MB, free: 12.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.5131, allocations: 4.75 kB / 379.4 MB, free: 12.28 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.001127/0.5142, allocations: 0.5404 MB / 380 MB, free: 11.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.5143, allocations: 9.25 kB / 380 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.486e-05/0.5144, allocations: 57.47 kB / 380 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.136e-05/0.5145, allocations: 26.59 kB / 380.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.5148, allocations: 261.8 kB / 380.3 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.5149, allocations: 18.94 kB / 380.3 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.067e-05/0.515, allocations: 24.5 kB / 380.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.5155, allocations: 190.5 kB / 380.5 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.5155, allocations: 0 / 380.5 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.5156, allocations: 9.094 kB / 380.6 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.5156, allocations: 4.938 kB / 380.6 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004177/0.516, allocations: 141.8 kB / 380.7 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/0.5181, allocations: 0.8911 MB / 381.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004346/0.5186, allocations: 133.7 kB / 381.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.5188, allocations: 58.97 kB / 381.8 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.5188, allocations: 1.406 kB / 381.8 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003308/0.5192, allocations: 132.9 kB / 381.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.144e-06/0.5192, allocations: 0 / 381.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001026/0.5202, allocations: 215.2 kB / 382.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.5203, allocations: 110 kB / 382.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/0.5207, allocations: 234.3 kB / 382.5 MB, free: 10.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.5207, allocations: 30.27 kB / 382.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.5208, allocations: 226.3 kB / 382.7 MB, free: 10.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.5209, allocations: 40.36 kB / 382.7 MB, free: 10.4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/0.5209, allocations: 9.188 kB / 382.8 MB, free: 10.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.085e-05/0.521, allocations: 320.4 kB / 383.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.5212, allocations: 52.3 kB / 383.1 MB, free: 10.08 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.5214, allocations: 128.8 kB / 383.2 MB, free: 9.992 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.5216, allocations: 94.56 kB / 383.3 MB, free: 9.949 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.5216, allocations: 1.406 kB / 383.3 MB, free: 9.949 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001085/0.5227, allocations: 323.9 kB / 383.7 MB, free: 9.844 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.5228, allocations: 31.27 kB / 383.7 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.5228, allocations: 3.75 kB / 383.7 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008035/0.5236, allocations: 95.97 kB / 383.8 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/0.524, allocations: 49.86 kB / 383.8 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.5261, allocations: 1.588 MB / 385.4 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005649/0.5267, allocations: 48.72 kB / 385.5 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.5267, allocations: 13.05 kB / 385.5 MB, free: 8.43 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.0001102/0.5268, allocations: 123.1 kB / 385.6 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.083e-05/0.5269, allocations: 22.19 kB / 385.6 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.367e-05/0.527, allocations: 24.97 kB / 385.6 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.527, allocations: 3.016 kB / 385.7 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.527, allocations: 1.375 kB / 385.7 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5271, allocations: 0 / 385.7 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/0.5274, allocations: 287.5 kB / 385.9 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5274, allocations: 0 / 385.9 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.5277, allocations: 37.22 kB / 386 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006784/0.5284, allocations: 91.95 kB / 386.1 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.5284, allocations: 1.375 kB / 386.1 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/0.5303, allocations: 1.574 MB / 387.6 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5303, allocations: 0 / 387.6 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009662/0.5313, allocations: 247 kB / 387.9 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.171e-05/0.5314, allocations: 103.5 kB / 388 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.525e-05/0.5314, allocations: 8.359 kB / 388 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.5319, allocations: 32.5 kB / 388 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.532, allocations: 24.67 kB / 388 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.532, allocations: 5.531 kB / 388 MB, free: 6.523 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002487/0.5323, allocations: 184.5 kB / 388.2 MB, free: 6.438 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5323, allocations: 0 / 388.2 MB, free: 6.438 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005573/0.5329, allocations: 79.81 kB / 388.3 MB, free: 6.422 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.001457/0.5343, allocations: 0.7995 MB / 389.1 MB, free: 21.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007724/0.5351, allocations: 312.5 kB / 389.4 MB, free: 21.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5351, allocations: 0 / 389.4 MB, free: 21.61 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003625/0.5355, allocations: 184.6 kB / 389.6 MB, free: 21.49 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.5359, allocations: 31.19 kB / 389.6 MB, free: 21.49 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.539, allocations: 0.5263 MB / 390.1 MB, free: 21.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.5394, allocations: 0.7528 MB / 390.9 MB, free: 20.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.5396, allocations: 75.44 kB / 391 MB, free: 20.56 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5396, allocations: 0 / 391 MB, free: 20.56 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.542/3.081, allocations: 4.842 MB / 395.8 MB, free: 20.28 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