Running command: translateModel(Modelica.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PI.I.y|inertia1.phi|inertia1.w|integrator.y|spring.phi_rel|spring.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.PID_Controller") Notification: Performance of loadModel(Modelica): time 2.07/2.07, allocations: 225.8 MB / 239.4 MB, free: 1.277 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.053e-05/3.1e-05, allocations: 4 kB / 292.6 MB, free: 11.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0935/0.09356, allocations: 50.42 MB / 343.1 MB, free: 9.086 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3995/0.4931, allocations: 82.44 MB / 425.5 MB, free: 8.156 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.4933, allocations: 71.83 kB / 425.6 MB, free: 8.156 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03113/0.5245, allocations: 8.276 MB / 433.9 MB, free: 5.457 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.814e-06/0.5245, allocations: 0 / 433.9 MB, free: 5.457 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.266e-05/0.5246, allocations: 11.36 kB / 433.9 MB, free: 5.457 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001109/0.5257, allocations: 0.6637 MB / 434.5 MB, free: 4.934 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.5258, allocations: 11.53 kB / 434.5 MB, free: 4.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.5259, allocations: 57.73 kB / 434.6 MB, free: 4.898 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005391/0.5265, allocations: 348.6 kB / 434.9 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.5265, allocations: 30.47 kB / 435 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.747e-05/0.5266, allocations: 37.83 kB / 435 MB, free: 4.617 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006846/0.5273, allocations: 380 kB / 435.4 MB, free: 4.477 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.5273, allocations: 11.58 kB / 435.4 MB, free: 4.469 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.866e-05/0.5274, allocations: 16.62 kB / 435.4 MB, free: 4.469 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.5274, allocations: 7.656 kB / 435.4 MB, free: 4.469 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00063/0.5281, allocations: 263.4 kB / 435.7 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/0.5306, allocations: 1.584 MB / 437.2 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006211/0.5312, allocations: 248.7 kB / 437.5 MB, free: 3.324 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.5315, allocations: 114.7 kB / 437.6 MB, free: 3.312 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.5315, allocations: 8.328 kB / 437.6 MB, free: 3.309 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.5315, allocations: 34 kB / 437.6 MB, free: 3.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 3.339e-06/0.5316, allocations: 0 / 437.6 MB, free: 3.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001879/0.5334, allocations: 1.018 MB / 438.7 MB, free: 2.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.5335, allocations: 80.95 kB / 438.7 MB, free: 2.566 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004104/0.5339, allocations: 308.6 kB / 439 MB, free: 2.445 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.534, allocations: 33.19 kB / 439.1 MB, free: 2.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.5341, allocations: 241.1 kB / 439.3 MB, free: 2.258 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.506e-05/0.5342, allocations: 118.7 kB / 439.4 MB, free: 2.172 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.5343, allocations: 10.84 kB / 439.4 MB, free: 2.172 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.458e-05/0.5344, allocations: 346.7 kB / 439.8 MB, free: 1.848 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.5346, allocations: 115.4 kB / 439.9 MB, free: 1.836 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/0.535, allocations: 188.2 kB / 440.1 MB, free: 1.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.5353, allocations: 123.9 kB / 440.2 MB, free: 1.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.09e-06/0.5353, allocations: 0 / 440.2 MB, free: 1.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007779/0.5361, allocations: 383.8 kB / 440.6 MB, free: 1.629 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003466/0.5365, allocations: 0.7954 MB / 441.4 MB, free: 16.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.115e-06/0.5365, allocations: 0 / 441.4 MB, free: 16.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.5365, allocations: 3.688 kB / 441.4 MB, free: 16.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.5377, allocations: 264.1 kB / 441.6 MB, free: 16.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007484/0.5385, allocations: 0.6569 MB / 442.3 MB, free: 16.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004914/0.539, allocations: 54.02 kB / 442.3 MB, free: 16.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.5391, allocations: 15.09 kB / 442.3 MB, free: 16.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.5391, allocations: 3.812 kB / 442.4 MB, free: 16.1 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006657/0.5398, allocations: 307.8 kB / 442.7 MB, free: 16.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.27e-06/0.5398, allocations: 7.641 kB / 442.7 MB, free: 16.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.242e-06/0.5398, allocations: 4.062 kB / 442.7 MB, free: 16.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007159/0.5406, allocations: 128.1 kB / 442.8 MB, free: 16.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.023e-06/0.5406, allocations: 3.844 kB / 442.8 MB, free: 16.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004151/0.541, allocations: 49.58 kB / 442.8 MB, free: 16.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.5411, allocations: 15 kB / 442.9 MB, free: 16.01 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (kinematicPTP.noWphase,integrator.local_reset,PI.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001711/0.5412, allocations: 127.3 kB / 443 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.809e-05/0.5414, allocations: 42.12 kB / 443 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.5415, allocations: 41.53 kB / 443.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.11e-06/0.5415, allocations: 3.844 kB / 443.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.207e-06/0.5415, allocations: 0 / 443.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.786e-06/0.5415, allocations: 7.984 kB / 443.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.543, allocations: 0.8147 MB / 443.9 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.905e-06/0.543, allocations: 3.969 kB / 443.9 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005726/0.5436, allocations: 100.2 kB / 444 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.23e-06/0.5436, allocations: 3.984 kB / 444 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.5437, allocations: 9.656 kB / 444 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.446e-06/0.5437, allocations: 3.906 kB / 444 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.602e-06/0.5437, allocations: 0 / 444 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000943/0.5447, allocations: 0.5754 MB / 444.6 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.5449, allocations: 134.9 kB / 444.7 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.502e-05/0.545, allocations: 15.7 kB / 444.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004002/0.5454, allocations: 38.84 kB / 444.8 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/0.5455, allocations: 27.39 kB / 444.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.5456, allocations: 11.28 kB / 444.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003559/0.5459, allocations: 244.6 kB / 445 MB, free: 14.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.97e-07/0.5459, allocations: 7.875 kB / 445.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007489/0.5467, allocations: 139.8 kB / 445.2 MB, free: 14.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (PI.I.y,inertia1.phi,spring.phi_rel,spring.w_rel,inertia2.w,integrator.y) * Number of discrete variables: 1 (kinematicPTP.noWphase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.0001769/0.5469, allocations: 117.9 kB / 445.3 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001429/0.5483, allocations: 0.5672 MB / 445.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.566e-05/0.5484, allocations: 3.875 kB / 445.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002752/0.5487, allocations: 122.9 kB / 446 MB, free: 14.63 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006589/0.5493, allocations: 87.88 kB / 446.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.5513, allocations: 0.8084 MB / 446.9 MB, free: 14.1 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.5519, allocations: 0.8283 MB / 447.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005087/0.5524, allocations: 87.36 kB / 447.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.5525, allocations: 26.41 kB / 447.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of SimCode: time 1.828e-06/0.5526, allocations: 4 kB / 447.8 MB, free: 13.28 MB / 346.7 MB Notification: Performance of Templates: time 0.01325/0.5658, allocations: 4.751 MB / 452.6 MB, free: 11.01 MB / 346.7 MB