Running command: translateModel(ModelicaTest.Blocks.Continuous,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") Notification: Performance of loadModel(ModelicaTest): time 2.551/2.551, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.12e-05/3.116e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1344, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.004646/0.1391, allocations: 2.755 MB / 413.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003658/0.1428, allocations: 1.314 MB / 415 MB, free: 8.758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005223/0.1434, allocations: 31.88 kB / 415 MB, free: 8.727 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004562/0.1439, allocations: 91.27 kB / 415.1 MB, free: 8.637 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006393/0.1445, allocations: 179.4 kB / 415.3 MB, free: 8.461 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.146, allocations: 391.2 kB / 415.7 MB, free: 8.078 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.1474, allocations: 0.4956 MB / 416.2 MB, free: 7.582 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003095/0.1477, allocations: 115.1 kB / 416.3 MB, free: 7.469 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005814/0.1483, allocations: 259.2 kB / 416.5 MB, free: 7.215 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006211/0.1489, allocations: 290.9 kB / 416.8 MB, free: 6.93 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1491, allocations: 20 kB / 416.8 MB, free: 6.91 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.1492, allocations: 24 kB / 416.9 MB, free: 6.887 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.1494, allocations: 151.4 kB / 417 MB, free: 6.738 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.1496, allocations: 36 kB / 417 MB, free: 6.703 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007867/0.1504, allocations: 0.5416 MB / 417.6 MB, free: 6.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1504, allocations: 3.938 kB / 417.6 MB, free: 6.156 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1504, allocations: 0 / 417.6 MB, free: 6.156 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.1504, allocations: 0 / 417.6 MB, free: 6.156 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.002938/0.1534, allocations: 0.9045 MB / 418.5 MB, free: 5.203 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.1535, allocations: 8.031 kB / 418.5 MB, free: 5.195 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003563/0.1538, allocations: 94.88 kB / 418.6 MB, free: 5.102 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.1556, allocations: 0.5577 MB / 419.1 MB, free: 4.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/0.1557, allocations: 37 kB / 419.2 MB, free: 4.465 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.1559, allocations: 63.84 kB / 419.2 MB, free: 4.402 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.1577, allocations: 0.6213 MB / 419.9 MB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.1578, allocations: 4 kB / 419.9 MB, free: 3.723 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.271e-05/0.1579, allocations: 16 kB / 419.9 MB, free: 3.707 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.1579, allocations: 12 kB / 419.9 MB, free: 3.695 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.1598, allocations: 0.4938 MB / 420.4 MB, free: 3.199 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00592/0.1658, allocations: 2.698 MB / 423.1 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3205/0.4864, allocations: 0.5751 MB / 423.7 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.089e-05/0.4865, allocations: 4.562 kB / 423.7 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.4865, allocations: 38.78 kB / 423.7 MB, free: 12.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.126e-06/0.4866, allocations: 3.438 kB / 423.7 MB, free: 12.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.004822/0.4914, allocations: 1.201 MB / 424.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.4915, allocations: 137.3 kB / 425 MB, free: 12.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.4933, allocations: 0.5798 MB / 425.6 MB, free: 12.4 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.4935, allocations: 36.38 kB / 425.7 MB, free: 12.37 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.4938, allocations: 373.8 kB / 426 MB, free: 12.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.494, allocations: 174.3 kB / 426.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.4941, allocations: 13.61 kB / 426.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.863e-05/0.4942, allocations: 340 kB / 426.5 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.4955, allocations: 285.1 kB / 426.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/0.4968, allocations: 443.8 kB / 427.3 MB, free: 11.38 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.4982, allocations: 339.3 kB / 427.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.4982, allocations: 2.562 kB / 427.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003008/0.5012, allocations: 0.7828 MB / 428.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003827/0.5017, allocations: 1.752 MB / 430.1 MB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.5017, allocations: 5.062 kB / 430.1 MB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.726e-05/0.5017, allocations: 8.062 kB / 430.1 MB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.5031, allocations: 161.2 kB / 430.3 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.389e-05/0.5032, allocations: 11.8 kB / 430.3 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.5044, allocations: 111.9 kB / 430.4 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.761e-05/0.5045, allocations: 24.03 kB / 430.4 MB, free: 9.094 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.5046, allocations: 2.938 kB / 430.4 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002673/0.5073, allocations: 0.7118 MB / 431.2 MB, free: 8.859 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.5073, allocations: 4.375 kB / 431.2 MB, free: 8.859 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.5074, allocations: 8.688 kB / 431.2 MB, free: 8.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.5087, allocations: 155.4 kB / 431.3 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-05/0.5087, allocations: 12.06 kB / 431.3 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006972/0.5094, allocations: 75.83 kB / 431.4 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.899e-05/0.5095, allocations: 23.23 kB / 431.4 MB, free: 8.805 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 (77): * Single equations (assignments): 77 * 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 prepare postOptimizeDAE: time 0.0005081/0.51, allocations: 215.6 kB / 431.6 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002777/0.5103, allocations: 72.05 kB / 431.7 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.5106, allocations: 90.73 kB / 431.8 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.5106, allocations: 8.5 kB / 431.8 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/0.5106, allocations: 1.641 kB / 431.8 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.5106, allocations: 6.062 kB / 431.8 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.5127, allocations: 0.86 MB / 432.7 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.5128, allocations: 1.797 kB / 432.7 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/0.5141, allocations: 111.9 kB / 432.8 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.5142, allocations: 6.281 kB / 432.8 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.842e-05/0.5143, allocations: 17.8 kB / 432.8 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.778e-06/0.5143, allocations: 3.328 kB / 432.8 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.5143, allocations: 0 / 432.8 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003698/0.518, allocations: 1.226 MB / 434 MB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005126/0.5186, allocations: 194.8 kB / 434.2 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.5188, allocations: 19.06 kB / 434.2 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.5198, allocations: 64.81 kB / 434.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.52, allocations: 36.73 kB / 434.3 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.609e-05/0.5201, allocations: 13.78 kB / 434.4 MB, free: 7.203 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001129/0.5212, allocations: 459.9 kB / 434.8 MB, free: 7.012 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5212, allocations: 0 / 434.8 MB, free: 7.012 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001274/0.5225, allocations: 192.7 kB / 435 MB, free: 6.988 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (44): * Single equations (assignments): 44 * 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.0001913/0.5227, allocations: 117.4 kB / 435.1 MB, free: 6.887 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003889/0.5266, allocations: 1.026 MB / 436.1 MB, free: 6.605 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.5267, allocations: 1.312 kB / 436.1 MB, free: 6.605 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.5279, allocations: 305 kB / 436.4 MB, free: 6.523 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.5295, allocations: 163.2 kB / 436.6 MB, free: 6.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004171/0.5337, allocations: 1.747 MB / 438.3 MB, free: 5.488 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00062/0.5343, allocations: 0.9702 MB / 439.3 MB, free: 4.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000441/0.5348, allocations: 47.98 kB / 439.4 MB, free: 4.762 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5348, allocations: 3.938 kB / 439.4 MB, free: 4.758 MB / 346.7 MB Notification: Performance of Templates: time 0.02371/0.5585, allocations: 8.45 MB / 447.8 MB, free: 2.137 MB / 346.7 MB