Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadModel(Modelica): time 2.11/2.11, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.632e-05/5.666e-05, allocations: 4.625 kB / 292.2 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09958/0.09968, allocations: 50.41 MB / 342.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4528/0.5525, allocations: 81.67 MB / 424.2 MB, free: 12.51 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.5528, allocations: 78.62 kB / 424.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03044/0.5833, allocations: 6.28 MB / 430.6 MB, free: 7.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.851e-06/0.5833, allocations: 0 / 430.6 MB, free: 7.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.478e-05/0.5833, allocations: 8 kB / 430.6 MB, free: 7.082 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001233/0.5846, allocations: 0.5808 MB / 431.2 MB, free: 6.465 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.5847, allocations: 12.03 kB / 431.2 MB, free: 6.453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.5848, allocations: 31.62 kB / 431.2 MB, free: 6.422 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005111/0.5853, allocations: 288.5 kB / 431.5 MB, free: 6.133 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.5854, allocations: 20.88 kB / 431.5 MB, free: 6.121 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.812e-05/0.5854, allocations: 23.81 kB / 431.6 MB, free: 6.105 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006204/0.5861, allocations: 269.2 kB / 431.8 MB, free: 5.914 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.5861, allocations: 0 / 431.8 MB, free: 5.914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.5861, allocations: 10.81 kB / 431.8 MB, free: 5.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.5862, allocations: 8 kB / 431.8 MB, free: 5.902 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/0.5866, allocations: 178.8 kB / 432 MB, free: 5.801 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002745/0.5894, allocations: 1.208 MB / 433.2 MB, free: 4.719 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/0.5899, allocations: 142.4 kB / 433.4 MB, free: 4.617 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.5901, allocations: 61.41 kB / 433.4 MB, free: 4.578 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.5901, allocations: 4.219 kB / 433.4 MB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003038/0.5905, allocations: 118.6 kB / 433.5 MB, free: 4.461 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 3.138e-06/0.5905, allocations: 0 / 433.5 MB, free: 4.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007613/0.5913, allocations: 215 kB / 433.8 MB, free: 4.277 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.5913, allocations: 81.11 kB / 433.8 MB, free: 4.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003757/0.5917, allocations: 235.6 kB / 434.1 MB, free: 3.992 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.5918, allocations: 29.7 kB / 434.1 MB, free: 3.957 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.592, allocations: 202.2 kB / 434.3 MB, free: 3.781 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.311e-05/0.5921, allocations: 42.33 kB / 434.3 MB, free: 3.746 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.883e-05/0.5921, allocations: 7.938 kB / 434.3 MB, free: 3.742 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.5923, allocations: 337.3 kB / 434.7 MB, free: 3.414 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.5925, allocations: 56.11 kB / 434.7 MB, free: 3.379 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.5927, allocations: 139.6 kB / 434.9 MB, free: 3.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.5929, allocations: 99.09 kB / 435 MB, free: 3.152 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.879e-06/0.593, allocations: 0 / 435 MB, free: 3.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000985/0.5939, allocations: 332.7 kB / 435.3 MB, free: 2.867 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/0.594, allocations: 36.17 kB / 435.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.594, allocations: 11.98 kB / 435.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001875/0.5942, allocations: 35.91 kB / 435.4 MB, free: 2.785 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.5946, allocations: 55.34 kB / 435.4 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.5965, allocations: 1.386 MB / 436.8 MB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004754/0.597, allocations: 59.14 kB / 436.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.5971, allocations: 19.98 kB / 436.9 MB, free: 1.211 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 (25): * Single equations (assignments): 23 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.5972, allocations: 122.9 kB / 437 MB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/0.5973, allocations: 23.72 kB / 437 MB, free: 1.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.342e-05/0.5974, allocations: 24.89 kB / 437 MB, free: 1.051 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.5974, allocations: 0 / 437 MB, free: 1.051 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.27e-06/0.5974, allocations: 4 kB / 437.1 MB, free: 1.047 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.995e-06/0.5974, allocations: 0 / 437.1 MB, free: 1.047 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.5979, allocations: 313.3 kB / 437.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.399e-06/0.5979, allocations: 0 / 437.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.5982, allocations: 39.97 kB / 437.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001272/0.5983, allocations: 32.22 kB / 437.4 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.5984, allocations: 7.5 kB / 437.4 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.6001, allocations: 1.366 MB / 438.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.6001, allocations: 0 / 438.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008942/0.601, allocations: 313.4 kB / 439.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.6012, allocations: 100.6 kB / 439.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.6013, allocations: 0 / 439.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003236/0.6016, allocations: 42.95 kB / 439.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.731e-05/0.6017, allocations: 23.61 kB / 439.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.6018, allocations: 4 kB / 439.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002864/0.6021, allocations: 185.8 kB / 439.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.03e-07/0.6021, allocations: 0 / 439.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000486/0.6026, allocations: 71.62 kB / 439.5 MB, free: 14.6 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * 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 (11): * Single equations (assignments): 8 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002008/0.6028, allocations: 106.8 kB / 439.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006591/0.6035, allocations: 312.5 kB / 439.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.728e-06/0.6035, allocations: 0 / 439.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002996/0.6038, allocations: 167.4 kB / 440.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.6042, allocations: 51.58 kB / 440.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.6062, allocations: 0.5093 MB / 440.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.6067, allocations: 0.7599 MB / 441.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.6069, allocations: 30 kB / 441.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.881e-05/0.6069, allocations: 19.44 kB / 441.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of SimCode: time 4.579e-06/0.607, allocations: 0 / 441.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of Templates: time 0.01694/0.6239, allocations: 3.224 MB / 444.7 MB, free: 9.5 MB / 362.7 MB