Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialState,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_InitialState") Notification: Performance of loadModel(ModelicaTest): time 2.399/2.399, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.954e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1309, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.007568/0.1385, allocations: 2.783 MB / 413.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005223/0.1438, allocations: 1.322 MB / 415 MB, free: 8.723 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006588/0.1445, allocations: 31.88 kB / 415.1 MB, free: 8.691 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004404/0.145, allocations: 87.28 kB / 415.1 MB, free: 8.605 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007812/0.1458, allocations: 183.4 kB / 415.3 MB, free: 8.426 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.1474, allocations: 391.2 kB / 415.7 MB, free: 8.043 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001505/0.1489, allocations: 0.4917 MB / 416.2 MB, free: 7.551 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.1493, allocations: 115.1 kB / 416.3 MB, free: 7.438 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006581/0.1499, allocations: 259.2 kB / 416.6 MB, free: 7.184 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006134/0.1506, allocations: 294.8 kB / 416.8 MB, free: 6.895 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1507, allocations: 24 kB / 416.9 MB, free: 6.871 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.1508, allocations: 20 kB / 416.9 MB, free: 6.852 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002497/0.1511, allocations: 147.4 kB / 417 MB, free: 6.707 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.1512, allocations: 40 kB / 417.1 MB, free: 6.668 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008716/0.1521, allocations: 0.5415 MB / 417.6 MB, free: 6.125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1521, allocations: 0 / 417.6 MB, free: 6.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.1521, allocations: 0 / 417.6 MB, free: 6.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.25e-05/0.1522, allocations: 0 / 417.6 MB, free: 6.125 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.002769/0.1549, allocations: 0.9084 MB / 418.5 MB, free: 5.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.155, allocations: 8.031 kB / 418.5 MB, free: 5.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002882/0.1553, allocations: 94.88 kB / 418.6 MB, free: 5.066 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/0.157, allocations: 0.5499 MB / 419.2 MB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.04e-05/0.1571, allocations: 37 kB / 419.2 MB, free: 4.438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.1573, allocations: 59.86 kB / 419.3 MB, free: 4.379 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/0.1592, allocations: 0.6213 MB / 419.9 MB, free: 3.703 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.1593, allocations: 4 kB / 419.9 MB, free: 3.699 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-05/0.1594, allocations: 16 kB / 419.9 MB, free: 3.684 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/0.1594, allocations: 12 kB / 419.9 MB, free: 3.672 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/0.1614, allocations: 0.49 MB / 420.4 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006365/0.1678, allocations: 2.706 MB / 423.1 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3245/0.4924, allocations: 0.5697 MB / 423.7 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.306e-05/0.4925, allocations: 8.094 kB / 423.7 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.4926, allocations: 37.23 kB / 423.7 MB, free: 12.92 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.287e-06/0.4926, allocations: 0 / 423.7 MB, free: 12.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.004907/0.4975, allocations: 1.204 MB / 424.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.4976, allocations: 137 kB / 425.1 MB, free: 12.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/0.4992, allocations: 0.5778 MB / 425.6 MB, free: 12.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.821e-05/0.4993, allocations: 42.3 kB / 425.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/0.4996, allocations: 378.2 kB / 426.1 MB, free: 12.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/0.4999, allocations: 172.9 kB / 426.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.5, allocations: 14.22 kB / 426.2 MB, free: 12.01 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.694e-05/0.5, allocations: 333.5 kB / 426.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.5012, allocations: 287.6 kB / 426.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.5025, allocations: 447.6 kB / 427.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.5038, allocations: 329.1 kB / 427.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.5039, allocations: 1.406 kB / 427.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002838/0.5067, allocations: 0.7909 MB / 428.4 MB, free: 11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003872/0.5071, allocations: 1.75 MB / 430.1 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.5072, allocations: 4.641 kB / 430.2 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.549e-05/0.5072, allocations: 8.25 kB / 430.2 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.5087, allocations: 168.8 kB / 430.3 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.137e-05/0.5088, allocations: 7.781 kB / 430.3 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.5102, allocations: 109.7 kB / 430.4 MB, free: 9.086 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.5103, allocations: 22.5 kB / 430.5 MB, free: 9.082 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.5104, allocations: 4.828 kB / 430.5 MB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002849/0.5132, allocations: 0.7107 MB / 431.2 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.5133, allocations: 4.125 kB / 431.2 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.5134, allocations: 8.766 kB / 431.2 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.5147, allocations: 158.4 kB / 431.3 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.372e-05/0.5148, allocations: 8.969 kB / 431.4 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000749/0.5156, allocations: 77.31 kB / 431.4 MB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-05/0.5157, allocations: 23.41 kB / 431.4 MB, free: 8.793 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.0005948/0.5163, allocations: 216.3 kB / 431.7 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003049/0.5166, allocations: 76.5 kB / 431.7 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.5168, allocations: 90.11 kB / 431.8 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.5169, allocations: 7.719 kB / 431.8 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.5169, allocations: 1.219 kB / 431.8 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.5169, allocations: 4.047 kB / 431.8 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.5191, allocations: 0.8608 MB / 432.7 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.5191, allocations: 2.094 kB / 432.7 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/0.5206, allocations: 115.6 kB / 432.8 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.485e-05/0.5206, allocations: 5.906 kB / 432.8 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.683e-05/0.5207, allocations: 20.75 kB / 432.8 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.5207, allocations: 3.328 kB / 432.8 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.5208, allocations: 0.8125 kB / 432.8 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003663/0.5244, allocations: 1.222 MB / 434.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004179/0.5249, allocations: 193.8 kB / 434.3 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.5251, allocations: 19.47 kB / 434.3 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009521/0.526, allocations: 62.11 kB / 434.3 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.5262, allocations: 38.91 kB / 434.4 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.882e-05/0.5263, allocations: 14.47 kB / 434.4 MB, free: 7.184 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001161/0.5275, allocations: 456.9 kB / 434.8 MB, free: 6.996 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5275, allocations: 4 kB / 434.8 MB, free: 6.992 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001249/0.5288, allocations: 193.5 kB / 435 MB, free: 6.969 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.0001785/0.529, allocations: 114.1 kB / 435.1 MB, free: 6.871 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00381/0.5328, allocations: 1.02 MB / 436.2 MB, free: 6.594 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.5329, allocations: 5.438 kB / 436.2 MB, free: 6.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.5341, allocations: 304.6 kB / 436.5 MB, free: 6.508 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.5356, allocations: 169.1 kB / 436.6 MB, free: 6.461 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004314/0.5399, allocations: 1.746 MB / 438.4 MB, free: 5.469 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/0.5406, allocations: 0.9743 MB / 439.3 MB, free: 4.746 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004434/0.541, allocations: 48.14 kB / 439.4 MB, free: 4.738 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5411, allocations: 0 / 439.4 MB, free: 4.738 MB / 346.7 MB Notification: Performance of Templates: time 0.02394/0.565, allocations: 8.458 MB / 447.8 MB, free: 2.109 MB / 346.7 MB