Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") Notification: Performance of loadModel(Modelica): time 2.049/2.049, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.969e-05/2.987e-05, allocations: 4 kB / 292.2 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1266, allocations: 50.41 MB / 342.6 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3696/0.4962, allocations: 81.04 MB / 423.6 MB, free: 13.15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.4965, allocations: 83.44 kB / 423.7 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0232/0.5198, allocations: 6.128 MB / 429.8 MB, free: 7.871 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.333e-06/0.5198, allocations: 0 / 429.8 MB, free: 7.871 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.669e-05/0.5198, allocations: 11.75 kB / 429.8 MB, free: 7.863 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.00113/0.521, allocations: 0.5966 MB / 430.4 MB, free: 7.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.521, allocations: 8.031 kB / 430.4 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.5212, allocations: 39.53 kB / 430.5 MB, free: 7.195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005562/0.5217, allocations: 312.9 kB / 430.8 MB, free: 6.887 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.5218, allocations: 27.34 kB / 430.8 MB, free: 6.871 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.717e-05/0.5219, allocations: 31.44 kB / 430.8 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007922/0.5227, allocations: 349.6 kB / 431.2 MB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.5227, allocations: 0 / 431.2 MB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.844e-05/0.5228, allocations: 18.02 kB / 431.2 MB, free: 6.613 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.5228, allocations: 19.98 kB / 431.2 MB, free: 6.594 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006203/0.5234, allocations: 253.2 kB / 431.5 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0031/0.5266, allocations: 1.468 MB / 432.9 MB, free: 5.172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005147/0.5271, allocations: 188.3 kB / 433.1 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.5273, allocations: 73.66 kB / 433.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.5274, allocations: 4 kB / 433.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.5274, allocations: 30.56 kB / 433.2 MB, free: 4.949 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.237e-06/0.5274, allocations: 0 / 433.2 MB, free: 4.949 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009327/0.5284, allocations: 279.4 kB / 433.5 MB, free: 4.715 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.5284, allocations: 55.22 kB / 433.6 MB, free: 4.652 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004503/0.5289, allocations: 280 kB / 433.8 MB, free: 4.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.5289, allocations: 29.45 kB / 433.9 MB, free: 4.398 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.5291, allocations: 225 kB / 434.1 MB, free: 4.215 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.006e-05/0.5292, allocations: 62 kB / 434.1 MB, free: 4.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/0.5293, allocations: 3.938 kB / 434.1 MB, free: 4.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.5294, allocations: 342 kB / 434.5 MB, free: 3.828 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.5296, allocations: 63.94 kB / 434.5 MB, free: 3.793 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.5299, allocations: 133 kB / 434.7 MB, free: 3.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.5301, allocations: 80.17 kB / 434.7 MB, free: 3.609 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.766e-06/0.5301, allocations: 0 / 434.7 MB, free: 3.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001112/0.5312, allocations: 367.2 kB / 435.1 MB, free: 3.309 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.5313, allocations: 4 kB / 435.1 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.5313, allocations: 8.031 kB / 435.1 MB, free: 3.297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003867/0.5317, allocations: 86.56 kB / 435.2 MB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.5319, allocations: 35.97 kB / 435.2 MB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004306/0.5363, allocations: 3.115 MB / 438.3 MB, free: 60 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.5367, allocations: 34.38 kB / 438.4 MB, free: 28 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.5367, allocations: 11 kB / 438.4 MB, free: 20 kB / 346.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.0001666/0.5369, allocations: 123.2 kB / 438.5 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.792e-05/0.537, allocations: 39.64 kB / 438.5 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.1e-05/0.5371, allocations: 32.08 kB / 438.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.609e-06/0.5371, allocations: 0 / 438.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.908e-06/0.5371, allocations: 3.938 kB / 438.6 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.212e-06/0.5371, allocations: 0 / 438.6 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005723/0.5377, allocations: 362.1 kB / 438.9 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.78e-06/0.5378, allocations: 144 / 438.9 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.5379, allocations: 19.94 kB / 439 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003341/0.5382, allocations: 90.09 kB / 439 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.5383, allocations: 3.312 kB / 439 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003822/0.5421, allocations: 3.017 MB / 442.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.777e-06/0.5422, allocations: 4.031 kB / 442.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009308/0.5431, allocations: 387.2 kB / 442.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.5433, allocations: 104.5 kB / 442.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.754e-05/0.5434, allocations: 3.375 kB / 442.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.5437, allocations: 27.97 kB / 442.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.5438, allocations: 19.48 kB / 442.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.5438, allocations: 4 kB / 442.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003357/0.5441, allocations: 216 kB / 442.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.5442, allocations: 0 / 442.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007131/0.5449, allocations: 106.4 kB / 442.9 MB, free: 11.59 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.0001773/0.5451, allocations: 103.9 kB / 443 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.5462, allocations: 464.3 kB / 443.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.251e-06/0.5463, allocations: 0 / 443.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000471/0.5467, allocations: 303.9 kB / 443.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.5472, allocations: 55 kB / 443.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.5483, allocations: 359.4 kB / 444.2 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005427/0.5488, allocations: 0.7911 MB / 445 MB, free: 9.602 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.5491, allocations: 26.97 kB / 445 MB, free: 9.578 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.956e-05/0.5491, allocations: 19.44 kB / 445 MB, free: 9.559 MB / 362.7 MB Notification: Performance of SimCode: time 2.022e-06/0.5492, allocations: 0 / 445 MB, free: 9.559 MB / 362.7 MB Notification: Performance of Templates: time 0.01168/0.5608, allocations: 3.575 MB / 448.6 MB, free: 6.016 MB / 362.7 MB