Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadModel(Modelica): time 1.788/1.788, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.47e-05, allocations: 4.281 kB / 255.3 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0752/0.07526, allocations: 44.49 MB / 299.8 MB, free: 6.613 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.328/0.4033, allocations: 74.31 MB / 374.2 MB, free: 22.56 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.4036, allocations: 78.78 kB / 374.2 MB, free: 22.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02146/0.4251, allocations: 5.104 MB / 379.3 MB, free: 21.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.686e-06/0.4251, allocations: 0 / 379.3 MB, free: 21.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.4252, allocations: 7.875 kB / 379.3 MB, free: 21.89 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.0008849/0.426, allocations: 0.5335 MB / 379.9 MB, free: 21.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.4261, allocations: 10.58 kB / 379.9 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.344e-05/0.4262, allocations: 31.31 kB / 379.9 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.4266, allocations: 262.5 kB / 380.2 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.4266, allocations: 12.78 kB / 380.2 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.4267, allocations: 19.78 kB / 380.2 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000444/0.4271, allocations: 186.1 kB / 380.4 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.4272, allocations: 9 kB / 380.4 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.4272, allocations: 9.375 kB / 380.4 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.404e-06/0.4272, allocations: 8.406 kB / 380.4 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003729/0.4276, allocations: 141.7 kB / 380.5 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.4294, allocations: 0.8853 MB / 381.4 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.4298, allocations: 139.2 kB / 381.6 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.43, allocations: 60.09 kB / 381.6 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.43, allocations: 1.062 kB / 381.6 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002675/0.4303, allocations: 126.5 kB / 381.8 MB, free: 20.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.369e-06/0.4303, allocations: 4 kB / 381.8 MB, free: 20.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008235/0.4311, allocations: 214.2 kB / 382 MB, free: 20.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.4312, allocations: 111.2 kB / 382.1 MB, free: 20.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/0.4315, allocations: 234.4 kB / 382.3 MB, free: 20.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.4316, allocations: 30.98 kB / 382.3 MB, free: 20.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.212e-05/0.4317, allocations: 224.6 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.4317, allocations: 44.36 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.686e-05/0.4317, allocations: 5.094 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.392e-05/0.4318, allocations: 323.5 kB / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.432, allocations: 53.64 kB / 383 MB, free: 19.74 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.4322, allocations: 128.8 kB / 383.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.4323, allocations: 92.3 kB / 383.2 MB, free: 19.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.089e-06/0.4324, allocations: 1.438 kB / 383.2 MB, free: 19.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008851/0.4333, allocations: 311.8 kB / 383.5 MB, free: 19.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.4333, allocations: 38.27 kB / 383.5 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.4333, allocations: 6.844 kB / 383.5 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005501/0.4339, allocations: 95.2 kB / 383.6 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.4342, allocations: 54.36 kB / 383.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.436, allocations: 1.583 MB / 385.3 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.4364, allocations: 54.38 kB / 385.3 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.4365, allocations: 5.781 kB / 385.3 MB, free: 18.09 MB / 314.7 MB 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 9.704e-05/0.4366, allocations: 122.5 kB / 385.4 MB, free: 17.97 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.4367, allocations: 22.75 kB / 385.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.921e-05/0.4367, allocations: 27.06 kB / 385.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.499e-06/0.4368, allocations: 5.5 kB / 385.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.139e-06/0.4368, allocations: 0 / 385.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.276e-06/0.4368, allocations: 5.531 kB / 385.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.4371, allocations: 288.7 kB / 385.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.89e-06/0.4371, allocations: 0 / 385.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.4373, allocations: 27.17 kB / 385.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004835/0.4378, allocations: 92.86 kB / 385.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.4378, allocations: 3.203 kB / 385.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.4395, allocations: 1.583 MB / 387.5 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.679e-06/0.4395, allocations: 0 / 387.5 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007302/0.4402, allocations: 249.5 kB / 387.7 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.4403, allocations: 99.75 kB / 387.8 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.4404, allocations: 9.422 kB / 387.8 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.4407, allocations: 35.48 kB / 387.9 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.497e-05/0.4408, allocations: 17.97 kB / 387.9 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.4409, allocations: 6.594 kB / 387.9 MB, free: 16.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002375/0.4411, allocations: 185.4 kB / 388.1 MB, free: 16.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.14e-06/0.4411, allocations: 0 / 388.1 MB, free: 16.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006108/0.4417, allocations: 69.56 kB / 388.1 MB, free: 16.08 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.0001486/0.4419, allocations: 108.2 kB / 388.3 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006664/0.4426, allocations: 315.6 kB / 388.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.796e-06/0.4426, allocations: 0 / 388.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003026/0.4429, allocations: 183.5 kB / 388.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.4433, allocations: 37.19 kB / 388.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.4453, allocations: 482 kB / 389.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006833/0.446, allocations: 0.755 MB / 390 MB, free: 30.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.4461, allocations: 19.56 kB / 390 MB, free: 30.8 MB / 330.7 MB Notification: Performance of SimCode: time 2.152e-06/0.4461, allocations: 0 / 390 MB, free: 30.8 MB / 330.7 MB Notification: Performance of Templates: time 0.006592/0.4527, allocations: 3.876 MB / 393.9 MB, free: 30.59 MB / 330.7 MB