Running command: translateModel(HanserModelica.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") Notification: Performance of loadModel(HanserModelica): time 2.06/2.06, allocations: 214.7 MB / 226.8 MB, free: 1.301 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.781e-05/3.796e-05, allocations: 4 kB / 279.5 MB, free: 13.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08909/0.08915, allocations: 49.7 MB / 329.2 MB, free: 11.28 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3758/0.465, allocations: 79.98 MB / 409.1 MB, free: 3.914 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003548/0.4654, allocations: 72.2 kB / 409.2 MB, free: 3.879 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05741/0.5229, allocations: 9.526 MB / 418.7 MB, free: 11.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.362e-06/0.5229, allocations: 0 / 418.7 MB, free: 11.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.523, allocations: 4 kB / 418.8 MB, free: 11.95 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004858/0.5235, allocations: 390.5 kB / 419.1 MB, free: 11.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.5235, allocations: 8.031 kB / 419.1 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004093/0.5239, allocations: 122.7 kB / 419.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.5243, allocations: 276.6 kB / 419.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.446e-05/0.5244, allocations: 150.6 kB / 419.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.924e-05/0.5244, allocations: 150.6 kB / 419.8 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.916e-05/0.5245, allocations: 108.9 kB / 419.9 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.228e-05/0.5246, allocations: 75.28 kB / 420 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.492e-05/0.5247, allocations: 158 kB / 420.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.278e-05/0.5248, allocations: 150.6 kB / 420.3 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.263e-05/0.5249, allocations: 150.6 kB / 420.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.5253, allocations: 476.7 kB / 420.9 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.5254, allocations: 177.2 kB / 421.1 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.641e-05/0.5255, allocations: 80.14 kB / 421.2 MB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.324e-05/0.5255, allocations: 75.28 kB / 421.2 MB, free: 9.316 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.343e-05/0.5256, allocations: 109.8 kB / 421.3 MB, free: 9.199 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 3.01e-06/0.5256, allocations: 0 / 421.3 MB, free: 9.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001106/0.5258, allocations: 40.47 kB / 421.4 MB, free: 9.156 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.84e-05/0.5258, allocations: 134.6 kB / 421.5 MB, free: 9.012 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.5261, allocations: 162.9 kB / 421.7 MB, free: 8.859 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.5262, allocations: 25.7 kB / 421.7 MB, free: 8.828 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.5263, allocations: 101.6 kB / 421.8 MB, free: 8.738 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-06/0.5263, allocations: 0 / 421.8 MB, free: 8.738 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.72e-07/0.5263, allocations: 0 / 421.8 MB, free: 8.738 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.5265, allocations: 318.7 kB / 422.1 MB, free: 8.422 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.058e-06/0.5265, allocations: 0 / 422.1 MB, free: 8.422 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.185e-06/0.5265, allocations: 0 / 422.1 MB, free: 8.422 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.23e-05/0.5265, allocations: 79.28 kB / 422.2 MB, free: 8.344 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.45e-05/0.5266, allocations: 75.28 kB / 422.3 MB, free: 8.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 9.169e-05/0.5267, allocations: 41.59 kB / 422.3 MB, free: 8.223 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.994e-05/0.5267, allocations: 79.28 kB / 422.4 MB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.433e-05/0.5268, allocations: 82.91 kB / 422.5 MB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.274e-05/0.5269, allocations: 158.5 kB / 422.6 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.002e-05/0.5269, allocations: 79.28 kB / 422.7 MB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.469e-05/0.527, allocations: 158.5 kB / 422.9 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.5272, allocations: 79.27 kB / 422.9 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.5273, allocations: 83.28 kB / 423 MB, free: 7.516 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001388/0.5274, allocations: 251.5 kB / 423.3 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.681e-05/0.5275, allocations: 112.8 kB / 423.4 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.889e-05/0.5276, allocations: 123.5 kB / 423.5 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.109e-05/0.5277, allocations: 180.2 kB / 423.7 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-05/0.5278, allocations: 180.2 kB / 423.8 MB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.375e-05/0.5279, allocations: 180.3 kB / 424 MB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.5283, allocations: 423.1 kB / 424.4 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.744e-05/0.5284, allocations: 118.5 kB / 424.5 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.5284, allocations: 105 kB / 424.6 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.801e-05/0.5285, allocations: 176.3 kB / 424.8 MB, free: 5.602 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.056e-05/0.5286, allocations: 180.2 kB / 425 MB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001011/0.5287, allocations: 180.3 kB / 425.2 MB, free: 5.234 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.996e-05/0.5288, allocations: 187.9 kB / 425.4 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.529, allocations: 307.7 kB / 425.7 MB, free: 4.723 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.5292, allocations: 193.5 kB / 425.8 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.5293, allocations: 184.2 kB / 426 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.5295, allocations: 105 kB / 426.1 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.451e-05/0.5296, allocations: 184.3 kB / 426.3 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-05/0.5297, allocations: 113.3 kB / 426.4 MB, free: 3.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001892/0.5299, allocations: 145.9 kB / 426.6 MB, free: 3.785 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.5299, allocations: 0 / 426.6 MB, free: 3.785 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004032/0.5303, allocations: 12 kB / 426.6 MB, free: 3.773 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002838/0.5306, allocations: 217.8 kB / 426.8 MB, free: 3.555 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 3.74e-05/0.5306, allocations: 4 kB / 426.8 MB, free: 3.551 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5307, allocations: 0 / 426.8 MB, free: 3.551 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.598e-06/0.5307, allocations: 0 / 426.8 MB, free: 3.551 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.5312, allocations: 0.5255 MB / 427.3 MB, free: 3.023 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.5315, allocations: 187.5 kB / 427.5 MB, free: 2.816 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.5319, allocations: 0.7004 MB / 428.2 MB, free: 2.094 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.769e-05/0.532, allocations: 4 kB / 428.2 MB, free: 2.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.532, allocations: 11.44 kB / 428.2 MB, free: 2.082 MB / 346.7 MB Notification: Performance of SimCode: time 1.664e-06/0.532, allocations: 0 / 428.2 MB, free: 2.082 MB / 346.7 MB Notification: Performance of Templates: time 0.005087/0.5371, allocations: 1.221 MB / 429.4 MB, free: 0.8672 MB / 346.7 MB