Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.961/1.961, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.646e-05/3.659e-05, allocations: 4 kB / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09569/0.09576, allocations: 44.52 MB / 299.9 MB, free: 6.543 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4205/0.5163, allocations: 74.6 MB / 374.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.5167, allocations: 74.91 kB / 374.6 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02674/0.5435, allocations: 5.499 MB / 380.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5435, allocations: 1.062 kB / 380.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.352e-05/0.5436, allocations: 4.844 kB / 380.1 MB, free: 12.07 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001354/0.5449, allocations: 0.5631 MB / 380.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.545, allocations: 8.938 kB / 380.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.5451, allocations: 57.41 kB / 380.7 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.5452, allocations: 31.38 kB / 380.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/0.5457, allocations: 273.7 kB / 381 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.5458, allocations: 18.72 kB / 381.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.077e-05/0.5458, allocations: 25.72 kB / 381.1 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005909/0.5464, allocations: 204 kB / 381.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.5465, allocations: 0 / 381.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/0.5465, allocations: 12.47 kB / 381.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.5465, allocations: 5.562 kB / 381.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004737/0.547, allocations: 157.6 kB / 381.5 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002603/0.5496, allocations: 0.926 MB / 382.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000469/0.5502, allocations: 231.4 kB / 382.6 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.5504, allocations: 89.95 kB / 382.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.5505, allocations: 1.188 kB / 382.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003586/0.5509, allocations: 154 kB / 382.8 MB, free: 10.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.464e-06/0.5509, allocations: 0 / 382.8 MB, free: 10.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.001114/0.552, allocations: 224.8 kB / 383.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.5521, allocations: 105.9 kB / 383.2 MB, free: 10.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.5525, allocations: 232.4 kB / 383.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/0.5526, allocations: 31.02 kB / 383.4 MB, free: 10.33 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.5527, allocations: 237.6 kB / 383.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/0.5528, allocations: 55.05 kB / 383.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-05/0.5528, allocations: 4.875 kB / 383.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.415e-05/0.5529, allocations: 328 kB / 384 MB, free: 9.785 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.5531, allocations: 60.28 kB / 384.1 MB, free: 9.781 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.5533, allocations: 117 kB / 384.2 MB, free: 9.707 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.5535, allocations: 99.83 kB / 384.3 MB, free: 9.668 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5536, allocations: 0 / 384.3 MB, free: 9.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001104/0.5547, allocations: 309 kB / 384.6 MB, free: 9.578 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.079e-05/0.5548, allocations: 35.2 kB / 384.6 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.5548, allocations: 0.9375 kB / 384.6 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007121/0.5555, allocations: 77.53 kB / 384.7 MB, free: 9.535 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005451/0.5561, allocations: 68.81 kB / 384.8 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.5577, allocations: 1.338 MB / 386.1 MB, free: 8.258 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006425/0.5584, allocations: 51.83 kB / 386.2 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.5585, allocations: 12.61 kB / 386.2 MB, free: 8.242 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 (26): * Single equations (assignments): 24 * 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.0001317/0.5586, allocations: 121.5 kB / 386.3 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/0.5587, allocations: 27.47 kB / 386.3 MB, free: 8.117 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.626e-05/0.5588, allocations: 24.56 kB / 386.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.5588, allocations: 2.656 kB / 386.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5588, allocations: 5.641 kB / 386.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.5588, allocations: 0 / 386.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.5605, allocations: 0.6349 MB / 387 MB, free: 7.773 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5605, allocations: 7.969 kB / 387 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004363/0.5609, allocations: 55.55 kB / 387.1 MB, free: 7.762 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000623/0.5616, allocations: 78.88 kB / 387.1 MB, free: 7.746 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.5616, allocations: 1.375 kB / 387.1 MB, free: 7.746 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.5631, allocations: 1.328 MB / 388.5 MB, free: 6.477 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.5631, allocations: 8.281 kB / 388.5 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.5644, allocations: 411.9 kB / 388.9 MB, free: 6.289 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.5646, allocations: 105.2 kB / 389 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/0.5647, allocations: 5.188 kB / 389 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004651/0.5652, allocations: 31.61 kB / 389 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.5653, allocations: 30.17 kB / 389 MB, free: 6.172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.5653, allocations: 5.375 kB / 389.1 MB, free: 6.172 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000313/0.5657, allocations: 186.2 kB / 389.2 MB, free: 6.094 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5657, allocations: 1.25 kB / 389.2 MB, free: 6.094 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005704/0.5663, allocations: 71.81 kB / 389.3 MB, free: 6.086 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 13 * 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.00201/0.5683, allocations: 1.026 MB / 390.3 MB, free: 21.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007819/0.5691, allocations: 322.3 kB / 390.6 MB, free: 21.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5691, allocations: 0 / 390.6 MB, free: 21.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003194/0.5695, allocations: 185.7 kB / 390.8 MB, free: 21.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.57, allocations: 44.12 kB / 390.9 MB, free: 21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.5716, allocations: 447.6 kB / 391.3 MB, free: 20.74 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.572, allocations: 0.7631 MB / 392.1 MB, free: 20.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.5722, allocations: 79.41 kB / 392.1 MB, free: 20.02 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5723, allocations: 0 / 392.1 MB, free: 20.02 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.718/3.29, allocations: 5.375 MB / 397.5 MB, free: 19.7 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.LowPass_res.mat does not exist to compare? outputFormat=mat