Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadModel(Modelica): time 1.951/1.951, allocations: 194.9 MB / 210.6 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.883e-05/2.896e-05, allocations: 4 kB / 258.8 MB, free: 7.84 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3925, allocations: 44.49 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.00474/0.3973, allocations: 2.081 MB / 305.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.3991, allocations: 0.5555 MB / 306 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.3993, allocations: 5.812 kB / 306 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.3994, allocations: 31.14 kB / 306 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003699/0.3998, allocations: 82.36 kB / 306.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.4001, allocations: 41.55 kB / 306.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.008239/0.4083, allocations: 164.3 kB / 306.3 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.4086, allocations: 41.48 kB / 306.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.4089, allocations: 88.81 kB / 306.4 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.4092, allocations: 108.4 kB / 306.5 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.655e-05/0.4093, allocations: 12 kB / 306.5 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.011e-05/0.4093, allocations: 16 kB / 306.5 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.613e-05/0.4094, allocations: 39.83 kB / 306.6 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.4096, allocations: 20 kB / 306.6 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004198/0.41, allocations: 213.8 kB / 306.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.41, allocations: 0 / 306.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.41, allocations: 0 / 306.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.4101, allocations: 0 / 306.8 MB, free: 10.09 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001592/0.4117, allocations: 0.5247 MB / 307.3 MB, free: 9.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.4117, allocations: 12.03 kB / 307.3 MB, free: 9.488 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.4119, allocations: 23.72 kB / 307.4 MB, free: 9.465 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004745/0.4166, allocations: 250.6 kB / 307.6 MB, free: 9.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/0.4167, allocations: 16.38 kB / 307.6 MB, free: 9.164 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.788e-05/0.4168, allocations: 16 kB / 307.6 MB, free: 9.148 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.4179, allocations: 224.3 kB / 307.9 MB, free: 8.926 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.4179, allocations: 0 / 307.9 MB, free: 8.926 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.98e-05/0.418, allocations: 8 kB / 307.9 MB, free: 8.918 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.418, allocations: 4 kB / 307.9 MB, free: 8.914 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.4194, allocations: 227.5 kB / 308.1 MB, free: 8.691 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002639/0.4221, allocations: 0.8092 MB / 308.9 MB, free: 7.812 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.4235, allocations: 210.6 kB / 309.1 MB, free: 7.598 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.4236, allocations: 4 kB / 309.1 MB, free: 7.594 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008621/0.4322, allocations: 169.1 kB / 309.3 MB, free: 7.41 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 5.07e-06/0.4323, allocations: 0 / 309.3 MB, free: 7.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.001921/0.4342, allocations: 289.3 kB / 309.6 MB, free: 7.121 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.4343, allocations: 81.11 kB / 309.6 MB, free: 7.023 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/0.4347, allocations: 210.5 kB / 309.9 MB, free: 6.809 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/0.4348, allocations: 25.7 kB / 309.9 MB, free: 6.777 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.435, allocations: 163.9 kB / 310 MB, free: 6.613 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.904e-05/0.4351, allocations: 47.39 kB / 310.1 MB, free: 6.566 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.4351, allocations: 8 kB / 310.1 MB, free: 6.559 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.4353, allocations: 326.8 kB / 310.4 MB, free: 6.23 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006264/0.436, allocations: 80.31 kB / 310.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004929/0.4409, allocations: 150.4 kB / 310.6 MB, free: 5.984 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006643/0.4416, allocations: 117.7 kB / 310.7 MB, free: 5.863 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.4416, allocations: 4 kB / 310.8 MB, free: 5.859 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001589/0.4433, allocations: 311 kB / 311.1 MB, free: 5.543 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.954e-05/0.4433, allocations: 47.41 kB / 311.1 MB, free: 5.492 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.4434, allocations: 0 / 311.1 MB, free: 5.492 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.4434, allocations: 4 kB / 311.1 MB, free: 5.488 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/0.444, allocations: 55.98 kB / 311.2 MB, free: 5.434 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.444, allocations: 7.938 kB / 311.2 MB, free: 5.426 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004433/0.4485, allocations: 39.81 kB / 311.2 MB, free: 5.387 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.4485, allocations: 8 kB / 311.2 MB, free: 5.379 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (21): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002416/0.4488, allocations: 135.2 kB / 311.3 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/0.4489, allocations: 23.72 kB / 311.4 MB, free: 5.215 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.558e-05/0.449, allocations: 25.34 kB / 311.4 MB, free: 5.188 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.449, allocations: 4 kB / 311.4 MB, free: 5.184 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.449, allocations: 0 / 311.4 MB, free: 5.184 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/0.449, allocations: 3.984 kB / 311.4 MB, free: 5.18 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000533/0.4496, allocations: 285.4 kB / 311.7 MB, free: 4.852 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.4496, allocations: 0 / 311.7 MB, free: 4.852 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005097/0.4501, allocations: 43.97 kB / 311.7 MB, free: 4.809 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.4502, allocations: 0 / 311.7 MB, free: 4.809 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.4502, allocations: 7.984 kB / 311.7 MB, free: 4.801 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.937e-06/0.4502, allocations: 7.953 kB / 311.7 MB, free: 4.793 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4502, allocations: 0 / 311.7 MB, free: 4.793 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.4522, allocations: 332.8 kB / 312.1 MB, free: 4.449 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.4524, allocations: 100.8 kB / 312.2 MB, free: 4.332 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.67e-05/0.4525, allocations: 4 kB / 312.2 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004874/0.453, allocations: 27.97 kB / 312.2 MB, free: 4.301 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.4531, allocations: 23.92 kB / 312.2 MB, free: 4.277 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.4532, allocations: 8 kB / 312.2 MB, free: 4.27 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003233/0.4535, allocations: 172.5 kB / 312.4 MB, free: 4.102 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4535, allocations: 0 / 312.4 MB, free: 4.102 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006297/0.4542, allocations: 51.84 kB / 312.4 MB, free: 4.051 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (12): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001925/0.4544, allocations: 103.2 kB / 312.5 MB, free: 3.938 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.4558, allocations: 255.5 kB / 312.8 MB, free: 3.676 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4558, allocations: 8 kB / 312.8 MB, free: 3.668 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003505/0.4594, allocations: 91.88 kB / 312.9 MB, free: 3.578 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.4599, allocations: 40.59 kB / 312.9 MB, free: 3.539 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.4619, allocations: 0.5358 MB / 313.5 MB, free: 2.98 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.4624, allocations: 0.7482 MB / 314.2 MB, free: 2.207 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002507/0.4627, allocations: 17.95 kB / 314.2 MB, free: 2.191 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.4628, allocations: 15.44 kB / 314.2 MB, free: 2.176 MB / 250.7 MB Notification: Performance of SimCode: time 1.142e-06/0.4628, allocations: 0 / 314.2 MB, free: 2.176 MB / 250.7 MB Notification: Performance of Templates: time 0.008717/0.4716, allocations: 2.31 MB / 316.6 MB, free: 15.87 MB / 266.7 MB "" Variables in the reference:time,c.v,opAmp.out.v,opAmp.out.i Variables in the result:C,R,Vin,Vns,Vps,c.C,c.i,c.v,f,k,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.out.i,opAmp.out.v,opAmp.useSupply,opAmp.v_out,opAmp.vns,opAmp.vps,r.R,r.T,r.T_heatPort,r.T_ref,r.alpha,time,vIn.V,vIn.falling,vIn.nperiod,vIn.offset,vIn.period,vIn.rising,vIn.signalSource.T_falling,vIn.signalSource.T_rising,vIn.signalSource.T_width,vIn.signalSource.amplitude,vIn.signalSource.falling,vIn.signalSource.nperiod,vIn.signalSource.offset,vIn.signalSource.period,vIn.signalSource.rising,vIn.signalSource.startTime,vIn.signalSource.width,vIn.startTime,vIn.width