Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.121/2.121, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.963e-05, allocations: 4 kB / 292.8 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1132, allocations: 50.42 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4602/0.5735, allocations: 81.34 MB / 424.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/0.5738, allocations: 82.39 kB / 424.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03199/0.6059, allocations: 6.401 MB / 431 MB, free: 7.004 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6059, allocations: 0 / 431 MB, free: 7.004 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.91e-05/0.606, allocations: 8 kB / 431 MB, free: 6.996 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.001721/0.6077, allocations: 0.588 MB / 431.6 MB, free: 6.375 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.6078, allocations: 12.03 kB / 431.6 MB, free: 6.363 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001472/0.6079, allocations: 55.8 kB / 431.7 MB, free: 6.312 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.6081, allocations: 43.55 kB / 431.7 MB, free: 6.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005746/0.6087, allocations: 287.6 kB / 432 MB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.6087, allocations: 15.38 kB / 432 MB, free: 5.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.253e-05/0.6088, allocations: 23.12 kB / 432 MB, free: 5.965 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007586/0.6096, allocations: 283.8 kB / 432.3 MB, free: 5.766 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.6096, allocations: 0 / 432.3 MB, free: 5.766 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.626e-05/0.6097, allocations: 11.19 kB / 432.3 MB, free: 5.762 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.6097, allocations: 8 kB / 432.3 MB, free: 5.754 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005826/0.6103, allocations: 187.8 kB / 432.5 MB, free: 5.645 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003323/0.6136, allocations: 1.178 MB / 433.7 MB, free: 4.613 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005516/0.6142, allocations: 147.4 kB / 433.8 MB, free: 4.512 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002742/0.6145, allocations: 68.61 kB / 433.9 MB, free: 4.465 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.6146, allocations: 4 kB / 433.9 MB, free: 4.461 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003648/0.615, allocations: 133.7 kB / 434 MB, free: 4.336 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.916e-06/0.615, allocations: 0 / 434 MB, free: 4.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001119/0.6161, allocations: 251.2 kB / 434.3 MB, free: 4.125 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.357e-05/0.6163, allocations: 110.8 kB / 434.4 MB, free: 3.992 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/0.6168, allocations: 251 kB / 434.6 MB, free: 3.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.131e-05/0.6169, allocations: 32.89 kB / 434.7 MB, free: 3.758 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.6171, allocations: 206.6 kB / 434.9 MB, free: 3.582 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.378e-05/0.6171, allocations: 45.45 kB / 434.9 MB, free: 3.547 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.6172, allocations: 2.75 kB / 434.9 MB, free: 3.547 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.6173, allocations: 335.6 kB / 435.2 MB, free: 3.219 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.6176, allocations: 59.48 kB / 435.3 MB, free: 3.184 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.6179, allocations: 165.8 kB / 435.5 MB, free: 3.008 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.6182, allocations: 94.72 kB / 435.5 MB, free: 2.934 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.6182, allocations: 0 / 435.5 MB, free: 2.934 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00144/0.6196, allocations: 379 kB / 435.9 MB, free: 2.617 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.64e-05/0.6197, allocations: 33.7 kB / 435.9 MB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.6198, allocations: 4 kB / 436 MB, free: 2.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003587/0.6201, allocations: 55.22 kB / 436 MB, free: 2.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/0.6206, allocations: 55.02 kB / 436.1 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003452/0.6241, allocations: 1.735 MB / 437.8 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007352/0.6249, allocations: 63.28 kB / 437.9 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/0.625, allocations: 15.86 kB / 437.9 MB, free: 0.6875 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (24): * Single equations (assignments): 22 * 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.0001704/0.6252, allocations: 123.6 kB / 438 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.6253, allocations: 23.77 kB / 438 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.866e-05/0.6254, allocations: 32.91 kB / 438 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.6254, allocations: 4 kB / 438.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.6254, allocations: 3.938 kB / 438.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.6254, allocations: 4 kB / 438.1 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005543/0.626, allocations: 324.7 kB / 438.4 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.626, allocations: 4.125 kB / 438.4 MB, free: 204 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/0.6263, allocations: 31.97 kB / 438.4 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003131/0.6267, allocations: 54.45 kB / 438.5 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.6267, allocations: 3.062 kB / 438.5 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002747/0.6295, allocations: 1.635 MB / 440.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6295, allocations: 8.016 kB / 440.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.6306, allocations: 271.6 kB / 440.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.6309, allocations: 104.3 kB / 440.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.737e-05/0.631, allocations: 6.562 kB / 440.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005013/0.6315, allocations: 43.02 kB / 440.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.6316, allocations: 23.09 kB / 440.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.6316, allocations: 0 / 440.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003402/0.632, allocations: 198.4 kB / 440.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.632, allocations: 0 / 440.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006965/0.6327, allocations: 77.84 kB / 440.8 MB, free: 13.86 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.001481/0.6342, allocations: 0.8093 MB / 441.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.6359, allocations: 419.9 kB / 442 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.6359, allocations: 0 / 442 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004441/0.6364, allocations: 189.8 kB / 442.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.6369, allocations: 51.86 kB / 442.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0057/0.6426, allocations: 0.8661 MB / 443.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.6431, allocations: 0.7638 MB / 443.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002603/0.6434, allocations: 26.06 kB / 443.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.6436, allocations: 81.09 kB / 444 MB, free: 10.78 MB / 362.7 MB Notification: Performance of SimCode: time 2.474e-06/0.6436, allocations: 0 / 444 MB, free: 10.78 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03583/0.6794, allocations: 6 MB / 450 MB, free: 4.898 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003942/0.6799, allocations: 194 kB / 450.2 MB, free: 4.676 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/3.213, allocations: 0 / 450.2 MB, free: 4.676 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat does not exist to compare? outputFormat=mat