Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.883/1.883, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.198e-05/4.206e-05, allocations: 4 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09544/0.09553, allocations: 44.51 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4273/0.5228, allocations: 74.31 MB / 374.3 MB, free: 21.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.5232, allocations: 77.78 kB / 374.4 MB, free: 21.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02349/0.5467, allocations: 5.107 MB / 379.5 MB, free: 21.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5467, allocations: 4 kB / 379.5 MB, free: 21.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.977e-05/0.5468, allocations: 4.406 kB / 379.5 MB, free: 21.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.001166/0.5479, allocations: 0.5358 MB / 380 MB, free: 20.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.548, allocations: 9.625 kB / 380 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.664e-05/0.5481, allocations: 58.58 kB / 380.1 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.729e-05/0.5482, allocations: 26.16 kB / 380.1 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.5486, allocations: 259.7 kB / 380.4 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.5486, allocations: 15.12 kB / 380.4 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.404e-05/0.5487, allocations: 24.66 kB / 380.4 MB, free: 20.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/0.5492, allocations: 187 kB / 380.6 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.5492, allocations: 7.875 kB / 380.6 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.5493, allocations: 9.906 kB / 380.6 MB, free: 20.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.5493, allocations: 4.281 kB / 380.6 MB, free: 20.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004117/0.5497, allocations: 144.1 kB / 380.7 MB, free: 20.51 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.5519, allocations: 0.8855 MB / 381.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/0.5524, allocations: 139.3 kB / 381.8 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.5525, allocations: 57.64 kB / 381.8 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.5526, allocations: 1.688 kB / 381.8 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002887/0.5529, allocations: 129 kB / 381.9 MB, free: 19.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/0.5529, allocations: 4 kB / 381.9 MB, free: 19.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009985/0.5539, allocations: 215.9 kB / 382.2 MB, free: 19.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.554, allocations: 110.5 kB / 382.3 MB, free: 19.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.5543, allocations: 227.6 kB / 382.5 MB, free: 19.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.5544, allocations: 32.08 kB / 382.5 MB, free: 19.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.5545, allocations: 168 kB / 382.7 MB, free: 19.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.5545, allocations: 42.55 kB / 382.7 MB, free: 19.47 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.772e-05/0.5546, allocations: 4.688 kB / 382.7 MB, free: 19.47 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.149e-05/0.5547, allocations: 330.1 kB / 383.1 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.5548, allocations: 51.84 kB / 383.1 MB, free: 19.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.555, allocations: 117.8 kB / 383.2 MB, free: 19.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.5552, allocations: 89.42 kB / 383.3 MB, free: 19.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5552, allocations: 0 / 383.3 MB, free: 19.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001142/0.5564, allocations: 318.2 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.5565, allocations: 34 kB / 383.7 MB, free: 18.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.5565, allocations: 2.375 kB / 383.7 MB, free: 18.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007661/0.5573, allocations: 98.06 kB / 383.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/0.5576, allocations: 44.75 kB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.5598, allocations: 1.593 MB / 385.4 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005716/0.5604, allocations: 44.39 kB / 385.4 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.5604, allocations: 12.81 kB / 385.4 MB, free: 17.51 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 (18): * Single equations (assignments): 16 * 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.0001188/0.5606, allocations: 128.6 kB / 385.6 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/0.5606, allocations: 21.34 kB / 385.6 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.344e-05/0.5607, allocations: 25.81 kB / 385.6 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.5607, allocations: 2.75 kB / 385.6 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5607, allocations: 0 / 385.6 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5608, allocations: 1.547 kB / 385.6 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.5611, allocations: 285.2 kB / 385.9 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.5611, allocations: 1.375 kB / 385.9 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.5614, allocations: 33.81 kB / 385.9 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006947/0.5621, allocations: 98.12 kB / 386 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.5621, allocations: 0 / 386 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.564, allocations: 1.476 MB / 387.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.564, allocations: 0 / 387.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009597/0.565, allocations: 246.8 kB / 387.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.73e-05/0.5651, allocations: 101.5 kB / 387.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-05/0.5652, allocations: 2.5 kB / 387.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004027/0.5656, allocations: 33.17 kB / 387.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.5657, allocations: 24.03 kB / 387.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.5657, allocations: 4.438 kB / 387.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002396/0.566, allocations: 183.6 kB / 388.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.543e-06/0.566, allocations: 0 / 388.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005069/0.5665, allocations: 75.84 kB / 388.2 MB, free: 15.59 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.001737/0.5683, allocations: 0.7952 MB / 389 MB, free: 30.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000691/0.569, allocations: 307.2 kB / 389.3 MB, free: 30.78 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.569, allocations: 5.969 kB / 389.3 MB, free: 30.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003268/0.5694, allocations: 190.7 kB / 389.4 MB, free: 30.65 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.5698, allocations: 30.89 kB / 389.5 MB, free: 30.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009582/0.5707, allocations: 303.6 kB / 389.8 MB, free: 30.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.5711, allocations: 0.7495 MB / 390.5 MB, free: 29.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001723/0.5713, allocations: 23.59 kB / 390.5 MB, free: 29.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.5715, allocations: 66.67 kB / 390.6 MB, free: 29.77 MB / 330.7 MB Notification: Performance of SimCode: time 1.693e-06/0.5715, allocations: 0 / 390.6 MB, free: 29.77 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0324/0.6039, allocations: 5.23 MB / 395.8 MB, free: 29.25 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/0.6041, allocations: 197.2 kB / 396 MB, free: 29.01 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.589/3.193, allocations: 0 / 396 MB, free: 29.01 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat does not exist to compare? outputFormat=mat