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 1.847/1.847, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.831e-05/2.845e-05, allocations: 4 kB / 255.4 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 44.5 MB / 299.9 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3267/0.4311, allocations: 73.12 MB / 373 MB, free: 22.16 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.4314, allocations: 68.73 kB / 373 MB, free: 22.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01788/0.4492, allocations: 4.848 MB / 377.9 MB, free: 21.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.189e-06/0.4493, allocations: 1.156 kB / 377.9 MB, free: 21.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.386e-05/0.4493, allocations: 5.281 kB / 377.9 MB, free: 21.48 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0008408/0.4502, allocations: 0.5646 MB / 378.5 MB, free: 21.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.4502, allocations: 9.562 kB / 378.5 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.497e-05/0.4503, allocations: 40.22 kB / 378.5 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.4507, allocations: 265.6 kB / 378.8 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.4507, allocations: 18.91 kB / 378.8 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.4508, allocations: 26.78 kB / 378.8 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.4513, allocations: 227.2 kB / 379 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.4513, allocations: 0 / 379 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.09e-05/0.4514, allocations: 13.62 kB / 379 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.4514, allocations: 11.59 kB / 379.1 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.4519, allocations: 174.5 kB / 379.2 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.4539, allocations: 0.9959 MB / 380.2 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.4544, allocations: 193 kB / 380.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/0.4547, allocations: 104.5 kB / 380.5 MB, free: 20.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.4547, allocations: 2.406 kB / 380.5 MB, free: 20.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.4547, allocations: 38.47 kB / 380.6 MB, free: 20.24 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 4.052e-06/0.4548, allocations: 1.062 kB / 380.6 MB, free: 20.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006528/0.4554, allocations: 246.2 kB / 380.8 MB, free: 20.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.4555, allocations: 53.72 kB / 380.8 MB, free: 20.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.4558, allocations: 232 kB / 381.1 MB, free: 20 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.4558, allocations: 30.33 kB / 381.1 MB, free: 19.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.697e-05/0.4559, allocations: 235.7 kB / 381.3 MB, free: 19.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.456, allocations: 76.81 kB / 381.4 MB, free: 19.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.554e-05/0.456, allocations: 5.094 kB / 381.4 MB, free: 19.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.493e-05/0.4561, allocations: 323.1 kB / 381.7 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.4563, allocations: 61.34 kB / 381.8 MB, free: 19.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.4564, allocations: 83.91 kB / 381.9 MB, free: 19.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.4566, allocations: 70.97 kB / 381.9 MB, free: 19.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.047e-06/0.4567, allocations: 0 / 381.9 MB, free: 19.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006244/0.4573, allocations: 272.3 kB / 382.2 MB, free: 19.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.4573, allocations: 5.625 kB / 382.2 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.328e-06/0.4573, allocations: 0 / 382.2 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/0.4577, allocations: 71.41 kB / 382.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.458, allocations: 48.27 kB / 382.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/0.4602, allocations: 2.816 MB / 385.1 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.4605, allocations: 39.98 kB / 385.2 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.4606, allocations: 13.58 kB / 385.2 MB, free: 16.71 MB / 314.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.0001039/0.4607, allocations: 116.2 kB / 385.3 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.532e-05/0.4608, allocations: 30.39 kB / 385.3 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.349e-05/0.4608, allocations: 31.75 kB / 385.4 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.4609, allocations: 3.547 kB / 385.4 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.4609, allocations: 1.875 kB / 385.4 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.282e-06/0.4609, allocations: 4 kB / 385.4 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.462, allocations: 0.6428 MB / 386 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.462, allocations: 0 / 386 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.4622, allocations: 28.56 kB / 386.1 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002833/0.4625, allocations: 73.2 kB / 386.1 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.4625, allocations: 5.75 kB / 386.1 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003034/0.4656, allocations: 2.832 MB / 389 MB, free: 29.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.4656, allocations: 0 / 389 MB, free: 29.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006572/0.4663, allocations: 348.7 kB / 389.3 MB, free: 29.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.4664, allocations: 101.1 kB / 389.4 MB, free: 29.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.4665, allocations: 1.438 kB / 389.4 MB, free: 29.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.4668, allocations: 36.59 kB / 389.4 MB, free: 29.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.753e-05/0.4669, allocations: 26.16 kB / 389.5 MB, free: 29.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.467, allocations: 11.23 kB / 389.5 MB, free: 29.37 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002537/0.4672, allocations: 182.8 kB / 389.7 MB, free: 29.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.49e-07/0.4672, allocations: 0 / 389.7 MB, free: 29.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005509/0.4678, allocations: 94.09 kB / 389.7 MB, free: 29.27 MB / 330.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.0001534/0.468, allocations: 107.6 kB / 389.8 MB, free: 29.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007417/0.4687, allocations: 392.5 kB / 390.2 MB, free: 28.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.596e-06/0.4688, allocations: 3.938 kB / 390.2 MB, free: 28.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.4692, allocations: 320.4 kB / 390.5 MB, free: 28.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.4696, allocations: 47.12 kB / 390.6 MB, free: 28.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007461/0.4704, allocations: 339.3 kB / 390.9 MB, free: 28.58 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.4709, allocations: 0.7761 MB / 391.7 MB, free: 27.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.588e-05/0.471, allocations: 18.44 kB / 391.7 MB, free: 27.87 MB / 330.7 MB Notification: Performance of SimCode: time 1.58e-06/0.471, allocations: 5.312 kB / 391.7 MB, free: 27.86 MB / 330.7 MB Notification: Performance of Templates: time 0.008253/0.4792, allocations: 5.385 MB / 397.1 MB, free: 27.62 MB / 330.7 MB