Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.237/2.237, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.295e-05/3.255e-05, allocations: 8 kB / 249.8 MB, free: 14.76 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3317, allocations: 44.49 MB / 294.3 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.4791, allocations: 73.65 MB / 368 MB, free: 8.164 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/0.4795, allocations: 75.95 kB / 368 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02739/0.5069, allocations: 5.046 MB / 373.1 MB, free: 3.031 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.728e-06/0.5069, allocations: 0 / 373.1 MB, free: 3.031 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.289e-05/0.507, allocations: 7.938 kB / 373.1 MB, free: 3.023 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.001531/0.5085, allocations: 0.5327 MB / 373.6 MB, free: 2.438 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.223e-05/0.5086, allocations: 16.02 kB / 373.6 MB, free: 2.422 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.5087, allocations: 23.72 kB / 373.7 MB, free: 2.398 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.5092, allocations: 267.5 kB / 373.9 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.5093, allocations: 8 kB / 373.9 MB, free: 2.086 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.244e-05/0.5093, allocations: 15.98 kB / 373.9 MB, free: 2.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005175/0.5099, allocations: 132.9 kB / 374.1 MB, free: 1.941 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.5104, allocations: 162.4 kB / 374.2 MB, free: 1.773 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.5105, allocations: 0 / 374.2 MB, free: 1.773 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/0.5105, allocations: 3.938 kB / 374.2 MB, free: 1.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.5105, allocations: 4 kB / 374.2 MB, free: 1.766 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002618/0.5132, allocations: 0.8428 MB / 375.1 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004806/0.5137, allocations: 122.8 kB / 375.2 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.5139, allocations: 56.86 kB / 375.3 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.014e-05/0.5139, allocations: 0 / 375.3 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003539/0.5143, allocations: 138 kB / 375.4 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 4.959e-06/0.5143, allocations: 0 / 375.4 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001171/0.5155, allocations: 214.1 kB / 375.6 MB, free: 304 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/0.5156, allocations: 110.8 kB / 375.7 MB, free: 168 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/0.516, allocations: 204.5 kB / 375.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.5161, allocations: 25.7 kB / 375.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.5163, allocations: 175.7 kB / 376.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.255e-05/0.5164, allocations: 43.39 kB / 376.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.5164, allocations: 4 kB / 376.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5166, allocations: 338.8 kB / 376.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.5168, allocations: 47.86 kB / 376.5 MB, free: 15.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.517, allocations: 117.4 kB / 376.6 MB, free: 15.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.5172, allocations: 61.34 kB / 376.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5173, allocations: 0 / 376.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001295/0.5186, allocations: 275.6 kB / 377 MB, free: 14.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.103e-05/0.5186, allocations: 37.94 kB / 377 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.5187, allocations: 4 kB / 377 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009018/0.5196, allocations: 100.7 kB / 377.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.52, allocations: 47.91 kB / 377.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/0.5227, allocations: 1.517 MB / 378.7 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005828/0.5233, allocations: 39.81 kB / 378.7 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.5234, allocations: 8 kB / 378.7 MB, free: 12.95 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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.0001995/0.5236, allocations: 128.7 kB / 378.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001058/0.5247, allocations: 210.1 kB / 379 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.5248, allocations: 19.81 kB / 379.1 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.018e-05/0.5249, allocations: 25.95 kB / 379.1 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.5249, allocations: 0 / 379.1 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.5249, allocations: 8.078 kB / 379.1 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5249, allocations: 0 / 379.1 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.5253, allocations: 250 kB / 379.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5253, allocations: 3.938 kB / 379.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/0.5256, allocations: 27.97 kB / 379.4 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008237/0.5265, allocations: 96.72 kB / 379.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.5265, allocations: 0 / 379.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002568/0.5291, allocations: 1.521 MB / 381 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.5291, allocations: 0 / 381 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.5302, allocations: 237.7 kB / 381.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.5303, allocations: 100.8 kB / 381.3 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.845e-05/0.5304, allocations: 0 / 381.3 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/0.5309, allocations: 31.97 kB / 381.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.531, allocations: 19.97 kB / 381.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.5311, allocations: 12.12 kB / 381.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002603/0.5313, allocations: 168.4 kB / 381.5 MB, free: 9.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5314, allocations: 0 / 381.5 MB, free: 9.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006826/0.5321, allocations: 67.84 kB / 381.6 MB, free: 9.844 MB / 330.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.001476/0.5335, allocations: 0.7731 MB / 382.4 MB, free: 9.039 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000774/0.5343, allocations: 301.5 kB / 382.7 MB, free: 8.723 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5344, allocations: 0 / 382.7 MB, free: 8.723 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004022/0.5348, allocations: 182.1 kB / 382.9 MB, free: 8.535 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.5352, allocations: 36.41 kB / 382.9 MB, free: 8.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.5388, allocations: 486 kB / 383.4 MB, free: 7.988 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.5392, allocations: 0.7521 MB / 384.1 MB, free: 7.211 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000212/0.5394, allocations: 26.06 kB / 384.1 MB, free: 7.188 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.5396, allocations: 67.42 kB / 384.2 MB, free: 7.121 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5396, allocations: 0 / 384.2 MB, free: 7.121 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1235/0.6632, allocations: 4.517 MB / 388.7 MB, free: 2.633 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003178/0.6636, allocations: 156.4 kB / 388.9 MB, free: 2.438 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.167/3.83, allocations: 3.938 kB / 388.9 MB, free: 2.434 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat does not exist to compare? outputFormat=mat