Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.159/2.159, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.819e-05/4.826e-05, allocations: 5.562 kB / 292.8 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 50.41 MB / 343.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4385/0.5505, allocations: 81.33 MB / 424.5 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.5508, allocations: 81.45 kB / 424.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03049/0.5814, allocations: 6.395 MB / 431 MB, free: 7.031 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5814, allocations: 0 / 431 MB, free: 7.031 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.006e-05/0.5815, allocations: 8 kB / 431 MB, free: 7.023 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001661/0.5831, allocations: 0.591 MB / 431.6 MB, free: 6.398 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.5832, allocations: 8.031 kB / 431.6 MB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001278/0.5833, allocations: 65.34 kB / 431.7 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.5835, allocations: 35.62 kB / 431.7 MB, free: 6.301 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005534/0.5841, allocations: 294.1 kB / 432 MB, free: 6.008 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.5841, allocations: 16.38 kB / 432 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-05/0.5842, allocations: 23.62 kB / 432 MB, free: 5.984 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007072/0.5849, allocations: 273.8 kB / 432.3 MB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.5849, allocations: 3.938 kB / 432.3 MB, free: 5.789 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.687e-05/0.585, allocations: 14.48 kB / 432.3 MB, free: 5.785 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.585, allocations: 8 kB / 432.3 MB, free: 5.777 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005383/0.5856, allocations: 191 kB / 432.5 MB, free: 5.664 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003185/0.5888, allocations: 1.191 MB / 433.7 MB, free: 4.621 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004903/0.5893, allocations: 149.4 kB / 433.8 MB, free: 4.516 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.5895, allocations: 61.23 kB / 433.9 MB, free: 4.477 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.5895, allocations: 4 kB / 433.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003962/0.5899, allocations: 138.4 kB / 434 MB, free: 4.344 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.307e-06/0.59, allocations: 0 / 434 MB, free: 4.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001094/0.5911, allocations: 243.5 kB / 434.3 MB, free: 4.137 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.5912, allocations: 114.3 kB / 434.4 MB, free: 4.004 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004545/0.5916, allocations: 246.5 kB / 434.6 MB, free: 3.809 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.5917, allocations: 25.7 kB / 434.6 MB, free: 3.777 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.5919, allocations: 205.8 kB / 434.8 MB, free: 3.605 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.041e-05/0.592, allocations: 42.19 kB / 434.9 MB, free: 3.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.592, allocations: 7.812 kB / 434.9 MB, free: 3.566 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.5921, allocations: 333.6 kB / 435.2 MB, free: 3.242 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.5923, allocations: 58.91 kB / 435.3 MB, free: 3.203 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.5926, allocations: 154.6 kB / 435.4 MB, free: 3.043 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.5929, allocations: 104.6 kB / 435.5 MB, free: 2.961 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.5929, allocations: 0 / 435.5 MB, free: 2.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001321/0.5942, allocations: 369.4 kB / 435.9 MB, free: 2.652 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.187e-05/0.5943, allocations: 33.7 kB / 435.9 MB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.5943, allocations: 4 kB / 435.9 MB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003204/0.5947, allocations: 56.89 kB / 436 MB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/0.5951, allocations: 50.72 kB / 436 MB, free: 2.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/0.5977, allocations: 1.657 MB / 437.7 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007007/0.5985, allocations: 62.56 kB / 437.7 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/0.5985, allocations: 14.98 kB / 437.8 MB, free: 0.793 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (23): * Single equations (assignments): 21 * 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.00016/0.5987, allocations: 130.2 kB / 437.9 MB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.227e-05/0.5988, allocations: 23.72 kB / 437.9 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.338e-05/0.5989, allocations: 27.52 kB / 437.9 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.5989, allocations: 4.219 kB / 437.9 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.5989, allocations: 4 kB / 437.9 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.5989, allocations: 3.938 kB / 438 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.5994, allocations: 326.8 kB / 438.3 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.5994, allocations: 4 kB / 438.3 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.5997, allocations: 23.98 kB / 438.3 MB, free: 288 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002403/0.5999, allocations: 55.58 kB / 438.4 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.6, allocations: 0 / 438.4 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/0.6022, allocations: 1.527 MB / 439.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.6022, allocations: 3.938 kB / 439.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.6033, allocations: 280.8 kB / 440.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.6035, allocations: 104.2 kB / 440.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.237e-05/0.6036, allocations: 6.75 kB / 440.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005143/0.6041, allocations: 39.92 kB / 440.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.6043, allocations: 22.16 kB / 440.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.6043, allocations: 7.984 kB / 440.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003191/0.6046, allocations: 195.8 kB / 440.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6046, allocations: 0 / 440.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006319/0.6053, allocations: 78.41 kB / 440.6 MB, free: 14.05 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: 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.001479/0.6068, allocations: 0.8109 MB / 441.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008643/0.6077, allocations: 334.5 kB / 441.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6077, allocations: 0 / 441.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.6081, allocations: 185.8 kB / 441.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.6087, allocations: 44.08 kB / 442 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.61, allocations: 346.2 kB / 442.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.6104, allocations: 0.7638 MB / 443.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000224/0.6106, allocations: 22.08 kB / 443.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.6108, allocations: 85.72 kB / 443.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.343e-06/0.6109, allocations: 0 / 443.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03581/0.6467, allocations: 6.036 MB / 449.2 MB, free: 5.676 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003644/0.6471, allocations: 186.7 kB / 449.4 MB, free: 5.457 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.704/3.352, allocations: 0 / 449.4 MB, free: 5.457 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat does not exist to compare? outputFormat=mat