Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadModel(ModelicaTest): time 2.569/2.569, allocations: 234.9 MB / 250.1 MB, free: 10.93 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.109e-05, allocations: 4 kB / 308 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3809, allocations: 54.88 MB / 362.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004317/0.3852, allocations: 2.616 MB / 365.5 MB, free: 9.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003489/0.3888, allocations: 1.277 MB / 366.7 MB, free: 7.973 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00048/0.3893, allocations: 31.88 kB / 366.8 MB, free: 7.941 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004376/0.3898, allocations: 79.41 kB / 366.8 MB, free: 7.863 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006516/0.3904, allocations: 171.4 kB / 367 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.3919, allocations: 367.3 kB / 367.4 MB, free: 7.336 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.3932, allocations: 479.1 kB / 367.8 MB, free: 6.867 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003017/0.3935, allocations: 107.1 kB / 367.9 MB, free: 6.762 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005579/0.3941, allocations: 251.2 kB / 368.2 MB, free: 6.516 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005969/0.3947, allocations: 290.9 kB / 368.5 MB, free: 6.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003259/0.3951, allocations: 111.8 kB / 368.6 MB, free: 6.121 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.3952, allocations: 24 kB / 368.6 MB, free: 6.098 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002431/0.3955, allocations: 135.5 kB / 368.7 MB, free: 5.965 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.3956, allocations: 32 kB / 368.8 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009316/0.3965, allocations: 0.6001 MB / 369.4 MB, free: 5.332 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3966, allocations: 0 / 369.4 MB, free: 5.332 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.3966, allocations: 4 kB / 369.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.3966, allocations: 0 / 369.4 MB, free: 5.328 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002719/0.3993, allocations: 0.8734 MB / 370.3 MB, free: 4.406 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.3994, allocations: 8.031 kB / 370.3 MB, free: 4.398 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002836/0.3997, allocations: 83.06 kB / 370.3 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.4013, allocations: 0.518 MB / 370.9 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.988e-05/0.4014, allocations: 33 kB / 370.9 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.4015, allocations: 55.91 kB / 370.9 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.4033, allocations: 0.5443 MB / 371.5 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/0.4034, allocations: 0 / 371.5 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.391e-05/0.4035, allocations: 19.95 kB / 371.5 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.4035, allocations: 16 kB / 371.5 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.4054, allocations: 465.9 kB / 372 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005812/0.4113, allocations: 1.947 MB / 373.9 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.4134, allocations: 0.5348 MB / 374.5 MB, free: 28 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.954e-05/0.4136, allocations: 11.98 kB / 374.5 MB, free: 16 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.121e-05/0.4136, allocations: 38.56 kB / 374.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=44): time 3.887e-06/0.4136, allocations: 0 / 374.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.004587/0.4182, allocations: 1.165 MB / 375.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.246e-05/0.4184, allocations: 132.5 kB / 375.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.4198, allocations: 0.5385 MB / 376.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.42, allocations: 33.7 kB / 376.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.4203, allocations: 338.8 kB / 376.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.4206, allocations: 173.5 kB / 376.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.4207, allocations: 15.94 kB / 376.9 MB, free: 13.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.4209, allocations: 330.8 kB / 377.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.4221, allocations: 293 kB / 377.5 MB, free: 12.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.4234, allocations: 396.8 kB / 377.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.4247, allocations: 319.6 kB / 378.2 MB, free: 12.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.4248, allocations: 4 kB / 378.2 MB, free: 12.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002889/0.4277, allocations: 0.7556 MB / 379 MB, free: 11.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004807/0.4282, allocations: 1.063 MB / 380 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.4282, allocations: 4 kB / 380 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.4283, allocations: 4 kB / 380 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/0.43, allocations: 195.8 kB / 380.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.499e-05/0.4301, allocations: 8 kB / 380.2 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.4313, allocations: 103.6 kB / 380.3 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.702e-05/0.4314, allocations: 20 kB / 380.4 MB, free: 9.938 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.4315, allocations: 4 kB / 380.4 MB, free: 9.934 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002529/0.434, allocations: 0.6727 MB / 381 MB, free: 9.262 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.4341, allocations: 8.078 kB / 381 MB, free: 9.254 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.4341, allocations: 15.94 kB / 381.1 MB, free: 9.238 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/0.4357, allocations: 187.8 kB / 381.2 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.4357, allocations: 7.938 kB / 381.2 MB, free: 9.047 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000647/0.4364, allocations: 75.56 kB / 381.3 MB, free: 8.973 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.936e-05/0.4365, allocations: 20 kB / 381.3 MB, free: 8.953 MB / 314.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 1 * Algorithm blocks: 0 * 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.0004439/0.4369, allocations: 205.6 kB / 381.5 MB, free: 8.742 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/0.4372, allocations: 63.25 kB / 381.6 MB, free: 8.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.4374, allocations: 85.64 kB / 381.7 MB, free: 8.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.4375, allocations: 11.95 kB / 381.7 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.4375, allocations: 0 / 381.7 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.4375, allocations: 3.984 kB / 381.7 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00322/0.4407, allocations: 1.252 MB / 382.9 MB, free: 7.258 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.4408, allocations: 3.953 kB / 383 MB, free: 7.254 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/0.4421, allocations: 115.9 kB / 383.1 MB, free: 7.141 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.358e-05/0.4422, allocations: 4 kB / 383.1 MB, free: 7.137 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.16e-05/0.4423, allocations: 20.06 kB / 383.1 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.4423, allocations: 4 kB / 383.1 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.4423, allocations: 4 kB / 383.1 MB, free: 7.109 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003784/0.4461, allocations: 1.26 MB / 384.4 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000454/0.4466, allocations: 192.2 kB / 384.5 MB, free: 5.602 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.4468, allocations: 19.98 kB / 384.6 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.4478, allocations: 55.95 kB / 384.6 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.448, allocations: 55.75 kB / 384.7 MB, free: 5.473 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.262e-05/0.4481, allocations: 11.98 kB / 384.7 MB, free: 5.461 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000981/0.4491, allocations: 419 kB / 385.1 MB, free: 5.051 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4491, allocations: 0 / 385.1 MB, free: 5.051 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001195/0.4503, allocations: 208 kB / 385.3 MB, free: 4.848 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004331/0.4508, allocations: 147 kB / 385.4 MB, free: 4.695 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003891/0.4547, allocations: 0.9809 MB / 386.4 MB, free: 3.715 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.4547, allocations: 4.188 kB / 386.4 MB, free: 3.711 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.456, allocations: 316.4 kB / 386.7 MB, free: 3.402 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.4575, allocations: 153.1 kB / 386.9 MB, free: 3.262 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004302/0.4618, allocations: 1.687 MB / 388.6 MB, free: 1.523 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007046/0.4626, allocations: 0.9455 MB / 389.5 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004322/0.463, allocations: 51.44 kB / 389.6 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of SimCode: time 1.172e-06/0.463, allocations: 0 / 389.6 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of Templates: time 0.02137/0.4844, allocations: 8.234 MB / 397.8 MB, free: 8.27 MB / 330.7 MB