Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadModel(Modelica): time 2.477/2.477, allocations: 194.9 MB / 211.2 MB, free: 8.059 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.76e-05/3.763e-05, allocations: 4 kB / 258.8 MB, free: 8.418 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3154, allocations: 44.51 MB / 303.3 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004039/0.3195, allocations: 2.353 MB / 305.6 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.3213, allocations: 0.6241 MB / 306.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.3216, allocations: 7.406 kB / 306.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.3217, allocations: 40.27 kB / 306.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003933/0.3221, allocations: 123 kB / 306.4 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.3224, allocations: 67.23 kB / 306.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004354/0.3229, allocations: 218.8 kB / 306.7 MB, free: 9.957 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.3231, allocations: 55.89 kB / 306.8 MB, free: 9.922 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000274/0.3234, allocations: 107.6 kB / 306.9 MB, free: 9.875 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.3236, allocations: 130.6 kB / 307 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-05/0.3237, allocations: 14.16 kB / 307 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.455e-05/0.3238, allocations: 14.53 kB / 307 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.126e-05/0.3238, allocations: 51.05 kB / 307.1 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.324, allocations: 34.06 kB / 307.1 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003949/0.3244, allocations: 268.8 kB / 307.4 MB, free: 9.547 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3244, allocations: 0 / 307.4 MB, free: 9.547 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.766e-06/0.3244, allocations: 4 kB / 307.4 MB, free: 9.543 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.3244, allocations: 0 / 307.4 MB, free: 9.543 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001266/0.3257, allocations: 0.5693 MB / 308 MB, free: 8.926 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3258, allocations: 12.03 kB / 308 MB, free: 8.914 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.3259, allocations: 39.53 kB / 308 MB, free: 8.875 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.3264, allocations: 274.4 kB / 308.3 MB, free: 8.566 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.3264, allocations: 20.56 kB / 308.3 MB, free: 8.547 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-05/0.3265, allocations: 24 kB / 308.3 MB, free: 8.523 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008519/0.3273, allocations: 264.9 kB / 308.6 MB, free: 8.258 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.3274, allocations: 0 / 308.6 MB, free: 8.258 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/0.3274, allocations: 12 kB / 308.6 MB, free: 8.246 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.3274, allocations: 4 kB / 308.6 MB, free: 8.242 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000843/0.3283, allocations: 234.1 kB / 308.8 MB, free: 8.016 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002705/0.331, allocations: 0.9913 MB / 309.8 MB, free: 6.953 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008525/0.3319, allocations: 304.3 kB / 310.1 MB, free: 6.629 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.332, allocations: 4.188 kB / 310.1 MB, free: 6.625 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.332, allocations: 38.75 kB / 310.1 MB, free: 6.578 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 3.156e-06/0.332, allocations: 0 / 310.1 MB, free: 6.578 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0022/0.3342, allocations: 0.5843 MB / 310.7 MB, free: 5.949 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.3343, allocations: 51.41 kB / 310.8 MB, free: 5.887 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000381/0.3347, allocations: 233.7 kB / 311 MB, free: 5.648 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.3348, allocations: 29.7 kB / 311 MB, free: 5.613 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.335, allocations: 238.3 kB / 311.3 MB, free: 5.375 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.245e-05/0.3351, allocations: 74.94 kB / 311.3 MB, free: 5.301 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/0.3351, allocations: 8 kB / 311.4 MB, free: 5.293 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3352, allocations: 326.8 kB / 311.7 MB, free: 4.965 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.3356, allocations: 76.42 kB / 311.7 MB, free: 4.891 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.336, allocations: 123.4 kB / 311.9 MB, free: 4.762 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/0.3364, allocations: 87.92 kB / 312 MB, free: 4.676 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.3365, allocations: 3.938 kB / 312 MB, free: 4.672 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001135/0.3376, allocations: 327 kB / 312.3 MB, free: 4.34 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.3376, allocations: 7.984 kB / 312.3 MB, free: 4.332 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3377, allocations: 4 kB / 312.3 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004163/0.3381, allocations: 65.67 kB / 312.4 MB, free: 4.258 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.3385, allocations: 39.97 kB / 312.4 MB, free: 4.219 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003373/0.3419, allocations: 2.855 MB / 315.2 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.3423, allocations: 35.8 kB / 315.3 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.3424, allocations: 11.95 kB / 315.3 MB, free: 1.051 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * 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: 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: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002166/0.3426, allocations: 141.7 kB / 315.4 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-05/0.3427, allocations: 27.72 kB / 315.5 MB, free: 0.875 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.03e-05/0.3428, allocations: 30.17 kB / 315.5 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/0.3428, allocations: 4 kB / 315.5 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.3428, allocations: 4 kB / 315.5 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3428, allocations: 0 / 315.5 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.3445, allocations: 0.6988 MB / 316.2 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.3445, allocations: 3.938 kB / 316.2 MB, free: 76 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.3448, allocations: 27.98 kB / 316.2 MB, free: 48 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003767/0.3452, allocations: 73.73 kB / 316.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.3453, allocations: 12 kB / 316.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003231/0.3485, allocations: 2.858 MB / 319.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3486, allocations: 128 / 319.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.3497, allocations: 399.1 kB / 319.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.3499, allocations: 100.8 kB / 319.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.35, allocations: 4 kB / 319.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004618/0.3504, allocations: 39.97 kB / 319.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.3506, allocations: 23.92 kB / 319.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.3506, allocations: 7.938 kB / 319.7 MB, free: 12.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002793/0.3509, allocations: 186 kB / 319.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.3509, allocations: 0 / 319.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005823/0.3515, allocations: 91.84 kB / 320 MB, free: 11.95 MB / 266.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 (13): * Single equations (assignments): 11 * 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: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000186/0.3517, allocations: 119.2 kB / 320.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.353, allocations: 453.1 kB / 320.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.353, allocations: 0 / 320.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007314/0.3538, allocations: 357.3 kB / 320.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/0.3543, allocations: 48.47 kB / 321 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.3558, allocations: 0.6157 MB / 321.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.3562, allocations: 0.7717 MB / 322.3 MB, free: 9.492 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.3564, allocations: 23.44 kB / 322.4 MB, free: 9.469 MB / 266.7 MB Notification: Performance of SimCode: time 1.303e-06/0.3564, allocations: 3.938 kB / 322.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of Templates: time 0.01212/0.3685, allocations: 5.407 MB / 327.8 MB, free: 4.059 MB / 266.7 MB