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_trunk_cpp_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadModel(ModelicaTest): time 2.456/2.456, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.266e-05/3.258e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1363, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004692/0.1411, allocations: 2.798 MB / 413.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003711/0.1449, allocations: 1.318 MB / 415 MB, free: 8.723 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005239/0.1454, allocations: 31.88 kB / 415.1 MB, free: 8.691 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004447/0.1459, allocations: 95.25 kB / 415.2 MB, free: 8.598 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006712/0.1466, allocations: 183.4 kB / 415.3 MB, free: 8.418 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.148, allocations: 387.2 kB / 415.7 MB, free: 8.039 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.1492, allocations: 0.519 MB / 416.2 MB, free: 7.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003052/0.1495, allocations: 119.1 kB / 416.4 MB, free: 7.402 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005322/0.1501, allocations: 255.2 kB / 416.6 MB, free: 7.152 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000631/0.1507, allocations: 306.8 kB / 416.9 MB, free: 6.852 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003327/0.1511, allocations: 115.8 kB / 417 MB, free: 6.738 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.1512, allocations: 24 kB / 417 MB, free: 6.715 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002421/0.1514, allocations: 139.5 kB / 417.2 MB, free: 6.578 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.1516, allocations: 39.94 kB / 417.2 MB, free: 6.539 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009503/0.1525, allocations: 0.6352 MB / 417.8 MB, free: 5.902 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1526, allocations: 0 / 417.8 MB, free: 5.902 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1526, allocations: 0 / 417.8 MB, free: 5.902 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.1526, allocations: 0 / 417.8 MB, free: 5.902 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002664/0.1553, allocations: 0.924 MB / 418.8 MB, free: 4.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1553, allocations: 8.031 kB / 418.8 MB, free: 4.922 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.1556, allocations: 90.88 kB / 418.9 MB, free: 4.832 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.157, allocations: 0.5499 MB / 419.4 MB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.772e-05/0.1571, allocations: 37 kB / 419.5 MB, free: 4.203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.1573, allocations: 63.86 kB / 419.5 MB, free: 4.141 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.1591, allocations: 0.6174 MB / 420.1 MB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.1591, allocations: 3.938 kB / 420.1 MB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-05/0.1592, allocations: 16 kB / 420.2 MB, free: 3.449 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.1592, allocations: 12 kB / 420.2 MB, free: 3.438 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.1611, allocations: 0.49 MB / 420.7 MB, free: 2.945 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00575/0.1669, allocations: 2.679 MB / 423.3 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3263/0.4932, allocations: 0.5286 MB / 423.9 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.4934, allocations: 6.312 kB / 423.9 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.775e-05/0.4935, allocations: 48.16 kB / 423.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 5.33e-06/0.4935, allocations: 0.9062 kB / 423.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.007013/0.5005, allocations: 1.215 MB / 425.1 MB, free: 12.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/0.5007, allocations: 137.8 kB / 425.3 MB, free: 12.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/0.5026, allocations: 0.5869 MB / 425.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.494e-05/0.5027, allocations: 38.17 kB / 425.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.503, allocations: 372.3 kB / 426.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.5032, allocations: 182.5 kB / 426.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.342e-05/0.5033, allocations: 10.88 kB / 426.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.5034, allocations: 340.7 kB / 426.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.5045, allocations: 299.5 kB / 427.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.5059, allocations: 457.2 kB / 427.5 MB, free: 11.15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.5072, allocations: 341.7 kB / 427.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.5072, allocations: 0.8125 kB / 427.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002778/0.51, allocations: 0.8145 MB / 428.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000366/0.5104, allocations: 1.749 MB / 430.4 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.5104, allocations: 4.875 kB / 430.4 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.516e-05/0.5104, allocations: 8.25 kB / 430.4 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.5122, allocations: 206.6 kB / 430.6 MB, free: 8.891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.239e-05/0.5122, allocations: 12.59 kB / 430.6 MB, free: 8.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.5134, allocations: 115 kB / 430.8 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-05/0.5135, allocations: 26.67 kB / 430.8 MB, free: 8.848 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.5135, allocations: 3.281 kB / 430.8 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002511/0.5161, allocations: 0.732 MB / 431.5 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.5161, allocations: 3.656 kB / 431.5 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.5161, allocations: 8.5 kB / 431.5 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.5177, allocations: 209 kB / 431.7 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.5177, allocations: 12.06 kB / 431.7 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006272/0.5184, allocations: 71.56 kB / 431.8 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.019e-05/0.5185, allocations: 26.19 kB / 431.8 MB, free: 8.562 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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.0004472/0.5189, allocations: 211.8 kB / 432 MB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.5192, allocations: 76.14 kB / 432.1 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.5194, allocations: 90.67 kB / 432.2 MB, free: 8.289 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.5194, allocations: 5.562 kB / 432.2 MB, free: 8.289 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.5195, allocations: 9.828 kB / 432.2 MB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.5195, allocations: 3.031 kB / 432.2 MB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003081/0.5226, allocations: 1.29 MB / 433.5 MB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.5226, allocations: 5.062 kB / 433.5 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.5239, allocations: 125.4 kB / 433.6 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.5239, allocations: 3.062 kB / 433.6 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.905e-05/0.524, allocations: 16.28 kB / 433.7 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.524, allocations: 3.969 kB / 433.7 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.524, allocations: 1.094 kB / 433.7 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003504/0.5275, allocations: 1.283 MB / 434.9 MB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003486/0.5279, allocations: 195.6 kB / 435.1 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.5281, allocations: 16.92 kB / 435.2 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009354/0.529, allocations: 64.47 kB / 435.2 MB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.5292, allocations: 37.59 kB / 435.3 MB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/0.5293, allocations: 15.77 kB / 435.3 MB, free: 6.691 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000998/0.5303, allocations: 456 kB / 435.7 MB, free: 6.504 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.973e-06/0.5303, allocations: 0 / 435.7 MB, free: 6.504 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001271/0.5316, allocations: 225.6 kB / 435.9 MB, free: 6.477 MB / 346.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 (46): * Single equations (assignments): 46 * 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.0003509/0.5319, allocations: 143.4 kB / 436.1 MB, free: 6.371 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003739/0.5357, allocations: 1.046 MB / 437.1 MB, free: 6.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5357, allocations: 1.469 kB / 437.1 MB, free: 6.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.5369, allocations: 319.9 kB / 437.4 MB, free: 6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.5383, allocations: 175.2 kB / 437.6 MB, free: 5.949 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/0.5423, allocations: 1.773 MB / 439.4 MB, free: 4.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006378/0.543, allocations: 0.9669 MB / 440.3 MB, free: 4.211 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004447/0.5434, allocations: 51.61 kB / 440.4 MB, free: 4.203 MB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5434, allocations: 0 / 440.4 MB, free: 4.203 MB / 346.7 MB Notification: Performance of Templates: time 0.02463/0.5681, allocations: 8.858 MB / 449.3 MB, free: 1.293 MB / 346.7 MB