Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Subtracter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.036/2.036, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.298e-05/5.31e-05, allocations: 8 kB / 292.8 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1211, allocations: 50.41 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4519/0.5731, allocations: 81.06 MB / 424.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000359/0.5735, allocations: 82.12 kB / 424.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03405/0.6076, allocations: 6.133 MB / 430.4 MB, free: 7.562 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.6077, allocations: 4 kB / 430.4 MB, free: 7.559 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.224e-05/0.6077, allocations: 4.188 kB / 430.4 MB, free: 7.555 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001443/0.6091, allocations: 0.6033 MB / 431.1 MB, free: 6.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.6092, allocations: 8.031 kB / 431.1 MB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.6094, allocations: 73.03 kB / 431.1 MB, free: 6.863 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.6095, allocations: 39.53 kB / 431.2 MB, free: 6.824 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006209/0.6102, allocations: 318 kB / 431.5 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.6102, allocations: 24.53 kB / 431.5 MB, free: 6.496 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-05/0.6103, allocations: 37.62 kB / 431.5 MB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009108/0.6112, allocations: 346.8 kB / 431.9 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.6113, allocations: 15.81 kB / 431.9 MB, free: 6.223 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.573e-05/0.6113, allocations: 15.75 kB / 431.9 MB, free: 6.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.6114, allocations: 8 kB / 431.9 MB, free: 6.211 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007007/0.6121, allocations: 248.4 kB / 432.2 MB, free: 6.059 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005663/0.6178, allocations: 1.473 MB / 433.6 MB, free: 4.789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.6191, allocations: 182.9 kB / 433.8 MB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.6195, allocations: 68.61 kB / 433.9 MB, free: 4.617 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.539e-05/0.6196, allocations: 4 kB / 433.9 MB, free: 4.613 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/0.6196, allocations: 37.94 kB / 433.9 MB, free: 4.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 5.39e-06/0.6197, allocations: 0 / 433.9 MB, free: 4.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001885/0.6215, allocations: 278.2 kB / 434.2 MB, free: 4.336 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.6217, allocations: 58.72 kB / 434.2 MB, free: 4.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.6228, allocations: 273.2 kB / 434.5 MB, free: 4.055 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.934e-05/0.623, allocations: 32.52 kB / 434.5 MB, free: 4.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.6233, allocations: 222.9 kB / 434.8 MB, free: 3.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.6234, allocations: 62.23 kB / 434.8 MB, free: 3.785 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.6235, allocations: 3.75 kB / 434.8 MB, free: 3.785 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.6237, allocations: 340.5 kB / 435.2 MB, free: 3.453 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.6241, allocations: 60.06 kB / 435.2 MB, free: 3.422 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003799/0.6245, allocations: 132.8 kB / 435.4 MB, free: 3.289 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/0.6252, allocations: 83.78 kB / 435.4 MB, free: 3.234 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.6252, allocations: 0 / 435.4 MB, free: 3.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002391/0.6277, allocations: 373.4 kB / 435.8 MB, free: 2.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.535e-05/0.6278, allocations: 4 kB / 435.8 MB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.6278, allocations: 4 kB / 435.8 MB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007381/0.6286, allocations: 84.67 kB / 435.9 MB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007491/0.6293, allocations: 47.91 kB / 435.9 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008718/0.6381, allocations: 3.094 MB / 439 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006913/0.6389, allocations: 47.2 kB / 439.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.639, allocations: 8 kB / 439.1 MB, free: 15.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002284/0.6392, allocations: 128.1 kB / 439.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.6394, allocations: 27.72 kB / 439.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.6395, allocations: 32.2 kB / 439.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.6396, allocations: 192 / 439.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.6396, allocations: 3.938 kB / 439.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.6396, allocations: 4.109 kB / 439.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.6416, allocations: 368.4 kB / 439.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.6416, allocations: 3.953 kB / 439.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.6419, allocations: 16 kB / 439.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005655/0.6425, allocations: 87.8 kB / 439.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.6426, allocations: 3.938 kB / 439.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007309/0.6499, allocations: 3.023 MB / 442.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.65, allocations: 3.984 kB / 442.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.6518, allocations: 384.2 kB / 443.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.6521, allocations: 108.7 kB / 443.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.26e-05/0.6522, allocations: 0 / 443.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006523/0.6529, allocations: 31.3 kB / 443.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.653, allocations: 18.91 kB / 443.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.6531, allocations: 4 kB / 443.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005198/0.6536, allocations: 211.8 kB / 443.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.6536, allocations: 0 / 443.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001204/0.6549, allocations: 104.6 kB / 443.6 MB, free: 11.21 MB / 362.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0022/0.6571, allocations: 0.9234 MB / 444.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002135/0.6593, allocations: 458.9 kB / 445 MB, free: 9.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/0.6594, allocations: 0.5625 kB / 445 MB, free: 9.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007505/0.6601, allocations: 311.3 kB / 445.3 MB, free: 9.621 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007502/0.6609, allocations: 41.75 kB / 445.3 MB, free: 9.594 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.6632, allocations: 427.6 kB / 445.7 MB, free: 9.188 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.6637, allocations: 0.7911 MB / 446.5 MB, free: 8.371 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002395/0.664, allocations: 26.97 kB / 446.6 MB, free: 8.348 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.6642, allocations: 101.8 kB / 446.7 MB, free: 8.32 MB / 362.7 MB Notification: Performance of SimCode: time 1.233e-06/0.6642, allocations: 0 / 446.7 MB, free: 8.32 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04256/0.7068, allocations: 6.32 MB / 453 MB, free: 2.121 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002739/0.7071, allocations: 189.4 kB / 453.2 MB, free: 1.895 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/3.292, allocations: 4.062 kB / 453.2 MB, free: 1.891 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat does not exist to compare? outputFormat=mat