Running command: translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous") Notification: Performance of loadModel(ModelicaTest): time 2.764/2.764, allocations: 270 MB / 282.7 MB, free: 1.801 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.95e-05/5.973e-05, allocations: 4 kB / 347 MB, free: 3.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3848, allocations: 61.87 MB / 408.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.5352, allocations: 96.39 MB / 0.4934 GB, free: 10.21 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.5355, allocations: 63.97 kB / 0.4934 GB, free: 10.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06516/0.6007, allocations: 14.65 MB / 0.5077 GB, free: 11.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.976e-06/0.6007, allocations: 0 / 0.5077 GB, free: 11.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.145e-05/0.6008, allocations: 23.94 kB / 0.5078 GB, free: 11.43 MB / 442.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.002247/0.6031, allocations: 0.935 MB / 0.5087 GB, free: 10.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.6031, allocations: 12.03 kB / 0.5087 GB, free: 10.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.6034, allocations: 94.88 kB / 0.5088 GB, free: 10.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.6047, allocations: 0.5587 MB / 0.5093 GB, free: 9.738 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-05/0.6048, allocations: 40.94 kB / 0.5094 GB, free: 9.699 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.605, allocations: 55.91 kB / 0.5094 GB, free: 9.645 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.6062, allocations: 0.5375 MB / 0.5099 GB, free: 9.051 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.6062, allocations: 3.938 kB / 0.51 GB, free: 9.047 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.45e-05/0.6063, allocations: 28 kB / 0.51 GB, free: 9.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.6064, allocations: 12 kB / 0.51 GB, free: 9.008 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009347/0.6073, allocations: 356.9 kB / 0.5103 GB, free: 8.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005373/0.6127, allocations: 2.706 MB / 0.513 GB, free: 5.852 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.6139, allocations: 475.9 kB / 0.5134 GB, free: 5.359 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004603/0.6144, allocations: 195.6 kB / 0.5136 GB, free: 5.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.082e-05/0.6145, allocations: 7.938 kB / 0.5136 GB, free: 5.152 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.6145, allocations: 38.56 kB / 0.5137 GB, free: 5.105 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 4.033e-06/0.6145, allocations: 4 kB / 0.5137 GB, free: 5.102 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.002078/0.6166, allocations: 0.7981 MB / 0.5144 GB, free: 4.293 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.865e-05/0.6168, allocations: 136.5 kB / 0.5146 GB, free: 4.129 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.6178, allocations: 0.5428 MB / 0.5151 GB, free: 3.578 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.936e-05/0.6179, allocations: 37.7 kB / 0.5151 GB, free: 3.535 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/0.6182, allocations: 366.5 kB / 0.5155 GB, free: 3.176 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.6185, allocations: 177.6 kB / 0.5157 GB, free: 3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.6185, allocations: 8 kB / 0.5157 GB, free: 2.992 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.6187, allocations: 338.8 kB / 0.516 GB, free: 2.652 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005757/0.6193, allocations: 205.5 kB / 0.5162 GB, free: 2.453 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006953/0.62, allocations: 361.1 kB / 0.5165 GB, free: 2.027 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006183/0.6207, allocations: 251.8 kB / 0.5168 GB, free: 1.785 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.348e-06/0.6207, allocations: 4 kB / 0.5168 GB, free: 1.781 MB / 442.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00156/0.6223, allocations: 0.6052 MB / 0.5174 GB, free: 1.172 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001015/0.6233, allocations: 1.75 MB / 0.5191 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.6233, allocations: 4 kB / 0.5191 GB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/0.6234, allocations: 15.94 kB / 0.5191 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.6244, allocations: 163.8 kB / 0.5192 GB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.169e-05/0.6245, allocations: 11.94 kB / 0.5193 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008307/0.6253, allocations: 91.62 kB / 0.5193 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.4e-05/0.6254, allocations: 24 kB / 0.5194 GB, free: 14.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.6255, allocations: 4 kB / 0.5194 GB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001446/0.6269, allocations: 0.5682 MB / 0.5199 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.6269, allocations: 8 kB / 0.5199 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.627, allocations: 8 kB / 0.5199 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008631/0.6278, allocations: 147.8 kB / 0.5201 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/0.6279, allocations: 8 kB / 0.5201 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.6284, allocations: 87.55 kB / 0.5202 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.175e-05/0.6285, allocations: 23.95 kB / 0.5202 GB, free: 14.13 MB / 458.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.0002306/0.6287, allocations: 136.8 kB / 0.5203 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002817/0.629, allocations: 75.06 kB / 0.5204 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.6293, allocations: 90 kB / 0.5205 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.272e-06/0.6293, allocations: 4 kB / 0.5205 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.6293, allocations: 3.984 kB / 0.5205 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.6294, allocations: 7.938 kB / 0.5205 GB, free: 13.81 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.6311, allocations: 0.8141 MB / 0.5213 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.545e-06/0.6311, allocations: 0 / 0.5213 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009263/0.6321, allocations: 115.9 kB / 0.5214 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.6321, allocations: 96 / 0.5214 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.548e-05/0.6322, allocations: 19.98 kB / 0.5214 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.803e-06/0.6322, allocations: 0 / 0.5214 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.752e-06/0.6322, allocations: 11.94 kB / 0.5214 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.6342, allocations: 0.982 MB / 0.5224 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003874/0.6346, allocations: 204.1 kB / 0.5226 GB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.6348, allocations: 15.95 kB / 0.5226 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007907/0.6356, allocations: 63.94 kB / 0.5227 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.6357, allocations: 39.88 kB / 0.5227 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.6358, allocations: 16 kB / 0.5227 GB, free: 11.42 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007841/0.6366, allocations: 431.1 kB / 0.5231 GB, free: 11.01 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.98e-07/0.6366, allocations: 0 / 0.5231 GB, free: 11.01 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001177/0.6378, allocations: 200 kB / 0.5233 GB, free: 10.81 MB / 458.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.0002252/0.638, allocations: 125.2 kB / 0.5234 GB, free: 10.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001927/0.64, allocations: 0.7785 MB / 0.5242 GB, free: 9.906 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.862e-06/0.64, allocations: 4.188 kB / 0.5242 GB, free: 9.902 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005462/0.6406, allocations: 215.8 kB / 0.5244 GB, free: 9.691 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.6418, allocations: 165.5 kB / 0.5246 GB, free: 9.535 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.645, allocations: 1.233 MB / 0.5258 GB, free: 8.258 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008096/0.6458, allocations: 0.9653 MB / 0.5267 GB, free: 7.266 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003732/0.6462, allocations: 51.42 kB / 0.5268 GB, free: 7.215 MB / 458.7 MB Notification: Performance of SimCode: time 1.791e-06/0.6462, allocations: 0 / 0.5268 GB, free: 7.215 MB / 458.7 MB Notification: Performance of Templates: time 0.2959/0.9422, allocations: 8.507 MB / 0.5351 GB, free: 116.8 MB / 458.7 MB