Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.966/1.966, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.505e-05/3.5e-05, allocations: 4 kB / 255.5 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09397/0.09404, allocations: 44.5 MB / 300 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4155/0.5096, allocations: 74.6 MB / 374.6 MB, free: 12.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.51, allocations: 80.03 kB / 374.6 MB, free: 12.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02762/0.5376, allocations: 5.49 MB / 380.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.5377, allocations: 1.688 kB / 380.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.506e-05/0.5377, allocations: 4.844 kB / 380.1 MB, free: 11.86 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.001417/0.5392, allocations: 0.5627 MB / 380.7 MB, free: 11.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.5392, allocations: 10.41 kB / 380.7 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/0.5394, allocations: 58.59 kB / 380.8 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.5395, allocations: 35.33 kB / 380.8 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/0.54, allocations: 264.7 kB / 381.1 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.5401, allocations: 20.59 kB / 381.1 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.98e-05/0.5401, allocations: 24.45 kB / 381.1 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006189/0.5408, allocations: 197.9 kB / 381.3 MB, free: 11.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.5408, allocations: 9.406 kB / 381.3 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.128e-05/0.5409, allocations: 8.312 kB / 381.3 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.5409, allocations: 9.5 kB / 381.3 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004646/0.5413, allocations: 154.5 kB / 381.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/0.544, allocations: 0.9426 MB / 382.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.5444, allocations: 122.5 kB / 382.5 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.5446, allocations: 63.91 kB / 382.6 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/0.5447, allocations: 6.281 kB / 382.6 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003425/0.545, allocations: 134.7 kB / 382.7 MB, free: 10.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.965e-06/0.5451, allocations: 0 / 382.7 MB, free: 10.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.001161/0.5462, allocations: 238.1 kB / 383 MB, free: 10.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.5463, allocations: 111.4 kB / 383.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00042/0.5468, allocations: 225.8 kB / 383.3 MB, free: 10.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.253e-05/0.5469, allocations: 30.83 kB / 383.3 MB, free: 10.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.547, allocations: 236.2 kB / 383.6 MB, free: 9.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6e-05/0.5471, allocations: 45.72 kB / 383.6 MB, free: 9.953 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/0.5471, allocations: 3.5 kB / 383.6 MB, free: 9.953 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.466e-05/0.5472, allocations: 323 kB / 383.9 MB, free: 9.637 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.5474, allocations: 57.22 kB / 384 MB, free: 9.637 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.5476, allocations: 116.5 kB / 384.1 MB, free: 9.562 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.5478, allocations: 95.42 kB / 384.2 MB, free: 9.527 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5478, allocations: 0 / 384.2 MB, free: 9.527 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001218/0.5491, allocations: 316.1 kB / 384.5 MB, free: 9.434 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.35e-05/0.5492, allocations: 31.55 kB / 384.5 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.5492, allocations: 2.688 kB / 384.5 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008244/0.55, allocations: 100.7 kB / 384.6 MB, free: 9.387 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/0.5505, allocations: 48.03 kB / 384.7 MB, free: 9.383 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.5529, allocations: 1.596 MB / 386.3 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006255/0.5535, allocations: 52.77 kB / 386.3 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.5536, allocations: 10.12 kB / 386.3 MB, free: 8.008 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 (21): * Single equations (assignments): 19 * 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.0001307/0.5537, allocations: 125.1 kB / 386.5 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/0.5538, allocations: 22.72 kB / 386.5 MB, free: 7.879 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.214e-05/0.5539, allocations: 30.89 kB / 386.5 MB, free: 7.867 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.5539, allocations: 1.375 kB / 386.5 MB, free: 7.867 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5539, allocations: 4 kB / 386.5 MB, free: 7.863 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.554, allocations: 3.953 kB / 386.5 MB, free: 7.859 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.5544, allocations: 304.5 kB / 386.8 MB, free: 7.668 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.5544, allocations: 0 / 386.8 MB, free: 7.668 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.5548, allocations: 34.19 kB / 386.9 MB, free: 7.668 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007522/0.5555, allocations: 94.16 kB / 386.9 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/0.5556, allocations: 4.016 kB / 386.9 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00221/0.5578, allocations: 1.475 MB / 388.4 MB, free: 22.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.5579, allocations: 192 / 388.4 MB, free: 22.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.5592, allocations: 332.2 kB / 388.7 MB, free: 22.28 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.5594, allocations: 102.5 kB / 388.8 MB, free: 22.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.328e-05/0.5595, allocations: 15.44 kB / 388.9 MB, free: 22.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000444/0.56, allocations: 35.2 kB / 388.9 MB, free: 22.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.5601, allocations: 21.03 kB / 388.9 MB, free: 22.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.5602, allocations: 3.781 kB / 388.9 MB, free: 22.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003171/0.5605, allocations: 187.6 kB / 389.1 MB, free: 22.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5605, allocations: 0 / 389.1 MB, free: 22.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006417/0.5612, allocations: 77.97 kB / 389.2 MB, free: 22.07 MB / 330.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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001675/0.5629, allocations: 0.8741 MB / 390.1 MB, free: 21.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007488/0.5637, allocations: 312.2 kB / 390.4 MB, free: 21.26 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5637, allocations: 0 / 390.4 MB, free: 21.26 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003835/0.5641, allocations: 188 kB / 390.5 MB, free: 21.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.5646, allocations: 38.69 kB / 390.6 MB, free: 21.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.5661, allocations: 421.9 kB / 391 MB, free: 20.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.5665, allocations: 0.7597 MB / 391.8 MB, free: 20.19 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.5668, allocations: 77.31 kB / 391.8 MB, free: 20.18 MB / 330.7 MB Notification: Performance of SimCode: time 1.442e-06/0.5668, allocations: 0 / 391.8 MB, free: 20.18 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.734/3.301, allocations: 5.298 MB / 397.1 MB, free: 19.86 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.HighPass_res.mat does not exist to compare? outputFormat=mat